Class PoliMatch

    • Field Detail

      • textnorm

        public java.lang.String textnorm
      • UPPER_CASE

        public static int UPPER_CASE
      • LOWER_CASE

        public static int LOWER_CASE
      • FOUND_CASE

        public static int FOUND_CASE
      • normal_case

        public int normal_case
      • match_groups

        protected java.util.Map<java.lang.String,​java.lang.String> match_groups
    • Constructor Detail

      • PoliMatch

        public PoliMatch()
        No-argument constructor is needed because class in invoked through introspection (via name of class)
      • PoliMatch

        public PoliMatch​(int x1,
                         int x2)
      • PoliMatch

        public PoliMatch​(java.lang.String t)
      • PoliMatch

        public PoliMatch​(java.util.Map<java.lang.String,​java.lang.String> groups,
                         java.lang.String t)
    • Method Detail

      • setGroups

        public void setGroups​(java.util.Map<java.lang.String,​java.lang.String> groups)
      • normalize

        public void normalize()
        Trim whitespace and convert found text to alpha case configured for this object.