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,
                  Pattern alphaNumeric,
                  TokenContextGenerator cg)
Initializes the current instance. 
 | 
TokSpanEventStream(ObjectStream<TokenSample> tokenSamples,
                  boolean skipAlphaNumerics,
                  TokenContextGenerator cg)
Initializes the current instance. 
 | 
public TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, 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 © 2021 The Apache Software Foundation. All rights reserved.