<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Also, when I tried to run the compiler from the command line, I got
    this:<br>
    <br>
    <pre wrap="">voice-my_voice2-hsmm shoutomatic$ mvn verify /Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/voice-my_voice2-hsmm -e -X
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T12:37:52-05:00)
Maven home: /Users/shoutomatic/Downloads/apache-maven-3.2.1
Java version: 1.6.0_65, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /Users/shoutomatic/Downloads/apache-maven-3.2.1/conf/settings.xml
[DEBUG] Reading user settings from <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>Users/shoutomatic<span class="moz-txt-tag">/</span></i>.m2/settings.xml
[DEBUG] Using local repository at <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>Users/shoutomatic<span class="moz-txt-tag">/</span></i>.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>Users/shoutomatic<span class="moz-txt-tag">/</span></i>.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project marytts:voice-myvoice2-hsmm:jar:5.1-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: marytts:voice-myvoice2-hsmm:jar:5.1-SNAPSHOT
[DEBUG] Tasks:   [verify, /Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/voice-my_voice2-hsmm]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building voice-myvoice2-hsmm 5.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -&gt; [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -&gt; [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -&gt; [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -&gt; [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -&gt; [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -&gt; [pre-site, site, post-site, site-deploy]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.314 s
[INFO] Finished at: 2014-04-07T17:39:10-05:00
[INFO] Final Memory: 3M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "/Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/voice-my_voice2-hsmm". You must specify a valid lifecycle phase or a goal in the format &lt;plugin-prefix&gt;:&lt;goal&gt; or &lt;plugin-group-id&gt;:&lt;plugin-artifact-id&gt;[:&lt;plugin-version&gt;]:&lt;goal&gt;. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -&gt; [Help 1]
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown lifecycle phase "/Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/voice-my_voice2-hsmm". You must specify a valid lifecycle phase or a goal in the format &lt;plugin-prefix&gt;:&lt;goal&gt; or &lt;plugin-group-id&gt;:&lt;plugin-artifact-id&gt;[:&lt;plugin-version&gt;]:&lt;goal&gt;. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
        at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:228)
        at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:199)
        at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:118)
        at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:135)
        at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:97)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:101)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] <a class="moz-txt-link-freetext" href="http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException">http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException</a>


Weird error, right?

Bob
</pre>
    <br>
    <br>
    <br>
    On 4/8/2014 8:22 AM, Robert Schuon wrote:
    <blockquote cite="mid:5343EA20.40103@shoutomatic.com" type="cite">
      <pre wrap="">Thanks, Nickolay, for the information!

We tried to rerecord the 4 files that had problems, but either the Mac 
we used or the software (redstart) has an issue, because even after the 
old files were deleted and rerecorded, the new audio was not there, the 
old audio was!  And no matter how many times we tried, the tokens would 
be null, and we would throw an error.  So we ended up removing 4 audio 
files (006.wav, 058.wav, 098.wav, and 349.wav) along with all of the 
.txt files, and all associated .lab, .pm, .cnf, any file even remotely 
related to them (we tried just rerunning without the .wav and .txt and 
deleting them out of the basename.lst, but that did nothing).  We also 
removed those filenames from the basename.lst, and were finally able to 
get through the hmm processing.

Then we tried to compile the hmm voice, using the compiler.  Eclipse 
immediately complained it could not find Maven, even though we added it 
to the path.  So I added the Maven path to the environment in Eclipse, 
and Maven starts, but now we get a weird error (here is the console dump):

