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/07 19:06:00 UTC

[jira] [Updated] (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 updated OPENNLP-1757:
------------------------------------
    Description: 
Atm, the thread-safe wrapper classes hide the capability to retrieve probabilities related to the last processed sequence in 
 * {{LemmatizerME}}
 * {{NameFinderME}}
 * {{POSTaggerME}}

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!

  was:
Atm, the thread-safe wrapper classes hide the capability to retrieve probabilities related to the last processed sequence in 
 * {{LemmatizerME}}
 * {{NameFinderME}}
 * {{POSTaggerME}}

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 needs to be moved up to the related interface.

Let's provide it!


> 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
>
>
> Atm, the thread-safe wrapper classes hide the capability to retrieve probabilities related to the last processed sequence in 
>  * {{LemmatizerME}}
>  * {{NameFinderME}}
>  * {{POSTaggerME}}
> 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)