public class NerEntity extends Object
Constructor and Description |
---|
NerEntity(String label,
int startToken) |
NerEntity(String label,
int startToken,
String normalizedValue) |
Modifier and Type | Method and Description |
---|---|
int |
getEndToken() |
String |
getLabel() |
String |
getNormalizedValue() |
edu.stanford.nlp.stats.Counter<String> |
getScoredLabels() |
int |
getStartToken() |
void |
setEndToken(int endToken) |
void |
setLabel(String label) |
void |
setNormalizedValue(String normalizedValue) |
void |
setScoredLabels(edu.stanford.nlp.stats.Counter<String> scoredLabels) |
void |
setStartToken(int startToken) |
String |
toString() |
public NerEntity(String label, int startToken)
public String getLabel()
public void setLabel(String label)
public edu.stanford.nlp.stats.Counter<String> getScoredLabels()
public void setScoredLabels(edu.stanford.nlp.stats.Counter<String> scoredLabels)
public int getStartToken()
public void setStartToken(int startToken)
public int getEndToken()
public void setEndToken(int endToken)
public String getNormalizedValue()
public void setNormalizedValue(String normalizedValue)
Copyright © 2016–2020 FBK. All rights reserved.