Package it.uniroma1.lcl.babelnet.data
Class BabelSensePhonetics
- java.lang.Object
-
- it.uniroma1.lcl.babelnet.data.BabelSensePhonetics
-
public class BabelSensePhonetics extends Object
A class modeling audio and transcription of a senseBabelSense
.- Author:
- navigli, vannella
-
-
Constructor Summary
Constructors Constructor Description BabelSensePhonetics(Set<BabelAudio> audioSet, Set<String> transcriptionSet)
Creates a new instance ofBabelSensePhonetics
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<BabelAudio>
getAudioItems()
Gets the audio items.Collection<String>
getTranscriptions()
Gets the set of transcriptionsString
toString()
-
-
-
Constructor Detail
-
BabelSensePhonetics
public BabelSensePhonetics(Set<BabelAudio> audioSet, Set<String> transcriptionSet)
Creates a new instance ofBabelSensePhonetics
- Parameters:
audioSet
- set of audio objectstranscriptionSet
- set of transcription objects
-
-
Method Detail
-
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
-
-