[mary-users] Require guidelines for transcription in marytts

Bibek Kumar Bazaz bibekkumarbazaz at gmail.com
Fri Mar 18 07:07:14 CET 2016


Hello Everyone,

I am developing a Hindi TTS using marytts.

I have build a allophone set for Hindi  and a list of words for training. I
have accordingly written the allophones for each word in the wordfile
corresponding to their hindi spellings and feed it to transcription gui.

but only a handful get trained and others are rejected. also a java
exception is shown.
the complete log file is :
prev: Serif
next: Serif
alignment ...
iteration 0
iteration 1
iteration 2
iteration 3
iteration 4
alignment completed.
training ...
      Training decision tree for: ं
      Training decision tree for: े
      Training decision tree for: त
      Training decision tree for: थ
      Training decision tree for: द
      Training decision tree for: ु
      Training decision tree for: न
      Training decision tree for: ए
      Training decision tree for: म
      Training decision tree for: ै
      Training decision tree for: य
      Training decision tree for: ल
      Training decision tree for: ऐ
      Training decision tree for: व
      Training decision tree for: ख
      Training decision tree for: क
      Training decision tree for: श
      Training decision tree for: ह
      Training decision tree for: स
      Training decision tree for: ि
      Training decision tree for: null
      Training decision tree for: ज
      Training decision tree for: ा
training completed.
java.lang.IllegalArgumentException: Cannot syllabify empty phone string
    at
marytts.modules.phonemiser.AllophoneSet.syllabify(AllophoneSet.java:479)
    at marytts.modules.phonemiser.TrainedLTS.syllabify(TrainedLTS.java:176)
    at
marytts.tools.transcription.TranscriptionTable.trainPredict(TranscriptionTable.java:221)
    at
marytts.tools.transcription.TranscriptionGUI.trainPredictActionPerformed(TranscriptionGUI.java:816)
    at
marytts.tools.transcription.TranscriptionGUI.access$8(TranscriptionGUI.java:810)
    at
marytts.tools.transcription.TranscriptionGUI$8.actionPerformed(TranscriptionGUI.java:372)
    at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6516)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
    at java.awt.Component.processEvent(Component.java:6281)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4872)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4698)
    at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.java:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2719)
    at java.awt.Component.dispatchEvent(Component.java:4698)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
    at java.awt.EventQueue.access$300(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:706)
    at java.awt.EventQueue$3.run(EventQueue.java:704)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
    at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:720)
    at java.awt.EventQueue$4.run(EventQueue.java:718)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Testing FST...
Testing complete. 19 entries (19 correct, 0 failed)


So i request you guys to please go through my allophones list and word file
and tell me
1. the correct format of writing the transcription of wiords
2. what is the exception about and how to solve it.


thanks beforehand.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/mary-users/attachments/20160318/976210e8/attachment.htm 
-------------- next part --------------
<allophones name="sampa" xml:lang="hi_IN"
	    features="vlng vheight vfront vrnd ctype cplace cvox">
	
	<silence ph="_"/>
	
	<vowels ph="a" vlng="s" vheight="2" vfront="2" vrnd="-" />
	<vowels ph="a:" vlng="l" vheight="2" vfront="3" vrnd="-" />
	<vowels ph="i" vlng="s" vheight="1" vfront="1" vrnd="-" />
	<vowels ph="i:" vlng="l" vheight="1" vfront="1" vrnd="-" />
	<vowels ph="u" vlng="s" vheight="1" vfront="3" vrnd="+" />
	<vowels ph="u:" vlng="l" vheight="1" vfront="3" vrnd="+" />
	<vowels ph="r\`" vlng="l" vheight="" vfront="1" vrnd="-" />
	<vowel ph="e" vlng="l" vheight="2" vfront="1" vrnd="-"/>
	<vowel ph="a:i" vlng="l" vheight="2" vfront="1" vrnd="-"/>
	<vowels ph="o" vlng="s" vheight="2" vfront="3" vrnd="+" />
	<vowels ph="O" vlng="s" vheight="3" vfront="3" vrnd="+" />
	<vowels ph="ɒ" vlng="l" vheight="3" vfront="3" vrnd="+" />
	<vowels ph="E" vlng="s" vheight="2" vfront="1" vrnd="+" />

	<consonant ph="k" ctype="s" cplace="v" cvox="-"/>
	<consonant ph="kh" ctype="s" cplace="v" cvox="-"/>
	<consonant ph="g" ctype="s" cplace="v" cvox="+"/>
	<consonant ph="gh" ctype="s" cplace="v" cvox="+"/>
	<consonant ph="ŋ" ctype="n" cplace="v" cvox="+"/>
	
	<consonant ph="tS)" ctype="s" cplace="p" cvox="-"/>
	<consonant ph="tS)h" ctype="s" cplace="p" cvox="-"/>
	<consonant ph="dZ" ctype="s" cplace="p" cvox="+"/>
	<consonant ph="dZh" ctype="s" cplace="p" cvox="+"/>
	<consonant ph="J" ctype="n" cplace="p" cvox="+"/>
	
	<consonant ph="t`" ctype="s" cplace="r" cvox="-"/>
	<consonant ph="t`h" ctype="s" cplace="r" cvox="-"/>
	<consonant ph="d`" ctype="s" cplace="r" cvox="+"/>
	<consonant ph="d`h" ctype="s" cplace="r" cvox="+"/>
	<consonant ph="n`" ctype="n" cplace="r" cvox="+"/>
	
	<consonant ph="t" ctype="s" cplace="d" cvox="-"/>
	<consonant ph="th" ctype="s" cplace="d" cvox="-"/>
	<consonant ph="d" ctype="s" cplace="d" cvox="+"/>
	<consonant ph="dh" ctype="s" cplace="d" cvox="+"/>
	<consonant ph="n" ctype="n" cplace="d" cvox="+"/>

	<consonant ph="p" ctype="s" cplace="l" cvox="-"/>
	<consonant ph="ph" ctype="s" cplace="l" cvox="-"/>
	<consonant ph="b" ctype="s" cplace="l" cvox="+"/>
	<consonant ph="bh" ctype="s" cplace="l" cvox="+"/>
	<consonant ph="m" ctype="n" cplace="l" cvox="+"/>
	
	<consonant ph="y" ctype="ap" cplace="p" cvox="+"/>
	<consonant ph="r" ctype="ap" cplace="p" cvox="+"/>
	<consonant ph="l" ctype="ap" cplace="d" cvox="+"/>
	<consonant ph="v" ctype="ap" cplace="b" cvox="+"/>
	<consonant ph="S" ctype="f" cplace="v" cvox="-"/>
	<consonant ph="s`" ctype="f" cplace="p" cvox="+"/>
	<consonant ph="s" ctype="f" cplace="a" cvox="-"/>
	<consonant ph="h" ctype="f" cplace="v" cvox="-"/>
	
	
	
</allophones>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hi_in_300
Type: application/octet-stream
Size: 5084 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/mary-users/attachments/20160318/976210e8/attachment.obj 


More information about the Mary-users mailing list