You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Jeff Zemerick (Jira)" <ji...@apache.org> on 2022/11/23 14:34:00 UTC

[jira] [Resolved] (OPENNLP-1320) Makes lemmatize of MorfologikLemmatizer thread-safe

     [ https://issues.apache.org/jira/browse/OPENNLP-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Zemerick resolved OPENNLP-1320.
------------------------------------
    Fix Version/s: 2.1.1
         Assignee: Richard Zowalla
       Resolution: Fixed

> 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)