Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-972

LM CLI should both calculate probability and suggest next tokens

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.2
    • Command Line Interface
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              teofili Tommaso Teofili
              teofili Tommaso Teofili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: