Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-879

Use PriorityQueue instead of Heap in BeamSearch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.7.0
    • Machine Learning
    • None

    Description

      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.

      Attachments

        Activity

          People

            joern Jörn Kottmann
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: