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

Makes lemmatize of MorfologikLemmatizer thread-safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1
    • None
    • None

    Description

      The method lemmatize of MorfologikLemmatizer is not thread-safe.

      Concurrent invokes may rise exceptions and return unpredictable resutls.

      It seems that the whole method must be sync because the variable returned by the morfologik lib is shared between threads.

      Attachments

        Activity

          People

            rzo1 Richard Zowalla
            avanco Lucas Avan├žo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: