- append
Append the target text for language detection. If the total size of target text
exceeds the limit si
- getProbabilities
Get language candidates which have high probabilities
- detect
Detect language of the target text and return the language name which has the
highest probability.
- <init>
Constructor.
- cleaningText
Cleaning text to detect (eliminate URL, e-mail address and Latin sentence if it
is not written in La
- detectBlock
- extractNGrams
Extract n-grams from target text
- initProbability
Initialize the map of language probabilities. If there is the specified prior
map, use it as initial
- normalizeProb
normalize probabilities and check convergence by the maximun probability
- setAlpha
Set smoothing parameter. The default value is 0.5(i.e. Expected Likelihood
Estimate).
- setVerbose
Set Verbose Mode(use for debug).
- unicodeEncode
unicode encoding (for verbose mode)