Opening GUI.......
Loading database layout:
Reading config file /Users/shoutomatic/Documents/MaryTTS/myvoice2/database.config
Reading external binaries config file /Users/shoutomatic/marytts3/lib/external/externalBinaries.config
Loading basename list from file /Users/shoutomatic/Documents/MaryTTS/myvoice2/basenames.lst
Found 404 files in basename list
Loading features from file /Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/features.txt
INFO  HMMVoiceCompiler: Getting a context feature file example in phonefeatures/
Checking if aliases for extra features used for training were used: checking if file exist --&gt;/Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/hmmFeaturesMap.txt
convert back the features in all tree files: treeDurFile, treeLf0File, treeMcpFile, treeStrFile
INFO  HMMVoiceCompiler: loading features map from file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/mary/hmmFeaturesMap.txt
INFO  HMMVoiceCompiler:   accented --&gt;   f0
INFO  HMMVoiceCompiler:   accented_syls_from_phrase_end --&gt;   f1
INFO  HMMVoiceCompiler:   accented_syls_from_phrase_start --&gt;   f2
INFO  HMMVoiceCompiler:   breakindex --&gt;   f3
INFO  HMMVoiceCompiler:   edge --&gt;   f4
INFO  HMMVoiceCompiler:   next_accent --&gt;   f5
INFO  HMMVoiceCompiler:   next_is_pause --&gt;   f6
INFO  HMMVoiceCompiler:   next_punctuation --&gt;   f7
INFO  HMMVoiceCompiler:   next_stressed --&gt;   f8
INFO  HMMVoiceCompiler:   next_tobi_accent --&gt;   f9
INFO  HMMVoiceCompiler:   next_tobi_endtone --&gt;   f10
INFO  HMMVoiceCompiler:   nextnext_tobi_accent --&gt;   f11
INFO  HMMVoiceCompiler:   nextnext_tobi_endtone --&gt;   f12
INFO  HMMVoiceCompiler:   onsetcoda --&gt;   f13
INFO  HMMVoiceCompiler:   phrase_endtone --&gt;   f14
INFO  HMMVoiceCompiler:   phrase_numsyls --&gt;   f15
INFO  HMMVoiceCompiler:   phrase_numwords --&gt;   f16
INFO  HMMVoiceCompiler:   phrases_from_sentence_end --&gt;   f17
INFO  HMMVoiceCompiler:   phrases_from_sentence_start --&gt;   f18
INFO  HMMVoiceCompiler:   pos_in_syl --&gt;   f19
INFO  HMMVoiceCompiler:   position_type --&gt;   f20
INFO  HMMVoiceCompiler:   prev_accent --&gt;   f21
INFO  HMMVoiceCompiler:   prev_is_pause --&gt;   f22
INFO  HMMVoiceCompiler:   prev_phrase_endtone --&gt;   f23
INFO  HMMVoiceCompiler:   prev_punctuation --&gt;   f24
INFO  HMMVoiceCompiler:   prev_stressed --&gt;   f25
INFO  HMMVoiceCompiler:   prev_syl_break --&gt;   f26
INFO  HMMVoiceCompiler:   segs_from_syl_end --&gt;   f27
INFO  HMMVoiceCompiler:   segs_from_syl_start --&gt;   f28
INFO  HMMVoiceCompiler:   segs_from_word_end --&gt;   f29
INFO  HMMVoiceCompiler:   segs_from_word_start --&gt;   f30
INFO  HMMVoiceCompiler:   selection_prosody --&gt;   f31
INFO  HMMVoiceCompiler:   sentence_numphrases --&gt;   f32
INFO  HMMVoiceCompiler:   sentence_numwords --&gt;   f33
INFO  HMMVoiceCompiler:   sentence_punc --&gt;   f34
INFO  HMMVoiceCompiler:   stressed --&gt;   f35
INFO  HMMVoiceCompiler:   stressed_syls_from_phrase_end --&gt;   f36
INFO  HMMVoiceCompiler:   stressed_syls_from_phrase_start --&gt;   f37
INFO  HMMVoiceCompiler:   style --&gt;   f38
INFO  HMMVoiceCompiler:   syl_break --&gt;   f39
INFO  HMMVoiceCompiler:   syl_numsegs --&gt;   f40
INFO  HMMVoiceCompiler:   syls_from_phrase_end --&gt;   f41
INFO  HMMVoiceCompiler:   syls_from_phrase_start --&gt;   f42
INFO  HMMVoiceCompiler:   syls_from_prev_accent --&gt;   f43
INFO  HMMVoiceCompiler:   syls_from_prev_stressed --&gt;   f44
INFO  HMMVoiceCompiler:   syls_from_word_end --&gt;   f45
INFO  HMMVoiceCompiler:   syls_from_word_start --&gt;   f46
INFO  HMMVoiceCompiler:   syls_to_next_accent --&gt;   f47
INFO  HMMVoiceCompiler:   syls_to_next_stressed --&gt;   f48
INFO  HMMVoiceCompiler:   tobi_accent --&gt;   f49
INFO  HMMVoiceCompiler:   tobi_endtone --&gt;   f50
INFO  HMMVoiceCompiler:   word_numsegs --&gt;   f51
INFO  HMMVoiceCompiler:   word_numsyls --&gt;   f52
INFO  HMMVoiceCompiler:   words_from_phrase_end --&gt;   f53
INFO  HMMVoiceCompiler:   words_from_phrase_start --&gt;   f54
INFO  HMMVoiceCompiler:   words_from_prev_punctuation --&gt;   f55
INFO  HMMVoiceCompiler:   words_from_sentence_end --&gt;   f56
INFO  HMMVoiceCompiler:   words_from_sentence_start --&gt;   f57
INFO  HMMVoiceCompiler:   words_to_next_punctuation --&gt;   f58
INFO  HMMVoiceCompiler: load: reading /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-dur.inf
Features alises replaced in file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-dur.inf.tmp
Copied file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-dur.inf.tmp  to: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-dur.inf

