public class PraatTextGrid extends Object
Constructor and Description |
---|
PraatTextGrid()
bare constructor
|
PraatTextGrid(Vector<PraatTier> tiers)
constructor accepting a Vector of PraatTiers
|
Modifier and Type | Method and Description |
---|---|
void |
appendTier(PraatTier tier)
add a new tier at the end of the TextGrid's tiers
|
int |
getNumberOfTiers()
getter for number of tiers
|
PraatTier |
getTier(int index)
getter for individual tier
|
double |
getXmax()
getter for TextGrid end time.
|
double |
getXmin()
getter for TextGrid start time.
|
void |
setTiers(Vector<PraatTier> tiers)
replace tiers by specified Vector of tiers
|
String |
toString()
string representation of TextGrid, as it is written into text files by Praat and this.writeToFile().
|
void |
writeToFile(String fileName)
write TextGrid to text file which can be used by Praat
|
public double getXmin()
public double getXmax()
public int getNumberOfTiers()
public PraatTier getTier(int index)
index
- of desired tierpublic void setTiers(Vector<PraatTier> tiers)
tiers
- tierspublic void appendTier(PraatTier tier)
tier
- to be appendedpublic void writeToFile(String fileName) throws IOException
fileName
- of TextGrid fileIOException
- IOExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.