com.github.chen0040.data.text.Vocabulary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-data-text Show documentation
Show all versions of java-data-text Show documentation
Java implementation of text processing such as stemmers
package com.github.chen0040.data.text;
import java.util.List;
/**
* Created by xschen on 14/8/15.
*/
public interface Vocabulary {
String get(int index);
int getLength();
void add(String word);
boolean contains(String word);
void setWords(List words);
int indexOf(String word);
Vocabulary makeCopy();
}