Joern Kottmann created OPENNLP-879:
--------------------------------------
Summary: Use PriorityQueue instead of Heap in BeamSearch
Key: OPENNLP-879
URL: https://issues.apache.org/jira/browse/OPENNLP-879
Project: OpenNLP
Issue Type: Improvement
Components: Machine Learning
Reporter: Joern Kottmann
Assignee: Joern Kottmann
Priority: Trivial
Fix For: 1.6.1
It was pointed out in OPENNLP-830 that we can just use PriorityQueue in
BeamSeach instead of the cutstom Heap implementation. This class is slightly
faster of around 2- 3% with the Name Finder, not speed increase with the
POSTagger.
In the end this will allow us to remove the custom Heap implementations and the
Java version will be maintained for us.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)