Class PhraseAnnotation
- java.lang.Object
-
- io.outofprintmagazine.nlp.pipeline.PhraseAnnotation
-
public class PhraseAnnotation extends Object
Name:Value pair for use where the name would break json syntax if used as a tag. Most other cases use Map<String, BigDecimal>.- Author:
- Ram Sadasiv
-
-
Constructor Summary
Constructors Constructor Description PhraseAnnotation()
PhraseAnnotation(PhraseAnnotation p)
PhraseAnnotation(String name, BigDecimal value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
BigDecimal
getValue()
void
setName(String name)
void
setValue(BigDecimal value)
String
toString()
-
-
-
Constructor Detail
-
PhraseAnnotation
public PhraseAnnotation()
-
PhraseAnnotation
public PhraseAnnotation(String name, BigDecimal value)
-
PhraseAnnotation
public PhraseAnnotation(PhraseAnnotation p)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getValue
public BigDecimal getValue()
-
setValue
public void setValue(BigDecimal value)
-
-