Class TextProcessor

Object
com.cobber.fta.text.TextProcessor

public class TextProcessor extends Object
Core class for processing free form text.
  • Constructor Details

    • TextProcessor

      public TextProcessor(Locale locale)
  • Method Details

    • 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.