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

NullPointerException in LemmatizerME

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.9.2
    • None
    • Lemmatizer
    • None

    Description

      In our unit tests we have a basic lemmatizer model for Japanese. The Lemmatizer throws:

      java.lang.NullPointerException
              at opennlp.tools.lemmatizer.LemmatizerME.predictSES(LemmatizerME.java:116)
              at opennlp.tools.lemmatizer.LemmatizerME.lemmatize(LemmatizerME.java:91) 

      for the following input:

      tokens: デン, ・, ヘルデル
      tags: PROPN, SYM, PROPN 

      I attached the used lemmatizer model in case if needed.

      Attachments

        1. ja-lemma.bin
          186 kB
          Markus Jelsma

        Activity

          People

            Unassigned Unassigned
            markus17 Markus Jelsma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: