Package com.yahoo.text.interpretation
Class Modification
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- com.yahoo.text.interpretation.Modification
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,java.lang.Object>
public class Modification extends java.util.HashMap<java.lang.String,java.lang.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
-
-
Field Summary
Fields Modifier and Type Field Description static AnnotationClass
MODIFICATION_CLASS
-
Constructor Summary
Constructors Constructor Description Modification(java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotations
getAnnotation()
java.lang.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
-
-
-
-
Field Detail
-
MODIFICATION_CLASS
public static final AnnotationClass MODIFICATION_CLASS
-
-
Method Detail
-
getText
public java.lang.String getText()
-
getAnnotation
public Annotations getAnnotation()
-
-