public class LanguageDetectorEventStream extends AbstractEventStream<LanguageSample>
Constructor and Description |
---|
LanguageDetectorEventStream(ObjectStream<LanguageSample> data,
LanguageDetectorContextGenerator contextGenerator)
Initializes the current instance via samples and feature generators.
|
public LanguageDetectorEventStream(ObjectStream<LanguageSample> data, LanguageDetectorContextGenerator contextGenerator)
data
- ObjectStream
of LanguageSample
sCopyright © 2017 The Apache Software Foundation. All rights reserved.