Modifier and Type | Field and Description |
---|---|
protected SentenceIterator |
Builder.sentenceIterator |
protected SentenceIterator |
BaseTextVectorizer.sentenceIterator |
Modifier and Type | Method and Description |
---|---|
SentenceIterator |
BaseTextVectorizer.getSentenceIterator() |
Modifier and Type | Method and Description |
---|---|
Builder |
Builder.iterate(SentenceIterator sentenceIterator) |
void |
BaseTextVectorizer.setSentenceIterator(SentenceIterator sentenceIterator) |
Constructor and Description |
---|
BagOfWordsVectorizer(VocabCache cache,
TokenizerFactory tokenizerFactory,
List<String> stopWords,
int minWordFrequency,
DocumentIterator docIter,
SentenceIterator sentenceIterator,
List<String> labels,
InvertedIndex index,
int batchSize,
double sample,
boolean stem,
boolean cleanup) |
BaseTextVectorizer(VocabCache cache,
TokenizerFactory tokenizerFactory,
List<String> stopWords,
int minWordFrequency,
DocumentIterator docIter,
SentenceIterator sentenceIterator,
List<String> labels,
InvertedIndex index,
int batchSize,
double sample,
boolean stem,
boolean cleanup) |
TfidfVectorizer(VocabCache cache,
TokenizerFactory tokenizerFactory,
List<String> stopWords,
int minWordFrequency,
DocumentIterator docIter,
SentenceIterator sentenceIterator,
List<String> labels,
InvertedIndex index,
int batchSize,
double sample,
boolean stem,
boolean cleanup) |
Modifier and Type | Method and Description |
---|---|
CoOccurrences.Builder |
CoOccurrences.Builder.iterate(SentenceIterator sentenceIterator) |
Glove.Builder |
Glove.Builder.iterate(SentenceIterator sentenceIterator) |
Constructor and Description |
---|
CoOccurrences(TokenizerFactory tokenizerFactory,
SentenceIterator sentenceIterator,
int windowSize,
VocabCache cache,
CounterMap<String,String> coOCurreneCounts,
boolean symmetric) |
Glove(VocabCache cache,
SentenceIterator sentenceIterator,
TextVectorizer textVectorizer,
TokenizerFactory tokenizerFactory,
GloveWeightLookupTable lookupTable,
int layerSize,
double learningRate,
double xMax,
int windowSize,
CoOccurrences coOccurrences,
List<String> stopWords,
boolean stem,
int batchSize,
int minWordFrequency,
double maxCount,
int iterations,
boolean symmetric,
org.apache.commons.math3.random.RandomGenerator gen,
boolean shuffle,
long seed,
int numWorkers) |
Modifier and Type | Method and Description |
---|---|
ParagraphVectors.Builder |
ParagraphVectors.Builder.iterate(SentenceIterator iter) |
Modifier and Type | Field and Description |
---|---|
protected SentenceIterator |
Word2Vec.Builder.iter |
protected SentenceIterator |
Word2Vec.sentenceIter |
Modifier and Type | Method and Description |
---|---|
SentenceIterator |
Word2Vec.getSentenceIter() |
Modifier and Type | Method and Description |
---|---|
Word2Vec.Builder |
Word2Vec.Builder.iterate(SentenceIterator iter) |
void |
Word2Vec.setSentenceIter(SentenceIterator sentenceIter)
Note that calling a setter on this
means assumes that this is a training continuation
and therefore weights should not be reset.
|
Constructor and Description |
---|
SentenceJobIterator(SentenceIterator iterator) |
Modifier and Type | Class and Description |
---|---|
class |
BaseSentenceIterator
Creates a baseline default.
|
class |
CollectionSentenceIterator |
class |
FileSentenceIterator |
class |
LineSentenceIterator
Each line is a sentence
|
class |
LuceneSentenceIterator
Lucene sentence iterator.
|
class |
UimaSentenceIterator
Iterates over and returns sentences
based on the passed in analysis engine
|
Modifier and Type | Method and Description |
---|---|
static SentenceIterator |
UimaSentenceIterator.createWithPath(String path)
Creates a uima sentence iterator with the given path
|
Modifier and Type | Interface and Description |
---|---|
interface |
LabelAwareSentenceIterator
SentenceIterator that is aware of its label.
|
Modifier and Type | Class and Description |
---|---|
class |
LabelAwareFileSentenceIterator
Label aware sentence iterator
|
class |
LabelAwareListSentenceIterator
Iterates over an input stream with the textual format:
label delimiter text
|
class |
LabelAwareUimaSentenceIterator
Uima sentence iterator that is aware of the current file
|
Copyright © 2015. All rights reserved.