eu.clarin.weblicht.wlfxb.tc.xb
Class PhoneticsLayerStored
java.lang.Object
eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
eu.clarin.weblicht.wlfxb.tc.xb.PhoneticsLayerStored
- All Implemented Interfaces:
- PhoneticsLayer, TextCorpusLayer
public class PhoneticsLayerStored
- extends TextCorpusLayerStoredAbstract
- implements PhoneticsLayer
- Author:
- Yana Panchenko
|
Method Summary |
Pronunciation |
addChild(Pronunciation parent,
Pronunciation child)
|
PhoneticsSegment |
addSegment(List<Pronunciation> pronunciations,
Token token)
|
PhoneticsSegment |
addSegment(Pronunciation pronunciation,
Token token)
|
Pronunciation |
createPronunciation(PronunciationType type,
String canonicalPronunciation)
|
Pronunciation |
createPronunciation(PronunciationType type,
String realizedPronunciation,
float onsetInSeconds,
float offsetInSeconds)
|
Pronunciation |
createPronunciation(PronunciationType type,
String realizedPronunciation,
float onsetInSeconds,
float offsetInSeconds,
List<Pronunciation> children)
|
Pronunciation |
createPronunciation(PronunciationType type,
String canonicalPronunciation,
String realizedPronunciation,
float onsetInSeconds,
float offsetInSeconds,
List<Pronunciation> children)
|
Pronunciation |
createPronunciation(PronunciationType type,
String canonicalPronunciation,
String realizedPronunciation,
List<Pronunciation> children)
|
String |
getAlphabet()
|
PhoneticsSegment |
getSegment(int index)
|
PhoneticsSegment |
getSegment(Token token)
|
Token |
getToken(PhoneticsSegment segment)
|
boolean |
isEmpty()
|
protected void |
setLayersConnector(TextCorpusLayersConnector connector)
Should not be used directly by users. |
int |
size()
|
String |
toString()
|
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
PhoneticsLayerStored
protected PhoneticsLayerStored()
PhoneticsLayerStored
protected PhoneticsLayerStored(String alphabet)
PhoneticsLayerStored
protected PhoneticsLayerStored(TextCorpusLayersConnector connector)
setLayersConnector
protected void setLayersConnector(TextCorpusLayersConnector connector)
- Description copied from class:
TextCorpusLayerStoredAbstract
- Should not be used directly by users. Should be extended by all
implementations of TextCorpusLayers, as they might depend on other layers
and therefore be able to get referenced/referencing information.
- Specified by:
setLayersConnector in class TextCorpusLayerStoredAbstract
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface TextCorpusLayer
size
public int size()
- Specified by:
size in interface TextCorpusLayer
getAlphabet
public String getAlphabet()
- Specified by:
getAlphabet in interface PhoneticsLayer
getSegment
public PhoneticsSegment getSegment(int index)
- Specified by:
getSegment in interface PhoneticsLayer
getSegment
public PhoneticsSegment getSegment(Token token)
- Specified by:
getSegment in interface PhoneticsLayer
getToken
public Token getToken(PhoneticsSegment segment)
- Specified by:
getToken in interface PhoneticsLayer
createPronunciation
public Pronunciation createPronunciation(PronunciationType type,
String canonicalPronunciation,
String realizedPronunciation,
float onsetInSeconds,
float offsetInSeconds,
List<Pronunciation> children)
- Specified by:
createPronunciation in interface PhoneticsLayer
createPronunciation
public Pronunciation createPronunciation(PronunciationType type,
String canonicalPronunciation,
String realizedPronunciation,
List<Pronunciation> children)
- Specified by:
createPronunciation in interface PhoneticsLayer
createPronunciation
public Pronunciation createPronunciation(PronunciationType type,
String realizedPronunciation,
float onsetInSeconds,
float offsetInSeconds,
List<Pronunciation> children)
- Specified by:
createPronunciation in interface PhoneticsLayer
createPronunciation
public Pronunciation createPronunciation(PronunciationType type,
String realizedPronunciation,
float onsetInSeconds,
float offsetInSeconds)
- Specified by:
createPronunciation in interface PhoneticsLayer
createPronunciation
public Pronunciation createPronunciation(PronunciationType type,
String canonicalPronunciation)
- Specified by:
createPronunciation in interface PhoneticsLayer
addChild
public Pronunciation addChild(Pronunciation parent,
Pronunciation child)
- Specified by:
addChild in interface PhoneticsLayer
addSegment
public PhoneticsSegment addSegment(Pronunciation pronunciation,
Token token)
- Specified by:
addSegment in interface PhoneticsLayer
addSegment
public PhoneticsSegment addSegment(List<Pronunciation> pronunciations,
Token token)
- Specified by:
addSegment in interface PhoneticsLayer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.