Package | Description |
---|---|
it.uniroma1.lcl.babelfy.commons | |
it.uniroma1.lcl.babelfy.commons.annotation |
Modifier and Type | Method and Description |
---|---|
java.util.Set<TokenOffsetFragment> |
BabelfyConstraints.getTokenToDisambiguate()
Returns the set of fragments to be disambiguated
|
Modifier and Type | Method and Description |
---|---|
boolean |
BabelfyConstraints.addFragmentToDisambiguate(TokenOffsetFragment... tokenOffsetToDisambiguate)
Sets the only fragments to disambiguate (used only if disambiguationConstraint !=
BabelfyParameters.DisambiguationConstraint.DISAMBIGUATE_ALL ) |
Modifier and Type | Method and Description |
---|---|
TokenOffsetFragment |
SemanticAnnotation.getTokenOffsetFragment() |
Constructor and Description |
---|
SemanticAnnotation(TokenOffsetFragment tokenFragment,
java.lang.String babelNetSynsetID,
java.lang.String DBpediaURL,
SemanticAnnotation.Source source)
Creates a new
SemanticAnnotation with a Fragment |
SemanticAnnotation(TokenOffsetFragment tokenFragment,
java.lang.String babelNetSynsetID,
java.lang.String DBpediaURL,
SemanticAnnotation.Source source,
double score,
double coherenceScore)
Creates a new
SemanticAnnotation with a Fragment |