Class Modification

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
com.yahoo.text.interpretation.Modification
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class Modification extends HashMap<String,Object>
A modification of a text. This class represents a possible rewrite of an original text. Reasons for rewrite may be due to possible spelling errors in the text or to query expansion.
Author:
Arne Bergene Fossaa
See Also:
  • Field Details

    • MODIFICATION_CLASS

      public static final AnnotationClass MODIFICATION_CLASS
  • Constructor Details

    • Modification

      public Modification(String text)
  • Method Details

    • getText

      public String getText()
    • getAnnotation

      public Annotations getAnnotation()