Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3425

Ruta: MultiTreeWordList Constructor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0ruta
    • Fix Version/s: 2.2.0ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      I've had problems using the MultiTreeWordList. I think one constructor misses initialization of the root node.

      Possible patch:

      Index: MultiTreeWordList.java
      ===================================================================
      — MultiTreeWordList.java (revision 1521373)
      +++ MultiTreeWordList.java (working copy)
      @@ -132,6 +132,7 @@

      • path of the file to create a TextWordList from
        */
        public MultiTreeWordList(String[] pathnames) throws IOException {
        + this.root = new MultiTextNode();
        for (String pathname : pathnames) { load(new FileSystemResource(pathname)); }

        Attachments

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              mtoepfer Martin Toepfer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: