|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.search.test.util.textbuilder.WordDictionary
public class WordDictionary
Test utility meant to build a consistent dictionary of words. This is not just a random generator: like in natural languages shorter terms have a higher frequency in a text corpus and the dictionary size is limited.
| Constructor Summary | |
|---|---|
WordDictionary(java.util.Set<java.lang.String> words)
|
|
| Method Summary | |
|---|---|
java.lang.String |
randomWord()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WordDictionary(java.util.Set<java.lang.String> words)
| Method Detail |
|---|
public java.lang.String randomWord()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||