protected static class TregexPoweredTreebankParserParams.AnnotateHeadFunction extends Object implements SerializableFunction<TregexMatcher,String>
| Constructor and Description |
|---|
AnnotateHeadFunction(HeadFinder hf) |
AnnotateHeadFunction(HeadFinder hf,
boolean lowerCase) |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(TregexMatcher matcher) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitandThen, compose, identitypublic AnnotateHeadFunction(HeadFinder hf)
public AnnotateHeadFunction(HeadFinder hf, boolean lowerCase)
public String apply(TregexMatcher matcher)
apply in interface java.util.function.Function<TregexMatcher,String>