public interface HeadRules
Modifier and Type | Method and Description |
---|---|
Parse |
getHead(Parse[] constituents,
String type)
Returns the head constituent for the specified constituents of the specified type.
|
Set<String> |
getPunctuationTags()
Returns the set of punctuation tags.
|
Parse getHead(Parse[] constituents, String type)
constituents
- The constituents which make up a constituent of the specified type.type
- The type of a constituent which is made up of the specified constituents.Copyright © 2017 The Apache Software Foundation. All rights reserved.