Class PoliMatch

All Implemented Interfaces:
Comparable<TextMatch>, MatchSchema
Direct Known Subclasses:
EmailAddress, MACAddress, Money, TelephoneNumber

public class PoliMatch extends TextMatch
Author:
Marc C. Ubaldino, MITRE, ubaldino at mitre dot org
  • Field Details

    • textnorm

      public 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 Map<String,String> match_groups
  • Constructor Details

    • 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(String t)
    • PoliMatch

      public PoliMatch(Map<String,String> groups, String t)
  • Method Details

    • setGroups

      public void setGroups(Map<String,String> groups)
    • normalize

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