Class TreeTagger


  • public class TreeTagger
    extends Object
    This class implements the area tree tagging.
    Author:
    burgetr
    • Constructor Detail

    • Method Detail

      • getAllTags

        public Collection<Tag> getAllTags()
        Obtains the collection of all tags used by the taggers
        Returns:
        the collection of tags
      • tagTree

        public void tagTree()
        Applies all the taggers to the whole tree.
      • tagSubtree

        public void tagSubtree​(Area root)
        Applies all the taggers a subtree of the area tree.
        Parameters:
        root - the root node of the subtree
      • tagSingleNode

        public void tagSingleNode​(Area area)
        Applies all the taggers to a single tree node.
        Parameters:
        area - the tree node