Modifier and Type | Method and Description |
---|---|
CnnSentenceDataSetIterator.Builder |
CnnSentenceDataSetIterator.Builder.sentenceProvider(LabelAwareDocumentIterator iterator,
List<String> labels)
Specify how the (labelled) sentences / documents should be provided
|
Modifier and Type | Method and Description |
---|---|
ParagraphVectors.Builder |
ParagraphVectors.Builder.iterate(LabelAwareDocumentIterator iterator)
This method used to feed LabelAwareDocumentIterator, that contains training corpus, into ParagraphVectors
|
Constructor and Description |
---|
Builder(LabelAwareDocumentIterator iterator)
We assume that each inputStream in this iterator is separate document/paragraph
Labels will be converted into LabelledDocument format
|
Constructor and Description |
---|
DocumentIteratorConverter(LabelAwareDocumentIterator iterator) |
Copyright © 2017. All rights reserved.