opennlp-grpc/opennlp-grpc-service/src/main/java/opennlp/service/TokenizerService.java [90:102]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public TokenizerService(Map<String, String> conf) {

    try {
      final Map<String, ClassPathModel> found = ModelFinderUtil.findModels(conf, "model.tokenizer.wildcard.pattern", "opennlp-models-tokenizer-*.jar");
      for (Map.Entry<String, ClassPathModel> entry : found.entrySet()) {
        MODEL_CACHE.putIfAbsent(entry.getKey(), entry.getValue());
      }
    } catch (IOException e) {
      logger.error(e.getLocalizedMessage(), e);
      throw new RuntimeException(e);
    }

  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



opennlp-grpc/opennlp-grpc-service/src/main/java/opennlp/service/SentenceDetectorService.java [90:102]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public SentenceDetectorService(Map<String, String> conf) {

    try {
      final Map<String, ClassPathModel> found = ModelFinderUtil.findModels(conf, "model.sentdetect.wildcard.pattern", "opennlp-models-sentdetect-*.jar");
      for (Map.Entry<String, ClassPathModel> entry : found.entrySet()) {
        MODEL_CACHE.putIfAbsent(entry.getKey(), entry.getValue());
      }
    } catch (IOException e) {
      logger.error(e.getLocalizedMessage(), e);
      throw new RuntimeException(e);
    }

  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



opennlp-grpc/opennlp-grpc-service/src/main/java/opennlp/service/PosTaggerService.java [90:102]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public PosTaggerService(Map<String, String> conf) {

    try {
      final Map<String, ClassPathModel> found = ModelFinderUtil.findModels(conf, "model.pos.wildcard.pattern", "opennlp-models-pos-*.jar");
      for (Map.Entry<String, ClassPathModel> entry : found.entrySet()) {
        MODEL_CACHE.putIfAbsent(entry.getKey(), entry.getValue());
      }
    } catch (IOException e) {
      logger.error(e.getLocalizedMessage(), e);
      throw new RuntimeException(e);
    }

  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



