public class LTSLexiconPOSBuilder extends Object
java -showversion -ea -Xmx4096m -cp "$MARY_BASE/lib/*" marytts.tools.transcription.LTSLexiconPOSBuilder ./marytts-lang-it/src/main/resources/marytts/language/it/lexicon/allophones.it.xml ./marytts-lang-it/lib/modules/it/lexicon/it.txt | Modifier and Type | Field and Description |
|---|---|
protected boolean |
removeTrailingOneFromPhones |
| Constructor and Description |
|---|
LTSLexiconPOSBuilder(String phoneSetFileName,
String transcriptionFileName) |
LTSLexiconPOSBuilder(String phoneSetFileName,
String transcriptionFileName,
boolean removeTrailingOneFromPhones) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
saveTranscription(String fileName)
save transcription into file
|
void |
trainPredict(String treeAbsolutePath)
train and predict module
|
public LTSLexiconPOSBuilder(String phoneSetFileName, String transcriptionFileName, boolean removeTrailingOneFromPhones) throws Exception
Exceptionpublic void trainPredict(String treeAbsolutePath) throws IOException, MaryConfigurationException
treeAbsolutePath - treeAbsolutePathIOException - IOExceptionMaryConfigurationException - MaryConfigurationExceptionpublic void saveTranscription(String fileName) throws Exception
fileName - fileNameException - ExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.