INFO  HMMVoiceCompiler: load: reading /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-lf0.inf
Features alises replaced in file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-lf0.inf.tmp
Copied file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-lf0.inf.tmp  to: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-lf0.inf

INFO  HMMVoiceCompiler: load: reading /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-mgc.inf
Features alises replaced in file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-mgc.inf.tmp
Copied file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-mgc.inf.tmp  to: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-mgc.inf

INFO  HMMVoiceCompiler: load: reading /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-str.inf
Features alises replaced in file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-str.inf.tmp
Copied file: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-str.inf.tmp  to: /Users/shoutomatic/Documents/MaryTTS/myvoice2/hts/voices/qst001/ver1/tree-str.inf

INFO  HMMVoiceCompiler: Creating directories
INFO  HMMVoiceCompiler: Copying template files
INFO  HMMVoiceCompiler: Copying voice files
INFO  HMMVoiceCompiler: Compiling with Maven
maven err&gt;/Users/shoutomatic/Downloads/apache-maven-3.2.1/bin/mvn: line 53: uname: command not found
maven err&gt;/Users/shoutomatic/Downloads/apache-maven-3.2.1/bin/mvn: line 107: dirname: command not found
maven err&gt;Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/launcher/Launcher
maven err&gt;Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
maven err&gt;        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
maven err&gt;        at java.security.AccessController.doPrivileged(Native Method)
maven err&gt;        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
maven err&gt;        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
maven err&gt;        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
maven err&gt;        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
java.lang.Exception: The component HMMVoiceCompiler produced the following exception:
        at marytts.tools.voiceimport.DatabaseImportMain$8.run(DatabaseImportMain.java:297)
Caused by: java.io.IOException: Maven compilation did not succeed -- check console for details.
        at marytts.tools.voiceimport.VoiceCompiler$MavenVoiceCompiler.compileWithMaven(VoiceCompiler.java:343)
        at marytts.tools.voiceimport.VoiceCompiler.compute(VoiceCompiler.java:94)
        at marytts.tools.voiceimport.DatabaseImportMain$8.run(DatabaseImportMain.java:294)



Any help would be greatly appreciated, as we are within one step of having a test voice!

Thanks,

Bob S.



On 4/3/2014 4:00 AM, Nickolay V. Shmyrev wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello Robert

</pre>
        <blockquote type="cite">
          <pre wrap="">Upon researching the issue on the internet, it seems that the automatic
settings for -t 1500 100 5000 are causing too many tokens to be pruned,
and leaving some files blank, which of course, blows up the script.
</pre>
        </blockquote>
        <pre wrap="">Your problem is not about settings, the beams that are used are very wide.

</pre>
        <blockquote type="cite">
          <pre wrap="">looked through the settings, but I am unable to locate the correct
setting to change these numbers, and also, what a better setting should
be (and why).  Anyone have better settings that they use, and an
explanation of how to use them?
</pre>
        </blockquote>
        <pre wrap="">You shouldn't set any numbers.  The real issue is mismatch between the phonetic transcription for that utterance and it's contents. You need to review utterance audio and generated phonetic transcription and try to understand why they can not be aligned. Most likely the transcription is significantly different from the audio.

Alternatively you can remove utterance 006 from the database and proceed without it.

</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
ShoutOmatic.com
"Stop Typing, Start Shouting!"</pre>
  </body>
</html>