Uses of Class
org.apache.tika.langdetect.charsoup.core.CharSoupModel
Packages that use CharSoupModel
-
Uses of CharSoupModel in org.apache.tika.langdetect.charsoup
Methods in org.apache.tika.langdetect.charsoup that return CharSoupModelModifier and TypeMethodDescriptionCharSoupLanguageDetector.getModel()Returns the model this detector instance is using for predictions.Constructors in org.apache.tika.langdetect.charsoup with parameters of type CharSoupModelModifierConstructorDescriptionCharSoupLanguageDetector(CharSoupModel customModel) Constructs a detector that uses a caller-supplied model instead of the classpath default. -
Uses of CharSoupModel in org.apache.tika.langdetect.charsoup.core
Methods in org.apache.tika.langdetect.charsoup.core that return CharSoupModelModifier and TypeMethodDescriptionstatic CharSoupModelCharSoupModel.load(InputStream is) Load a model from an input stream.static CharSoupModelCharSoupModel.loadFromClasspath(String resourcePath) Load a model from the classpath.CharSoupModel.withFeatureFlags(int newFlags) Returns a new model with the same weights but a different feature-flags bitmask.