Package org.apache.tika.langdetect.charsoup.core
package org.apache.tika.langdetect.charsoup.core
-
ClassDescriptionExtracts character n-gram features from text using the hashing trick (FNV-1a).INT8-quantized multinomial logistic regression model for language detection.Common interface for feature extractors used by the bigram language detector.Feature extractor using positional salt (BOW/EOW/FULL_WORD) instead of sentinel characters in n-grams.Production feature extractor for the CharSoup language detection model.Coarse Unicode script categories for language detection.Production feature extractor for the CharSoup short-text language detection model.General-purpose word tokenizer that shares the same preprocessing pipeline as
CharSoupFeatureExtractor: NFC normalization, URL/email stripping, case folding viaCharacter.toLowerCase(int).