public interface LabeledPairSentenceProvider
Modifier and Type | Method and Description |
---|---|
List<String> |
allLabels()
Return the list of labels - this also defines the class/integer label assignment order
|
boolean |
hasNext()
Are there more sentences/documents available?
|
org.nd4j.common.primitives.Triple<String,String,String> |
nextSentencePair() |
int |
numLabelClasses()
Equivalent to allLabels().size()
|
void |
reset()
Reset the iterator - including shuffling the order, if necessary/appropriate
|
int |
totalNumSentences()
Return the total number of sentences, or -1 if not available
|
boolean hasNext()
org.nd4j.common.primitives.Triple<String,String,String> nextSentencePair()
void reset()
int totalNumSentences()
List<String> allLabels()
int numLabelClasses()
Copyright © 2022. All rights reserved.