Class LabelledDocument
- java.lang.Object
-
- org.deeplearning4j.text.documentiterator.LabelledDocument
-
public class LabelledDocument extends Object
-
-
Constructor Summary
Constructors Constructor Description LabelledDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addLabel(String label)
String
getLabel()
Deprecated.void
setLabel(String label)
Deprecated.
-
-
-
Method Detail
-
getLabel
@Deprecated public String getLabel()
Deprecated.This method returns first label for the document. PLEASE NOTE: This method is here only for backward compatibility purposes, getLabels() should be used instead.- Returns:
-
setLabel
@Deprecated public void setLabel(String label)
Deprecated.
-
addLabel
public void addLabel(String label)
-
-