Well, I think I found out the problem. It seems that the regex used in XwavesLabelfileDataSource for parsing the lab files is considering &quot;.&quot; as decimal separator. I don&#39;t know why, maybe because of my locale, the lab files were generated using &quot;,&quot; as decimal separator. Maybe a good bug fix should be trying to use a decimal separator from the locale of the machine executing the code.<div>

<br></div><div>I you keep on trying here. Thank you.<br><br><div class="gmail_quote">2011/2/26 Fábio Marinho <span dir="ltr">&lt;<a href="mailto:fabiomarinho@gmail.com">fabiomarinho@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello,<div><br></div><div>I am a Java developer and personally interested in building a natural voice for Brazilian Portuguese (pt_BR).</div><div><br></div><div>I am following all steps in &quot;Adding New Language Support&quot; development page of Open MARY.</div>



<div><br></div><div>Everything was ok so far, but then I got stucked in PhoneUnitLabelComputer step of the ImportVoice GUI:</div><div><br></div><div>TRACE:</div><div><br></div><div><div>Computing unit labels for 15 files.</div>



<div>From phonetic label files: /home/fmarinho/Desenvolvimento/TTS/minhavoz/lab/*.lab</div><div>To       unit label files: /home/fmarinho/Desenvolvimento/TTS/minhavoz/phonelab/*.lab</div><div>Malformed line found outside of header:</div>



<div>0,070000 125 _</div><div>java.lang.Exception: The component PhoneUnitLabelComputer produced the following exception: </div><div><span style="white-space:pre-wrap">        </span>at marytts.tools.voiceimport.DatabaseImportMain$8.run(DatabaseImportMain.java:294)</div>



<div>Caused by: java.io.IOException</div><div><span style="white-space:pre-wrap">        </span>at marytts.util.data.text.XwavesLabelfileDataSource.parseLabels(XwavesLabelfileDataSource.java:157)</div><div><span style="white-space:pre-wrap">        </span>at marytts.util.data.text.XwavesLabelfileDataSource.&lt;init&gt;(XwavesLabelfileDataSource.java:71)</div>



<div><span style="white-space:pre-wrap">        </span>at marytts.util.data.text.XwavesLabelfileDataSource.&lt;init&gt;(XwavesLabelfileDataSource.java:58)</div><div><span style="white-space:pre-wrap">        </span>at marytts.tools.voiceimport.PhoneUnitLabelComputer.computePhoneLabel(PhoneUnitLabelComputer.java:138)</div>



<div><span style="white-space:pre-wrap">        </span>at marytts.tools.voiceimport.PhoneUnitLabelComputer.compute(PhoneUnitLabelComputer.java:119)</div><div><span style="white-space:pre-wrap">        </span>at marytts.tools.voiceimport.DatabaseImportMain$8.run(DatabaseImportMain.java:291)</div>



</div><div><br></div><div><br></div><div><div>MY ENVIRONMENT:</div><div>Ubuntu 10.04 LTS - Lucid Lynx</div><div><div>java version &quot;1.6.0_22&quot;</div>
<div>Java(TM) SE Runtime Environment (build 1.6.0_22-b04)</div><div>Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)</div></div></div><div><br></div><div><br></div><div>I think that maybe it could be a simple detail that I am missing. So before trying to debug the code in Eclipse, I would appreciate any help on that.</div>


<div>
<br></div><div>Thank you in advance.</div><div><br></div><div><br></div>
</blockquote></div><br></div>