public class UsedWordRule extends Object
Modifier and Type | Class and Description |
---|---|
class |
UsedWordRule.WordFrequency |
Constructor and Description |
---|
UsedWordRule(TextLevelRule rule,
StatAnCache cache) |
Modifier and Type | Method and Description |
---|---|
void |
generateBasicNumbers(StatAnCache cache) |
boolean |
getDefaultDirectSpeach() |
String |
getMostUsedWord(int n) |
String[] |
getMostUsedWords() |
static boolean |
isUsedWordRule(TextLevelRule rule) |
void |
setListExcludedWords(List<String> words) |
void |
setWithDirectSpeach(boolean wDirectSpeech,
StatAnCache cache) |
public UsedWordRule(TextLevelRule rule, StatAnCache cache)
public void generateBasicNumbers(StatAnCache cache)
public void setWithDirectSpeach(boolean wDirectSpeech, StatAnCache cache)
public boolean getDefaultDirectSpeach()
public static boolean isUsedWordRule(TextLevelRule rule)