Class TextMatchResult

java.lang.Object
org.opensextant.extractors.flexpat.TextMatchResult

public class TextMatchResult extends Object
This result class holds all the results for a given text block. Important: When iterating over your results, matches, you should @see GeocoordMatch.is_submatch to see if a match is part of another match.
Author:
ubaldino
  • Field Details

    • result_id

      public String result_id
    • pass

      public boolean pass
    • evaluated

      public boolean evaluated
    • message

      public String message
    • matches

      public List<TextMatch> matches
  • Constructor Details

    • TextMatchResult

      public TextMatchResult()
  • Method Details

    • add_trace

      public void add_trace(String msg)
      Parameters:
      msg - processing/matching message
    • get_trace

      public String get_trace()
      Returns:
      message buffer for matching