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 headconstituent
for the specified constituents of giventype
.
-
Methodendetails
-
getHead
Retrieves the headconstituent
for the specified constituents of giventype
.- Parameter:
constituents
- Theconstituents
which make up a constituent of the specifiedtype
.type
- The type of a constituent which is made up of theconstituents
.- Gibt zurück:
- The
constituent
which represents the head.
-
getPunctuationTags
- Gibt zurück:
- Retrieves the set of punctuation tags. Attachment decisions for these tags will not be modeled.
-