public class Vocabulary extends Object implements Iterable<String>, Serializable
| Constructor and Description |
|---|
Vocabulary() |
Vocabulary(List<String> words) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String word) |
void |
addAll(List<String> words) |
Boolean |
contains(String word) |
Integer |
count(String word) |
Double |
frequency(String word) |
Iterator<String> |
iterator() |
void |
limitWords(Integer maxWords) |
String |
toString() |
Integer |
totalCount() |
Integer |
wordCount() |
Set<String> |
wordSet() |
Copyright © 2014. All rights reserved.