Package com.optimaize.langdetect.text
package com.optimaize.langdetect.text
Provides functionality for concatenating and cleaning text that is used as
a) learning text to produce
com.optimaize.langdetect.LanguageProfile
s
b) for the text for which the language is to be guessed.-
ClassDescriptionDeprecated.can't be used because it would be a big loss to not inline this code.Contains some standard
TextObjectFactory
s ready to use for common use cases.Groups multipleTextFilter
s as one and runs them in the given order.Removes text written in scripts that are not the dominant script of the text.Allows to filter content from a text to be ignored for the n-gram analysis.A convenient text object implementing CharSequence and Appendable.Factory forTextObject
s.Builder forTextObjectFactory
.Removes URLs and email addresses from the text.