Package com.cobber.fta.text
Class TextProcessor
- Object
-
- com.cobber.fta.text.TextProcessor
-
public class TextProcessor extends Object
Core class for processing free form text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TextProcessor.Determination
class
TextProcessor.TextResult
-
Constructor Summary
Constructors Constructor Description TextProcessor(Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextProcessor.TextResult
analyze(String trimmed)
Analyze the given input string to determine if it looks like free-form text in this locale.
-
-
-
Method Detail
-
analyze
public TextProcessor.TextResult analyze(String trimmed)
Analyze the given input string to determine if it looks like free-form text in this locale.- Parameters:
trimmed
- The input string- Returns:
- A TextResult with both a determination of the input as well as a set of statistics.
-
-