Add trinary conjunction feature to each Observation.
Add binary conjunction feature to each Observation.
Add feature to each Observation.
Add new features created as conjunctions of existing features, with the given offsets, but only add features matching regex pattern.
Copy features into each token from its preceding and following tokens, with preceding extent equal to preOffset and following extent equal to -postOffset.
Copy features into each token from its preceding and following tokens, with preceding extent equal to preOffset and following extent equal to -postOffset. In other words, to add features from the three preceding tokens and the two following tokens, pass arguments (-3,2). Features from preceding tokens will have suffixes like "@-1", "@-2", etc. Features from following tokens will have suffixes like "@+1", "@+2", etc. The functionality of this method is completely covered as a special case of addNeighboringFeatureConjunctions, but for the simple case, this one is easier to call.
Given a sequence and a labeling function extract segments encoded in the BIO or IOB scheme.
Given a sequence and a labeling function extract segments encoded in the BIO or IOB scheme. Note: a hueristic correction is applied when a segment starts with "I-"
Extract a collection contiguous non-"background" labels