Class TreebankTagUpdater


  • public class TreebankTagUpdater
    extends Object
    Class for automatically applying tags to a treebank
    • Constructor Detail

      • TreebankTagUpdater

        public TreebankTagUpdater​(String taggerPath)
    • Method Detail

      • tagTree

        public void tagTree​(Tree tree)
        run the supplied tagger on the leaves of this tree and update
      • getTaggedLeaves

        public List<Tree> getTaggedLeaves​(Tree tree)
      • main

        public static void main​(String[] args)
                         throws IOException
        Read in a tree file, print out trees with updated tags
        Throws:
        IOException