You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Martin Wiesner (Jira)" <ji...@apache.org> on 2025/07/10 13:52:00 UTC

[jira] [Resolved] (OPENNLP-1757) Expose probs() method in thread-safe probabilistic ME classes

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

Martin Wiesner resolved OPENNLP-1757.
-------------------------------------
    Resolution: Fixed

> Expose probs() method in thread-safe probabilistic ME classes
> -------------------------------------------------------------
>
>                 Key: OPENNLP-1757
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1757
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Machine Learning
>    Affects Versions: 2.5.4
>            Reporter: Martin Wiesner
>            Assignee: Martin Wiesner
>            Priority: Minor
>             Fix For: 2.5.5, 3.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Atm, the thread-safe wrapper classes hide the capability to retrieve probabilities related to the last processed sequence in 
>  * {{LemmatizerME}}
>  * {{NameFinderME}}
>  * {{POSTaggerME}}
>  * {{ChunkerME}}
>  * {{TokenizerME}}
>  * SentenceDetectorME
> For some applications, it might be necessary or a benefit to have access to those probabilities scores to either report them or make a decision based on a certainty level.
> In this context, the {{double[] probs()}} method can be described in a new {{Probabilistic}} interface  
> Let's provide it!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)