Koji Sekiguchi created OPENNLP-1036:

             Summary: Use Object values in TrainingParameters instead of String
                 Key: OPENNLP-1036
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1036
             Project: OpenNLP
          Issue Type: Improvement
          Components: Chunker, Doccat, Lemmatizer, Name Finder, POS Tagger, 
Sentence Detector, Tokenizer
            Reporter: Koji Sekiguchi
            Priority: Minor

When I worked on OPENNLP-1032, I realized that TrainingParameters manages 
parameters as Map<String,String>. So, users have to set their int parameters 
like this:

trainParam.put("name", "100");

but it should look like this:

trainParam.put("name", 100);

This message was sent by Atlassian JIRA

Reply via email to