Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: tools-1.5.1-incubating
    • Fix Version/s: tools-1.5.1-incubating
    • Component/s: Chunker
    • Labels:
      None

      Description

      The class ChunkerME has no tests. Create some JUnit tests for it.

        Activity

        Hide
        William Colen added a comment -

        Added tests to the methods of Chunker interface.

        Show
        William Colen added a comment - Added tests to the methods of Chunker interface.
        Hide
        William Colen added a comment -

        I found a bug while implementing the unit tests. The method topKSequences(List<String> sentence, List<String> tags) fails with a class cast exception because the bestSequences method expects a array of String arrays in additionalContext method, but the topKSequences was setting a array of lists. Will open an issue for that.

        Show
        William Colen added a comment - I found a bug while implementing the unit tests. The method topKSequences(List<String> sentence, List<String> tags) fails with a class cast exception because the bestSequences method expects a array of String arrays in additionalContext method, but the topKSequences was setting a array of lists. Will open an issue for that.

          People

          • Assignee:
            William Colen
            Reporter:
            William Colen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development