Class TreeTagger


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

      • TreeTagger

        public TreeTagger​(Area root)
    • Method Detail

      • addTagger

        public void addTagger​(Tagger tagger)
      • getAllTags

        public List<Tag> getAllTags()
        Obtains the list of all tags used by the taggers
        Returns:
        the list 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