You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Rodrigo Agerri (JIRA)" <ji...@apache.org> on 2015/06/03 11:08:50 UTC
[jira] [Commented] (OPENNLP-787) WordClusterDictionary should reuse
the cluster id objects
[ https://issues.apache.org/jira/browse/OPENNLP-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570516#comment-14570516 ]
Rodrigo Agerri commented on OPENNLP-787:
----------------------------------------
Good point, this can also be done in the BrownCluster class.
> WordClusterDictionary should reuse the cluster id objects
> ---------------------------------------------------------
>
> Key: OPENNLP-787
> URL: https://issues.apache.org/jira/browse/OPENNLP-787
> Project: OpenNLP
> Issue Type: Improvement
> Components: Name Finder
> Affects Versions: 1.6.0
> Reporter: Joern Kottmann
> Assignee: Joern Kottmann
> Priority: Minor
> Fix For: 1.6.0
>
>
> A word cluster contains much more tokens than cluster ids. The cluster id objects should be reused and not created over and over again for each token.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)