You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2017/01/28 22:29:24 UTC

[jira] [Created] (OPENNLP-972) LM CLI should both calculate probability and suggest next tokens

Tommaso Teofili created OPENNLP-972:
---------------------------------------

             Summary: LM CLI should both calculate probability and suggest next tokens
                 Key: OPENNLP-972
                 URL: https://issues.apache.org/jira/browse/OPENNLP-972
             Project: OpenNLP
          Issue Type: Bug
          Components: Command Line Interface
            Reporter: Tommaso Teofili
            Assignee: Tommaso Teofili
             Fix For: 1.7.2


{{LanguageModelTool}} uses {{LanguageModel#calculateProbability}} API however it may be useful to provide also the result of the {{LanguageModel#predictNextTokens}} API there.
Also _LMTool_ should probably be {{NgramLanguageModelTool}} as to make it specific to the ngram based implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)