Package edu.upf.taln.dri.lib.model.ext
Interface BabelSynsetOcc
-
- All Known Implementing Classes:
BabelSynsetOccImpl
public interface BabelSynsetOcc
Interface to access a Babelnet synset occurrence mined from the document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
asString(boolean compactOutput)
String representation of the objectString
getBabelURL()
The BabelNet URL associated to this Babelnet synset occurrenceDouble
getCoherenceScore()
The coherence score asscoiated to this Babelnet synset occurrenceString
getDbpediaURL()
The DBpedia URL associated to this Babelnet synset occurrenceDouble
getGolbalScore()
The global score associated to this Babelnet synset occurrenceInteger
getId()
Document-wide unambiguous Babelnet synset occurrence IdInteger
getNumTokens()
The number of tokens covered by this Babelnet synset occurrenceDouble
getScore()
The score associated to this Babelnet synset occurrenceInteger
getSentenceIdWithTerm()
Get the id of the sentence that includes the Babelnet synset occurrenceString
getSource()
The source associated to this Babelnet synset occurrenceString
getSynsetID()
The Babelnet Synset ID associated to this Babelnet synset occurrenceString
getText()
The Babelnet synset occurrence text
-
-
-
Method Detail
-
getId
Integer getId()
Document-wide unambiguous Babelnet synset occurrence Id- Returns:
- document-wide unambiguous term Id
-
getText
String getText()
The Babelnet synset occurrence text- Returns:
- term text
-
getSentenceIdWithTerm
Integer getSentenceIdWithTerm()
Get the id of the sentence that includes the Babelnet synset occurrence- Returns:
-
getBabelURL
String getBabelURL()
The BabelNet URL associated to this Babelnet synset occurrence- Returns:
-
getSynsetID
String getSynsetID()
The Babelnet Synset ID associated to this Babelnet synset occurrence- Returns:
-
getDbpediaURL
String getDbpediaURL()
The DBpedia URL associated to this Babelnet synset occurrence- Returns:
-
getGolbalScore
Double getGolbalScore()
The global score associated to this Babelnet synset occurrence- Returns:
-
getCoherenceScore
Double getCoherenceScore()
The coherence score asscoiated to this Babelnet synset occurrence- Returns:
-
getScore
Double getScore()
The score associated to this Babelnet synset occurrence- Returns:
-
getSource
String getSource()
The source associated to this Babelnet synset occurrence- Returns:
-
getNumTokens
Integer getNumTokens()
The number of tokens covered by this Babelnet synset occurrence- Returns:
-
asString
String asString(boolean compactOutput)
String representation of the object- Returns:
-
-