Class TextProcessor


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

      • TextProcessor

        public TextProcessor​(Locale 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.