Class NLGReadability

java.lang.Object
com.articulate.sigma.nlg.NLGReadability

public final class NLGReadability extends Object
  • Method Details

    • stripKnownMarkers

      public static String stripKnownMarkers(String s)
    • improveTemplate

      public static String improveTemplate(String template, com.articulate.sigma.nlg.LanguageFormatter.RenderMode mode, String language)
    • debugPrintTree

      public static void debugPrintTree(String template, String language)
      DEBUG utility. Parses the given template into the internal IF/AND/OR tree and prints a human-readable structural representation. This method performs parsing ONLY: - no rewriting - no rendering - no marker stripping Intended for developer inspection and debugging.
    • printTree

      public static void printTree(com.articulate.sigma.nlg.NLGReadability.Node root)