| Constructor and Description |
|---|
ScoredTagging(List<E> tokens,
List<String> tags,
double score)
Construct a scored tagging with the specified tokens, tags, and
score.
|
| Modifier and Type | Method and Description |
|---|---|
double |
score()
Return the score for this tagging.
|
String |
toString()
Returns a string-based representation of this scored tagging.
|
public ScoredTagging(List<E> tokens, List<String> tags, double score)
tokens - Tokens for the tagging.tags - Tags for the tagging.score - Score for the tagging.IllegalArgumentException - If the lists are not of the
same size.Copyright © 2019 Alias-i, Inc.. All rights reserved.