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

SentenceDetectorME.getSentenceProbabilities() array is not always equal to number of returned sentences

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • tools-1.5.0-sourceforge
    • None
    • Sentence Detector
    • None

    Description

      Miao Chen:

      "The sentence detector returns me two sentences: "2.1.4" and "About JAVA
      package" (which I can accept
      But the getSentenceProbabilities() returns me only one probability (which is
      0.9924560093213692), and I don't know which "sentence" this probability is
      for. This method is supposed to return an array of probabilities, but in
      this case only one probability is returned."

      Attachments

        Activity

          People

            joern Jörn Kottmann
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: