protected static class TregexPoweredTreebankParserParams.AnnotateHeadFunction extends Object implements SerializableFunction<TregexMatcher,String>
Constructor and Description |
---|
AnnotateHeadFunction(HeadFinder hf) |
AnnotateHeadFunction(HeadFinder hf,
boolean lowerCase) |
public AnnotateHeadFunction(HeadFinder hf)
public AnnotateHeadFunction(HeadFinder hf, boolean lowerCase)
public String apply(TregexMatcher matcher)
apply
in interface Function<TregexMatcher,String>