[
https://issues.apache.org/jira/browse/OPENNLP-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17637804#comment-17637804
]
ASF GitHub Bot commented on OPENNLP-1320:
-----------------------------------------
jzonthemtn commented on PR #385:
URL: https://github.com/apache/opennlp/pull/385#issuecomment-1325165938
I am closing this PR because it was superseded by ##436. Thanks @avanco for
starting this conversation and getting it going.
> 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
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 2.1.1
>
>
> 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.20.10#820010)