| Constructor and Description |
|---|
Babelfy() |
Babelfy(BabelfyParameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SemanticAnnotation> |
babelfy(java.util.List<? extends BabelfyToken> taggedSentence,
it.uniroma1.lcl.jlt.util.Language lang)
Given a tokenized text and a language, returns a list of semantic annotations.
|
java.util.List<SemanticAnnotation> |
babelfy(java.util.List<? extends BabelfyToken> taggedSentence,
it.uniroma1.lcl.jlt.util.Language lang,
BabelfyConstraints constraints)
Given a tokenized text and a language, returns a list of semantic annotations on the given
constraints.
|
java.util.List<SemanticAnnotation> |
babelfy(java.lang.String sentence,
it.uniroma1.lcl.jlt.util.Language lang)
Given a text and a language, returns a list of semantic annotations.
|
java.util.List<SemanticAnnotation> |
babelfy(java.lang.String sentence,
it.uniroma1.lcl.jlt.util.Language lang,
BabelfyConstraints constraints)
Given a text and a language, returns a list of semantic annotations on the given constraints.
|
public Babelfy()
public Babelfy(BabelfyParameters parameters)
public java.util.List<SemanticAnnotation> babelfy(java.lang.String sentence, it.uniroma1.lcl.jlt.util.Language lang)
IBabelfypublic java.util.List<SemanticAnnotation> babelfy(java.util.List<? extends BabelfyToken> taggedSentence, it.uniroma1.lcl.jlt.util.Language lang)
IBabelfybabelfy in interface IBabelfytaggedSentence - list of words in the form of BabelfyToken (you can specify all optional
fields (i.e., lemma, PoS tag, language) of the BabelfyTokens or partially or even
none of them, Babelfy will integrate all the missing fields for you).lang - text language (this will be considered the main language of the text if no
explicit information is given on the BabelfyTokens. Moreover, this
parameter can be set to null to enable language-agnostic handling of the input
text)public java.util.List<SemanticAnnotation> babelfy(java.lang.String sentence, it.uniroma1.lcl.jlt.util.Language lang, BabelfyConstraints constraints)
IBabelfypublic java.util.List<SemanticAnnotation> babelfy(java.util.List<? extends BabelfyToken> taggedSentence, it.uniroma1.lcl.jlt.util.Language lang, BabelfyConstraints constraints)
IBabelfybabelfy in interface IBabelfytaggedSentence - list of words in the form of BabelfyToken (you can specify all optional
fields (i.e., lemma, PoS tag, language) of the BabelfyTokens or partially or even
none of them, Babelfy will integrate all the missing fields for you).lang - text language (this will be considered the main language of the text if no
explicit information is given on the BabelfyTokens. Moreover, this
parameter can be set to null to enable language-agnostic handling of the input
text)constraints - disambiguation constraints