Lucas Avanço created OPENNLP-1320:
-------------------------------------

             Summary: Makes lemmatize of MorfologikLemmatizer thread-safe
                 Key: OPENNLP-1320
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1320
             Project: OpenNLP
          Issue Type: Bug
            Reporter: Lucas Avanço


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to