Package opennlp.tools.parser
Interface HeadRules
- All Known Implementing Classes:
- AncoraSpanishHeadRules,- HeadRules
public interface HeadRules
Encoder for head rules associated with parsing.
- 
Method SummaryModifier and TypeMethodDescriptionRetrieves the headconstituentfor the specified constituents of giventype.
- 
Method Details- 
getHeadRetrieves the headconstituentfor the specified constituents of giventype.- Parameters:
- constituents- The- constituentswhich make up a constituent of the specified- type.
- type- The type of a constituent which is made up of the- constituents.
- Returns:
- The constituentwhich represents the head.
 
- 
getPunctuationTags- Returns:
- Retrieves the set of punctuation tags. Attachment decisions for these tags will not be modeled.
 
 
-