Class ExtractionResult

java.lang.Object
org.opensextant.extraction.ExtractionResult

public class ExtractionResult extends Object
Author:
ubaldino
  • Field Details

    • DEFAULT_FILTERS

      protected static final Parameters DEFAULT_FILTERS
    • input

      public TextInput input
    • attributes

      public Map<String,Object> attributes
    • recordFile

      public String recordFile
      Original file for record
    • recordID

      public String recordID
      short ID or name of file
    • recordTextFile

      public String recordTextFile
      Text version of file used for processing
    • matches

      public List<TextMatch> matches
  • Constructor Details

    • ExtractionResult

      public ExtractionResult(String rid)
      Given a record ID, create a container for holding onto all the geocodes for that particular data object.
      Parameters:
      rid - result ID, optionally null
  • Method Details

    • addAttribute

      public void addAttribute(String f, Object v)
      Add some piece of amplifying metadata about the record which may be carried through to output format in some way
      Parameters:
      f - field
      v - value