public class TokSpanEventStream extends AbstractEventStream<TokenSample>
TokenSamples from the given Iterator
and converts the TokenSamples into Events which
can be used by the maxent library for training.| Constructor and Description |
|---|
TokSpanEventStream(ObjectStream<TokenSample> tokenSamples,
boolean skipAlphaNumerics)
Initializes the current instance.
|
TokSpanEventStream(ObjectStream<TokenSample> tokenSamples,
boolean skipAlphaNumerics,
java.util.regex.Pattern alphaNumeric,
TokenContextGenerator cg)
Initializes the current instance.
|
TokSpanEventStream(ObjectStream<TokenSample> tokenSamples,
boolean skipAlphaNumerics,
TokenContextGenerator cg)
Initializes the current instance.
|
close, read, resetpublic TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, java.util.regex.Pattern alphaNumeric, TokenContextGenerator cg)
tokenSamples - skipAlphaNumerics - cg - public TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, TokenContextGenerator cg)
tokenSamples - skipAlphaNumerics - cg - public TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics)
tokenSamples - skipAlphaNumerics - Copyright © 2010 - 2023 Adobe. All Rights Reserved