Package com.yahoo.text.interpretation
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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static AnnotationClass
MODIFICATION_CLASS
-
Constructor Summary
Constructors Constructor Description Modification(String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotations
getAnnotation()
String
getText()
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Field Detail
-
MODIFICATION_CLASS
public static final AnnotationClass MODIFICATION_CLASS
-
-
Constructor Detail
-
Modification
public Modification(String text)
-
-
Method Detail
-
getText
public String getText()
-
getAnnotation
public Annotations getAnnotation()
-
-