Class BabelSensePhonetics

java.lang.Object
it.uniroma1.lcl.babelnet.data.BabelSensePhonetics

public class BabelSensePhonetics extends Object
A class modeling audio and transcription of a sense BabelSense.
Author:
navigli, vannella
  • Constructor Details

    • BabelSensePhonetics

      public BabelSensePhonetics(Set<BabelAudio> audioSet, Set<String> transcriptionSet)
      Creates a new instance of BabelSensePhonetics
      Parameters:
      audioSet - set of audio objects
      transcriptionSet - set of transcription objects
  • Method Details

    • getAudioItems

      public Collection<BabelAudio> getAudioItems()
      Gets the audio items.
      Returns:
      all audio items
    • getTranscriptions

      public Collection<String> getTranscriptions()
      Gets the set of transcriptions
      Returns:
      all transcriptions
    • toString

      public String toString()
      Overrides:
      toString in class Object