Package com.cobber.fta.text
Class TextConfig
- Object
-
- com.cobber.fta.text.TextConfig
-
public final class TextConfig extends Object
Capture a set of key metrics for any given language.
-
-
Constructor Summary
Constructors Constructor Description TextConfig(int longWord, double averageLow, double averageHigh, int alphaPercentage, int simplePercentage, int maxLength, String sentenceBreak, String wordBreak, String punctuation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAlphaPercentage()
double
getAverageHigh()
double
getAverageLow()
int
getLongWord()
int
getMaxLength()
String
getPunctuation()
String
getSentenceBreak()
int
getSimplePercentage()
String
getWordBreak()
-
-
-
Method Detail
-
getLongWord
public int getLongWord()
-
getAverageLow
public double getAverageLow()
-
getAverageHigh
public double getAverageHigh()
-
getAlphaPercentage
public int getAlphaPercentage()
-
getSimplePercentage
public int getSimplePercentage()
-
getMaxLength
public int getMaxLength()
-
getSentenceBreak
public String getSentenceBreak()
-
getWordBreak
public String getWordBreak()
-
getPunctuation
public String getPunctuation()
-
-