Package | Description |
---|---|
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
opennlp.tools.doccat |
Package for classifying a document into a category.
|
opennlp.tools.formats |
Experimental package related to converting various corpora to OpenNLP Format.
|
opennlp.tools.formats.ad | |
opennlp.tools.formats.brat | |
opennlp.tools.formats.conllu | |
opennlp.tools.formats.convert | |
opennlp.tools.formats.frenchtreebank | |
opennlp.tools.formats.letsmt | |
opennlp.tools.formats.moses | |
opennlp.tools.formats.muc | |
opennlp.tools.formats.ontonotes | |
opennlp.tools.lemmatizer |
Package related with the lemmatizer tool
|
opennlp.tools.ml | |
opennlp.tools.ml.maxent |
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
|
opennlp.tools.ml.model | |
opennlp.tools.namefind |
Package related to finding proper names and numeric amounts.
|
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
opennlp.tools.parser.chunking |
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
|
opennlp.tools.parser.treeinsert |
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
opennlp.tools.sentdetect |
Package related to identifying sentece boundries.
|
opennlp.tools.tokenize |
Contains classes related to finding token or words in a string.
|
opennlp.tools.util |
Package containing utility data structures and algorithms used by multiple other packages.
|
opennlp.tools.util.eval |
Modifier and Type | Class and Description |
---|---|
class |
ChunkerEventStream
Class for creating an event stream out of data files for training a chunker.
|
class |
ChunkSampleSequenceStream |
Modifier and Type | Method and Description |
---|---|
void |
ChunkerCrossValidator.evaluate(ObjectStream<ChunkSample> samples,
int nFolds)
Starts the evaluation.
|
static ChunkerModel |
ChunkerME.train(String lang,
ObjectStream<ChunkSample> in,
TrainingParameters mlParams,
ChunkerFactory factory) |
Constructor and Description |
---|
ChunkerEventStream(ObjectStream<ChunkSample> d,
ChunkerContextGenerator cg)
Creates a new event stream based on the specified data stream using the specified context generator.
|
ChunkSampleSequenceStream(ObjectStream<ChunkSample> samples,
ChunkerContextGenerator contextGenerator) |
ChunkSampleStream(ObjectStream<String> samples)
Initializes the current instance.
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentCategorizerEventStream
Iterator-like class for modeling document classification events.
|
class |
DocumentSampleStream
This class reads in string encoded training samples, parses them and
outputs
DocumentSample objects. |
Modifier and Type | Method and Description |
---|---|
void |
DoccatCrossValidator.evaluate(ObjectStream<DocumentSample> samples,
int nFolds)
Starts the evaluation.
|
static DoccatModel |
DocumentCategorizerME.train(String languageCode,
ObjectStream<DocumentSample> samples,
TrainingParameters mlParams,
DoccatFactory factory) |
Constructor and Description |
---|
DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)
Initializes the current instance.
|
DocumentCategorizerEventStream(ObjectStream<DocumentSample> data,
FeatureGenerator... featureGenerators)
Initializes the current instance via samples and feature generators.
|
DocumentSampleStream(ObjectStream<String> samples) |
Modifier and Type | Class and Description |
---|---|
class |
BioNLP2004NameSampleStream
Parser for the training files of the BioNLP/NLPBA 2004 shared task.
|
class |
Conll02NameSampleStream
Parser for the dutch and spanish ner training files of the CONLL 2002 shared task.
|
class |
Conll03NameSampleStream
An import stream which can parse the CONLL03 data.
|
class |
ConllXPOSSampleStream
Parses the data from the CONLL 06 shared task into POS Samples.
|
class |
DirectorySampleStream
The directory sample stream allows for creating a stream
from a directory listing of files.
|
class |
EvalitaNameSampleStream
Parser for the Italian NER training files of the Evalita 2007 and 2009 NER shared tasks.
|
class |
LeipzigDoccatSampleStream
Stream filter to produce document samples out of a Leipzig sentences.txt file.
|
class |
NameFinderCensus90NameStream
This class helps to read the US Census data from the files to build a
StringList for each dictionary entry in the name-finder dictionary.
|
Modifier and Type | Method and Description |
---|---|
ObjectStream<NameSample> |
Conll03NameSampleStreamFactory.create(String[] args) |
ObjectStream<TokenSample> |
ConllXTokenSampleStreamFactory.create(String[] args) |
ObjectStream<NameSample> |
BioNLP2004NameSampleStreamFactory.create(String[] args) |
ObjectStream<POSSample> |
ConllXPOSSampleStreamFactory.create(String[] args) |
ObjectStream<DocumentSample> |
DocumentSampleStreamFactory.create(String[] args) |
ObjectStream<LemmaSample> |
LemmatizerSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
ConllXSentenceSampleStreamFactory.create(String[] args) |
ObjectStream<Parse> |
ParseSampleStreamFactory.create(String[] args) |
ObjectStream<ChunkSample> |
ChunkerSampleStreamFactory.create(String[] args) |
ObjectStream<POSSample> |
WordTagSampleStreamFactory.create(String[] args) |
ObjectStream<DocumentSample> |
LeipzigDocumentSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
SentenceSampleStreamFactory.create(String[] args) |
ObjectStream<NameSample> |
EvalitaNameSampleStreamFactory.create(String[] args) |
ObjectStream<TokenSample> |
TokenSampleStreamFactory.create(String[] args) |
ObjectStream<NameSample> |
NameSampleDataStreamFactory.create(String[] args) |
ObjectStream<NameSample> |
Conll02NameSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE lang,
ObjectStream<String> lineStream,
int types) |
Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE lang,
ObjectStream<String> lineStream,
int types) |
ConllXPOSSampleStream(ObjectStream<String> lineStream) |
EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE lang,
ObjectStream<String> lineStream,
int types) |
NameFinderCensus90NameStream(ObjectStream<String> lineStream)
This constructor takes an ObjectStream and initializes the class to handle
the stream.
|
Modifier and Type | Class and Description |
---|---|
class |
ADChunkSampleStream
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the
Portuguese Chunker training.
|
class |
ADNameSampleStream
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the
Portuguese NER training.
|
class |
ADPOSSampleStream
Note: Do not use this class, internal use only!
|
class |
ADSentenceSampleStream
Note: Do not use this class, internal use only!
|
class |
ADSentenceStream
Stream filter which merges text lines into sentences, following the Arvores
Deitadas syntax.
|
Modifier and Type | Field and Description |
---|---|
protected ObjectStream<ADSentenceStream.Sentence> |
ADChunkSampleStream.adSentenceStream |
Modifier and Type | Method and Description |
---|---|
ObjectStream<POSSample> |
ADPOSSampleStreamFactory.create(String[] args) |
ObjectStream<ChunkSample> |
ADChunkSampleStreamFactory.create(String[] args) |
ObjectStream<TokenSample> |
ADTokenSampleStreamFactory.create(String[] args) |
ObjectStream<NameSample> |
ADNameSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
ADSentenceSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
ADChunkSampleStream(ObjectStream<String> lineStream)
Creates a new
NameSample stream from a line stream, i.e. |
ADNameSampleStream(ObjectStream<String> lineStream,
boolean splitHyphenatedTokens)
Creates a new
NameSample stream from a line stream, i.e. |
ADPOSSampleStream(ObjectStream<String> lineStream,
boolean expandME,
boolean includeFeatures)
Creates a new
POSSample stream from a line stream, i.e. |
ADSentenceSampleStream(ObjectStream<String> lineStream,
boolean includeHeadlines)
Creates a new
SentenceSample stream from a line stream, i.e. |
ADSentenceStream(ObjectStream<String> lineStream) |
Modifier and Type | Class and Description |
---|---|
class |
BratAnnotationStream
Reads the annotations from the brat .ann annotation file.
|
class |
BratDocumentStream |
class |
BratNameSampleStream
Generates Name Sample objects for a Brat Document object.
|
class |
SegmenterObjectStream<S,T> |
Modifier and Type | Method and Description |
---|---|
ObjectStream<NameSample> |
BratNameSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
BratNameSampleStream(SentenceDetector sentDetector,
Tokenizer tokenizer,
ObjectStream<BratDocument> samples) |
BratNameSampleStream(SentenceModel sentModel,
TokenizerModel tokenModel,
ObjectStream<BratDocument> samples) |
SegmenterObjectStream(ObjectStream<S> in) |
Modifier and Type | Class and Description |
---|---|
class |
ConlluLemmaSampleStream |
class |
ConlluPOSSampleStream |
class |
ConlluStream
The CoNNL-U Format is specified here:
http://universaldependencies.org/format.html
|
Modifier and Type | Method and Description |
---|---|
ObjectStream<POSSample> |
ConlluPOSSampleStreamFactory.create(String[] args) |
ObjectStream<LemmaSample> |
ConlluLemmaSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
ConlluLemmaSampleStream(ObjectStream<ConlluSentence> samples,
ConlluTagset tagset) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractToSentenceSampleStream<T> |
class |
FileToByteArraySampleStream |
class |
FileToStringSampleStream
Provides the ability to read the contents of files
contained in an object stream of files.
|
class |
NameToSentenceSampleStream
Note: Do not use this class, internal use only!
|
class |
NameToTokenSampleStream
Note: Do not use this class, internal use only!
|
class |
ParseToPOSSampleStream
Note: Do not use this class, internal use only!
|
class |
POSToSentenceSampleStream
Note: Do not use this class, internal use only!
|
class |
POSToTokenSampleStream
Note: Do not use this class, internal use only!
|
Modifier and Type | Method and Description |
---|---|
ObjectStream<TokenSample> |
NameToTokenSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
POSToSentenceSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
ParseToSentenceSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
NameToSentenceSampleStreamFactory.create(String[] args) |
ObjectStream<TokenSample> |
POSToTokenSampleStreamFactory.create(String[] args) |
ObjectStream<TokenSample> |
ParseToTokenSampleStreamFactory.create(String[] args) |
ObjectStream<POSSample> |
ParseToPOSSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
FileToByteArraySampleStream(ObjectStream<File> samples) |
FileToStringSampleStream(ObjectStream<File> samples,
Charset encoding)
Creates a new file-to-string sample stream.
|
NameToSentenceSampleStream(Detokenizer detokenizer,
ObjectStream<NameSample> samples,
int chunkSize) |
NameToTokenSampleStream(Detokenizer detokenizer,
ObjectStream<NameSample> samples) |
ParseToPOSSampleStream(ObjectStream<Parse> samples) |
POSToSentenceSampleStream(Detokenizer detokenizer,
ObjectStream<POSSample> samples,
int chunkSize) |
POSToTokenSampleStream(Detokenizer detokenizer,
ObjectStream<POSSample> samples) |
Modifier and Type | Class and Description |
---|---|
class |
ConstitParseSampleStream |
Modifier and Type | Method and Description |
---|---|
ObjectStream<Parse> |
ConstitParseSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
ConstitParseSampleStream(ObjectStream<byte[]> samples) |
Modifier and Type | Class and Description |
---|---|
class |
DetokenizeSentenceSampleStream |
Modifier and Type | Method and Description |
---|---|
ObjectStream<SentenceSample> |
LetsmtSentenceStreamFactory.create(String[] args) |
Constructor and Description |
---|
DetokenizeSentenceSampleStream(Detokenizer detokenizer,
ObjectStream<SentenceSample> samples) |
Modifier and Type | Class and Description |
---|---|
class |
MosesSentenceSampleStream |
Modifier and Type | Method and Description |
---|---|
ObjectStream<SentenceSample> |
MosesSentenceSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
MosesSentenceSampleStream(ObjectStream<String> sentences) |
Modifier and Type | Class and Description |
---|---|
class |
MucNameSampleStream |
Modifier and Type | Method and Description |
---|---|
ObjectStream<NameSample> |
Muc6NameSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
MucNameSampleStream(Tokenizer tokenizer,
ObjectStream<String> samples) |
Modifier and Type | Class and Description |
---|---|
class |
DocumentToLineStream
Reads a plain text file and return each line as a
String object. |
class |
OntoNotesNameSampleStream
Name Sample Stream parser for the OntoNotes 4.0 corpus.
|
class |
OntoNotesParseSampleStream |
Modifier and Type | Method and Description |
---|---|
ObjectStream<NameSample> |
OntoNotesNameSampleStreamFactory.create(String[] args) |
ObjectStream<POSSample> |
OntoNotesPOSSampleStreamFactory.create(String[] args) |
ObjectStream<Parse> |
OntoNotesParseSampleStreamFactory.create(String[] args) |
Constructor and Description |
---|
DocumentToLineStream(ObjectStream<String> samples) |
OntoNotesNameSampleStream(ObjectStream<String> samples) |
OntoNotesParseSampleStream(ObjectStream<String> samples) |
Modifier and Type | Class and Description |
---|---|
class |
LemmaSampleEventStream
Class for creating an event stream out of data files for training a probabilistic lemmatizer.
|
class |
LemmaSampleSequenceStream |
class |
LemmaSampleStream
Reads data for training and testing the lemmatizer.
|
Modifier and Type | Method and Description |
---|---|
static LemmatizerModel |
LemmatizerME.train(String languageCode,
ObjectStream<LemmaSample> samples,
TrainingParameters trainParams,
LemmatizerFactory posFactory) |
Constructor and Description |
---|
LemmaSampleEventStream(ObjectStream<LemmaSample> d,
LemmatizerContextGenerator cg)
Creates a new event stream based on the specified data stream using the specified context generator.
|
LemmaSampleSequenceStream(ObjectStream<LemmaSample> samples,
LemmatizerContextGenerator contextGenerator) |
LemmaSampleStream(ObjectStream<String> samples) |
Modifier and Type | Method and Description |
---|---|
DataIndexer |
AbstractEventTrainer.getDataIndexer(ObjectStream<Event> events) |
MaxentModel |
AbstractEventTrainer.train(ObjectStream<Event> events) |
MaxentModel |
EventTrainer.train(ObjectStream<Event> events) |
Modifier and Type | Class and Description |
---|---|
class |
RealBasicEventStream |
Modifier and Type | Method and Description |
---|---|
GISModel |
GISTrainer.trainModel(ObjectStream<Event> eventStream)
Train a model using the GIS algorithm, assuming 100 iterations and no
cutoff.
|
GISModel |
GISTrainer.trainModel(ObjectStream<Event> eventStream,
int iterations,
int cutoff)
Trains a GIS model on the event in the specified event stream, using the specified number
of iterations and the specified count cutoff.
|
Constructor and Description |
---|
RealBasicEventStream(ObjectStream<String> ds) |
Modifier and Type | Interface and Description |
---|---|
interface |
SequenceStream
Interface for streams of sequences used to train sequence models.
|
Modifier and Type | Class and Description |
---|---|
class |
FileEventStream
Class for using a file of events as an event stream.
|
class |
HashSumEventStream |
class |
RealValueFileEventStream |
class |
SequenceStreamEventStream
Class which turns a sequence stream into an event stream.
|
Modifier and Type | Method and Description |
---|---|
void |
OnePassDataIndexer.index(ObjectStream<Event> eventStream) |
void |
DataIndexer.index(ObjectStream<Event> eventStream)
Performs the data indexing.
|
void |
TwoPassDataIndexer.index(ObjectStream<Event> eventStream) |
Constructor and Description |
---|
HashSumEventStream(ObjectStream<Event> eventStream) |
Modifier and Type | Class and Description |
---|---|
class |
NameFinderEventStream
Class for creating an event stream out of data files for training an name
finder.
|
class |
NameSampleDataStream
The
NameSampleDataStream class converts tagged String s
provided by a DataStream to NameSample objects. |
class |
NameSampleSequenceStream |
class |
NameSampleTypeFilter
A stream which removes Name Samples which do not have a certain type.
|
Modifier and Type | Method and Description |
---|---|
void |
TokenNameFinderCrossValidator.evaluate(ObjectStream<NameSample> samples,
int nFolds)
Starts the evaluation.
|
static TokenNameFinderModel |
NameFinderME.train(String languageCode,
String type,
ObjectStream<NameSample> samples,
TrainingParameters trainParams,
TokenNameFinderFactory factory) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractParserEventStream
Abstract class extended by parser event streams which perform tagging and chunking.
|
class |
ChunkSampleStream |
class |
ParseSampleStream |
class |
PosSampleStream |
Modifier and Type | Method and Description |
---|---|
static Dictionary |
AbstractBottomUpParser.buildDictionary(ObjectStream<Parse> data,
HeadRules rules,
int cutoff)
Creates a n-gram dictionary from the specified data stream using the specified
head rule and specified cut-off.
|
static Dictionary |
AbstractBottomUpParser.buildDictionary(ObjectStream<Parse> data,
HeadRules rules,
TrainingParameters params)
Creates a n-gram dictionary from the specified data stream using the specified
head rule and specified cut-off.
|
void |
ParserCrossValidator.evaluate(ObjectStream<Parse> samples,
int nFolds) |
Constructor and Description |
---|
AbstractParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype) |
AbstractParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype,
Dictionary dict) |
ChunkSampleStream(ObjectStream<Parse> in) |
ParseSampleStream(ObjectStream<String> in) |
PosSampleStream(ObjectStream<Parse> in) |
Modifier and Type | Class and Description |
---|---|
class |
ParserEventStream
Wrapper class for one of four parser event streams.
|
Modifier and Type | Method and Description |
---|---|
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
Constructor and Description |
---|
ParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype) |
ParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype,
Dictionary dict)
Create an event stream based on the specified data stream of the specified type using
the specified head rules.
|
Modifier and Type | Method and Description |
---|---|
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
int iterations,
int cut) |
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
Constructor and Description |
---|
ParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype) |
ParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype,
Dictionary dict) |
Modifier and Type | Class and Description |
---|---|
class |
POSSampleEventStream
|
class |
POSSampleSequenceStream |
class |
WordTagSampleStream
A stream filter which reads a sentence per line which contains
words and tags in word_tag format and outputs a
POSSample objects. |
Modifier and Type | Method and Description |
---|---|
static Dictionary |
POSTaggerME.buildNGramDictionary(ObjectStream<POSSample> samples,
int cutoff) |
void |
POSTaggerCrossValidator.evaluate(ObjectStream<POSSample> samples,
int nFolds)
Starts the evaluation.
|
static void |
POSTaggerME.populatePOSDictionary(ObjectStream<POSSample> samples,
MutableTagDictionary dict,
int cutoff) |
static POSModel |
POSTaggerME.train(String languageCode,
ObjectStream<POSSample> samples,
TrainingParameters trainParams,
POSTaggerFactory posFactory) |
Constructor and Description |
---|
POSSampleEventStream(ObjectStream<POSSample> samples)
Initializes the current instance with given samples
and a
DefaultPOSContextGenerator . |
POSSampleEventStream(ObjectStream<POSSample> samples,
POSContextGenerator cg)
Initializes the current instance with the given samples and the
given
POSContextGenerator . |
POSSampleSequenceStream(ObjectStream<POSSample> psi) |
POSSampleSequenceStream(ObjectStream<POSSample> psi,
POSContextGenerator pcg) |
WordTagSampleStream(ObjectStream<String> sentences)
Initializes the current instance.
|
Modifier and Type | Class and Description |
---|---|
class |
EmptyLinePreprocessorStream
Stream to to clean up empty lines for empty line separated document streams.
- Skips empty line at training data start - Transforms multiple empty lines in a row into one - Replaces white space lines with empty lines - TODO: Terminates last document with empty line if it is missing This stream should be used by the components that mark empty lines to mark document boundaries. |
class |
SDEventStream |
class |
SentenceSampleStream
This class is a stream filter which reads a sentence by line samples from
a
Reader and converts them into SentenceSample objects. |
Modifier and Type | Method and Description |
---|---|
void |
SDCrossValidator.evaluate(ObjectStream<SentenceSample> samples,
int nFolds)
Starts the evaluation.
|
static SentenceModel |
SentenceDetectorME.train(String languageCode,
ObjectStream<SentenceSample> samples,
boolean useTokenEnd,
Dictionary abbreviations)
Deprecated.
|
static SentenceModel |
SentenceDetectorME.train(String languageCode,
ObjectStream<SentenceSample> samples,
boolean useTokenEnd,
Dictionary abbreviations,
TrainingParameters mlParams)
Deprecated.
|
static SentenceModel |
SentenceDetectorME.train(String languageCode,
ObjectStream<SentenceSample> samples,
SentenceDetectorFactory sdFactory,
TrainingParameters mlParams) |
Constructor and Description |
---|
EmptyLinePreprocessorStream(ObjectStream<String> in) |
SDEventStream(ObjectStream<SentenceSample> samples,
SDContextGenerator cg,
EndOfSentenceScanner scanner)
Initializes the current instance.
|
SentenceSampleStream(ObjectStream<String> sentences) |
Modifier and Type | Class and Description |
---|---|
class |
TokenizerStream
The
TokenizerStream uses a tokenizer to tokenize the
input string and output TokenSample s. |
class |
TokenSampleStream
This class is a stream filter which reads in string encoded samples and creates
TokenSample s out of them. |
class |
TokSpanEventStream
This class reads the
TokenSample s from the given Iterator
and converts the TokenSample s into Event s which
can be used by the maxent library for training. |
class |
WhitespaceTokenStream
This stream formats a
TokenSample s into whitespace
separated token strings. |
Modifier and Type | Method and Description |
---|---|
void |
TokenizerCrossValidator.evaluate(ObjectStream<TokenSample> samples,
int nFolds)
Starts the evaluation.
|
static TokenizerModel |
TokenizerME.train(ObjectStream<TokenSample> samples,
TokenizerFactory factory,
TrainingParameters mlParams)
Trains a model for the
TokenizerME . |
Constructor and Description |
---|
TokenizerStream(Tokenizer tokenizer,
ObjectStream<String> input) |
TokenSampleStream(ObjectStream<String> sentences) |
TokenSampleStream(ObjectStream<String> sampleStrings,
String separatorChars) |
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.
|
WhitespaceTokenStream(ObjectStream<TokenSample> tokens) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEventStream<T> |
class |
AbstractObjectStream<T> |
class |
CollectionObjectStream<E> |
class |
EventTraceStream |
class |
FilterObjectStream<S,T>
Abstract base class for filtering
ObjectStream s. |
class |
ParagraphStream
Stream filter which merges text lines into paragraphs.
|
class |
PlainTextByLineStream
Reads a plain text file and return each line as a
String object. |
Modifier and Type | Field and Description |
---|---|
protected ObjectStream<S> |
FilterObjectStream.samples |
Modifier and Type | Method and Description |
---|---|
static <T> ObjectStream<T> |
ObjectStreamUtils.createObjectStream(Collection<T> collection)
Creates an
ObjectStream form a collection. |
static <T> ObjectStream<T> |
ObjectStreamUtils.createObjectStream(ObjectStream<T>... streams)
Creates a single concatenated ObjectStream from multiple individual
ObjectStreams with the same type.
|
static <T> ObjectStream<T> |
ObjectStreamUtils.createObjectStream(T... array)
Creates an
ObjectStream form an array. |
Modifier and Type | Method and Description |
---|---|
static <T> ObjectStream<T> |
ObjectStreamUtils.createObjectStream(ObjectStream<T>... streams)
Creates a single concatenated ObjectStream from multiple individual
ObjectStreams with the same type.
|
Constructor and Description |
---|
AbstractEventStream(ObjectStream<T> samples)
Initializes the current instance with a sample
Iterator . |
AbstractObjectStream(ObjectStream<T> stream) |
EventTraceStream(ObjectStream<Event> stream,
Writer writer) |
FilterObjectStream(ObjectStream<S> samples) |
ParagraphStream(ObjectStream<String> lineStream) |
Modifier and Type | Class and Description |
---|---|
static class |
CrossValidationPartitioner.TrainingSampleStream<E>
The
TrainingSampleStream which iterates over
all training elements. |
Modifier and Type | Method and Description |
---|---|
ObjectStream<E> |
CrossValidationPartitioner.TrainingSampleStream.getTestSampleStream()
Retrieves the
ObjectStream over the test/evaluations
elements and poisons this TrainingSampleStream . |
Modifier and Type | Method and Description |
---|---|
void |
Evaluator.evaluate(ObjectStream<T> samples)
Reads all sample objects from the stream
and evaluates each sample object with
Evaluator.evaluateSample(Object) method. |
Constructor and Description |
---|
CrossValidationPartitioner(ObjectStream<E> inElements,
int numberOfPartitions)
Initializes the current instance.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.