Package eu.clarin.weblicht.wlfxb.tc.api
Interface PhoneticsLayer
-
- All Superinterfaces:
TextCorpusLayer
- All Known Implementing Classes:
PhoneticsLayerStored
public interface PhoneticsLayer extends TextCorpusLayer
The PhoneticsLayer layer annotates tokens with their phonetic pronunciation. The transcription system (alphabet) is specified in the corresponding attribute of the layer.- Author:
- Yana Panchenko
-
-
Method Summary
-
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.TextCorpusLayer
isEmpty, size
-
-
-
-
Method Detail
-
getAlphabet
String getAlphabet()
-
getSegment
PhoneticsSegment getSegment(int index)
-
getSegment
PhoneticsSegment getSegment(Token token)
-
getToken
Token getToken(PhoneticsSegment segment)
-
createPronunciation
Pronunciation createPronunciation(PronunciationType type, String canonicalPronunciation, String realizedPronunciation, float onsetInSeconds, float offsetInSeconds, List<Pronunciation> children)
-
createPronunciation
Pronunciation createPronunciation(PronunciationType type, String canonicalPronunciation, String realizedPronunciation, List<Pronunciation> children)
-
createPronunciation
Pronunciation createPronunciation(PronunciationType type, String realizedPronunciation, float onsetInSeconds, float offsetInSeconds, List<Pronunciation> children)
-
createPronunciation
Pronunciation createPronunciation(PronunciationType type, String realizedPronunciation, float onsetInSeconds, float offsetInSeconds)
-
createPronunciation
Pronunciation createPronunciation(PronunciationType type, String canonicalPronunciation)
-
addChild
Pronunciation addChild(Pronunciation parent, Pronunciation child)
-
addSegment
PhoneticsSegment addSegment(Pronunciation pronunciation, Token token)
-
addSegment
PhoneticsSegment addSegment(List<Pronunciation> pronunciations, Token token)
-
-