Package org.apache.tika.detect
Class NNExampleModelDetector
java.lang.Object
org.apache.tika.detect.TrainedModelDetector
org.apache.tika.detect.NNExampleModelDetector
- All Implemented Interfaces:
Serializable
,Detector
- See Also:
-
Constructor Summary
ConstructorDescriptionNNExampleModelDetector
(File modelFile) NNExampleModelDetector
(Path modelFile) -
Method Summary
Modifier and TypeMethodDescriptionvoid
loadDefaultModels
(InputStream modelStream) void
loadDefaultModels
(ClassLoader classLoader) this method gets overwritten to register load neural network modelsMethods inherited from class org.apache.tika.detect.TrainedModelDetector
detect, getMinLength, loadDefaultModels, loadDefaultModels, readByteFrequencies, registerModels
-
Constructor Details
-
NNExampleModelDetector
public NNExampleModelDetector() -
NNExampleModelDetector
-
NNExampleModelDetector
-
-
Method Details
-
loadDefaultModels
- Specified by:
loadDefaultModels
in classTrainedModelDetector
-
loadDefaultModels
this method gets overwritten to register load neural network models- Specified by:
loadDefaultModels
in classTrainedModelDetector
-