Interface BabelSynsetOcc

  • All Known Implementing Classes:
    BabelSynsetOccImpl

    public interface BabelSynsetOcc
    Interface to access a Babelnet synset occurrence mined from the document.
    • 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: