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