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

Ruta: MultiTreeWordList Constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0ruta
    • 2.2.0ruta
    • Ruta
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: