|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Profile
Abstract interface to model an N-Gram Profile. Profiles are responsible for storing N-gram occurence frequency information for a given textual string.
| Method Summary | |
|---|---|
double |
getRank(NGram gram)
Gets the ranking position of a given N-gram. |
double |
getWeight(NGram gram)
Gets the weighting score of a given N-gram. |
java.util.Iterator |
ngrams()
Return an Iterator over all contained N-grams. |
| Method Detail |
|---|
double getRank(NGram gram)
gram - An N-Gram
double getWeight(NGram gram)
gram - An N-Gram
java.util.Iterator ngrams()
Iterator over all contained N-grams.
Iterator over all contained N-grams.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||