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 boolean
equals(Object o)
AtomicInteger
getCount()
List<String>
getLabel()
String
getWork()
int
hashCode()
void
increment()
boolean
isStem()
void
setCount(AtomicInteger count)
void
setLabel(List<String> label)
void
setStem(boolean stem)
void
setWork(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)
-
-