Package opennlp.tools.models

# Interface ClassPathModelFinder

All Known Implementing Classes:
  `AbstractClassPathModelFinder`, `ClassgraphModelFinder`, `SimpleClassPathModelFinder`

public interface ClassPathModelFinder

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `OPENNLP_MODEL_JAR_PREFIX`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<ClassPathModelEntry>`
  `findModels(boolean reloadCache)`
  Finds OpenNLP models within the classpath.

- ## Field Details

  - ### OPENNLP_MODEL_JAR_PREFIX

    static final String OPENNLP_MODEL_JAR_PREFIX
    See Also:
      - Constant Field Values

- ## Method Details

  - ### findModels

    Set<ClassPathModelEntry> findModels(boolean reloadCache)
    Finds OpenNLP models within the classpath.
    Parameters:
      `reloadCache` - `true`, if the internal cache should explicitly be reloaded, `false` otherwise.
    Returns:
      A Set of `model entries`. It might be empty if none were found.