Class VocabWork
- java.lang.Object
-
- org.deeplearning4j.models.word2vec.VocabWork
-
- All Implemented Interfaces:
Serializable
public class VocabWork extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VocabWork(AtomicInteger count, String work, boolean stem)VocabWork(AtomicInteger count, String work, boolean stem, String label)VocabWork(AtomicInteger count, String work, boolean stem, List<String> label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AtomicIntegergetCount()List<String>getLabel()StringgetWork()inthashCode()voidincrement()booleanisStem()voidsetCount(AtomicInteger count)voidsetLabel(List<String> label)voidsetStem(boolean stem)voidsetWork(String work)
-
-
-
Constructor Detail
-
VocabWork
public VocabWork(AtomicInteger count, String work, boolean stem)
-
VocabWork
public VocabWork(AtomicInteger count, String work, boolean stem, String label)
-
VocabWork
public VocabWork(AtomicInteger count, String work, boolean stem, List<String> label)
-
-
Method Detail
-
getCount
public AtomicInteger getCount()
-
setCount
public void setCount(AtomicInteger count)
-
getWork
public String getWork()
-
setWork
public void setWork(String work)
-
increment
public void increment()
-
isStem
public boolean isStem()
-
setStem
public void setStem(boolean stem)
-
-