You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2017/01/03 04:31:58 UTC

[jira] [Closed] (OPENNLP-773) OpenNLP documentation -- update in the method to be used

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

Suneel Marthi closed OPENNLP-773.
---------------------------------
    Assignee: Suneel Marthi

> OpenNLP documentation -- update in the method to be used
> --------------------------------------------------------
>
>                 Key: OPENNLP-773
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-773
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Doccat
>            Reporter: Anshu Pitlia
>            Assignee: Suneel Marthi
>            Priority: Trivial
>              Labels: documentation
>             Fix For: 1.7.1
>
>
> In the open nlp maual, the following link--https://opennlp.apache.org/documentation/1.5.3/manual/opennlp.html#tools.doccat.classifying.api
> There is the error in the method to be used to get the best outcome. I saw the API here, https://opennlp.apache.org/documentation/1.5.3/apidocs/opennlp-tools/opennlp/tools/doccat/DocumentCategorizerME.html,
>  and found no such method exists. AFAIK, it should be 
> double[] outcomes = myCategorizer.categorize(inputText);
> 	String category = myCategorizer.getBestCategory(outcomes);
> Anyway when we are correcting this, we can correct one line above it for the typo--
> DocumentCategorizerME myCategorizer = new Document*Categorier*ME(m);
> to be DocumentCategorizerME myCategorizer = new Document*Categorizer*ME(m);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)