Package opennlp.tools.parser
Schnittstelle HeadRules
- Alle bekannten Implementierungsklassen:
AncoraSpanishHeadRules,HeadRules
public interface HeadRules
Encoder for head rules associated with parsing.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungRetrieves the headconstituentfor the specified constituents of giventype.
-
Methodendetails
-
getHead
Retrieves the headconstituentfor the specified constituents of giventype.- Parameter:
constituents- Theconstituentswhich make up a constituent of the specifiedtype.type- The type of a constituent which is made up of theconstituents.- Gibt zurück:
- The
constituentwhich represents the head.
-
getPunctuationTags
- Gibt zurück:
- Retrieves the set of punctuation tags. Attachment decisions for these tags will not be modeled.
-