Package opennlp.tools.models
Interface ClassPathModelFinder
- All Known Implementing Classes:
- AbstractClassPathModelFinder,- ClassgraphModelFinder,- SimpleClassPathModelFinder
public interface ClassPathModelFinder
Describes a scanner which detects OpenNLP specific model files in an applications's classpath.
 If compatible models are present at runtime, each discovered element is made available
 as 
ClassPathModelEntry.- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionfindModels(boolean reloadCache) Finds OpenNLP models available within an applications's classpath.
- 
Field Details- 
OPENNLP_MODEL_JAR_PREFIX- See Also:
 
 
- 
- 
Method Details- 
findModelsFinds OpenNLP models available within an applications's classpath.- Parameters:
- reloadCache-- true, if the internal cache should explicitly be reloaded,- falseotherwise.
- Returns:
- A Setofmodel entries. It might be empty, if none were found.
 
 
-