Uses of Class
org.apache.tika.langdetect.charsoup.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.static 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.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.