title: Xcode - OpenEars language model file error
body: <p>I'm trying to use OpenEars but i get an annoying error.
  that error starts immediately when i try to run the app after i added the languagemodel file to my project.
  here is the error:</p>
  
  <pre><code>Lex /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm
      cd "/Users/ilizabetabibi/Desktop/Adi apps/TTSTest3"
      setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
      lex -o/Users/ilizabetabibi/Library/Developer/Xcode/DerivedData/TTSTest3-dsfbczwtfautfsglnlohlfwwgmjt/Build/Intermediates/TTSTest3.build/Debug-iphonesimulator/TTSTest3.build/DerivedSources/4075.languagemodel.yy.m "/Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm"
  
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:6: name defined twice
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:9: name defined twice
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:12: bad character: \
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:12: unknown error processing section 1
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:12: unknown error processing section 1
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:12: bad character: \
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:14: name defined twice
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:15: name defined twice
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:17: bad character: \
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:17: bad character: 1
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:17: bad character: -
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:17: unknown error processing section 1
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:17: bad character: :
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: -
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: 0
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: .
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: 7
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: 7
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: 8
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: 2
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: &lt;
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: /
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: unknown error processing section 1
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:18: bad character: 
  /Users/ilizabetabibi/Desktop/Adi apps/TTSTest3/TTSTest3/../../../../Downloads/TAR4075/4075.languagemodel.lm:58: premature EOF
  Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1
  </code></pre>
  
  <p>here is the language model file :</p>
  
  <pre><code>\data\
  ngram 1=10
  ngram 2=16
  ngram 3=8
  
  \1-grams:
  -0.7782 &lt;/s&gt; -0.3010
  -0.7782 &lt;s&gt; -0.2218
  -1.6812 BACKWARD -0.2218
  -1.6812 FORWARD -0.2218
  -1.6812 GO -0.2218
  -1.6812 LEFT -0.2218
  -1.6812 RIGHT -0.2218
  -1.6812 START -0.2218
  -1.6812 STOP -0.2218
  -1.6812 TURN -0.2218
  
  \2-grams:
  -1.2041 &lt;s&gt; BACKWARD 0.0000
  -1.2041 &lt;s&gt; FORWARD 0.0000
  -1.2041 &lt;s&gt; GO 0.0000
  -1.2041 &lt;s&gt; LEFT 0.0000
  -1.2041 &lt;s&gt; RIGHT 0.0000
  -1.2041 &lt;s&gt; START 0.0000
  -1.2041 &lt;s&gt; STOP 0.0000
  -1.2041 &lt;s&gt; TURN 0.0000
  -0.3010 BACKWARD &lt;/s&gt; -0.3010
  -0.3010 FORWARD &lt;/s&gt; -0.3010
  -0.3010 GO &lt;/s&gt; -0.3010
  -0.3010 LEFT &lt;/s&gt; -0.3010
  -0.3010 RIGHT &lt;/s&gt; -0.3010
  -0.3010 START &lt;/s&gt; -0.3010
  -0.3010 STOP &lt;/s&gt; -0.3010
  -0.3010 TURN &lt;/s&gt; -0.3010
  
  \3-grams:
  -0.3010 &lt;s&gt; BACKWARD &lt;/s&gt;
  -0.3010 &lt;s&gt; FORWARD &lt;/s&gt;
  -0.3010 &lt;s&gt; GO &lt;/s&gt;
  -0.3010 &lt;s&gt; LEFT &lt;/s&gt;
  -0.3010 &lt;s&gt; RIGHT &lt;/s&gt;
  -0.3010 &lt;s&gt; START &lt;/s&gt;
  -0.3010 &lt;s&gt; STOP &lt;/s&gt;
  -0.3010 &lt;s&gt; TURN &lt;/s&gt;
  
  \end\
  </code></pre>
  
  <p>i really hope you can help me.
  Best regards, Adi.</p>