Class PatternTestCase

java.lang.Object
org.opensextant.extractors.flexpat.PatternTestCase
Direct Known Subclasses:
GeocoordTestCase, TestCase, TestCase

public class PatternTestCase extends Object
Author:
ubaldino
  • Field Details

    • id

      public String id
    • text

      public String text
    • family

      public String family
    • family_id

      public int family_id
    • true_positive

      public boolean true_positive
    • match

      public TextMatch match
    • remarks

      public String remarks
  • Constructor Details

    • PatternTestCase

      public PatternTestCase(String _id, String _family, String _text)
      Parameters:
      _id - pattern identifier
      _family - family of pattern
      _text - text for test case
  • Method Details

    • setRemarks

      public void setRemarks(String rmks)
      Set the test remarks and IFF the word "fail" is in the comment, the test is indicated as a true negative.
      Parameters:
      rmks -