Interface IHeadRules
Interface for encoding the head rules associated with parsing.
public interface IHeadRules
Properties
PunctuationTags
Returns the set of punctuation tags. Attachment decisions for these tags will not be modeled.
ISet<string> PunctuationTags { get; }
Property Value
Methods
GetHead(Parse[], string)
Returns the head constituent for the specified constituents of the specified type.
Parse? GetHead(Parse[] constituents, string type)
Parameters
constituentsParse[]The constituents which make up a constituent of the specified type.
typestringThe type of a constituent which is made up of the specified constituents.
Returns
- Parse
The constituent which is the head.