Menu

Arabic LM !

Help
Anati
2011-11-16
2012-09-22
  • Anati

    Anati - 2011-11-16

    Hello

    I read that language model that is suitable with commands vocab. is grummar lm

    How i can build it for an arabic language ?

     
  • Nickolay V. Shmyrev

    How i can build it for an arabic language ?

    You need to read the grammar syntax document:

    http://java.sun.com/products/java-
    media/speech/forDevelopers/JSGF/

    Then you can write the grammar according to the syntax in a text editor.

     
  • Anati

    Anati - 2011-11-16

    mr.Hiyasaat i read all your papers, but f u know how can buld lm for my
    commands ... olz help me
    my words :

    تَوَقَّف
    تَحَرَّك
    أَمام
    خَلف
    يَمين
    يَسار
    أَسرِع
    وبعض الكلمات الأخرى البسيطة

     
  • Anati

    Anati - 2011-11-16

    any one can give me example for building lm for " non english " 10 command
    words ?

     
  • Anati

    Anati - 2011-11-16

    i copied my commands as phone

    E AE S R IX AI
    E AE S F AE L
    E AE AI L
    E AE M M
    T AE HH AE R AA K
    T AE W AE Q AA F
    KH AA L F
    Y AE S R
    Y AE M Y N
    

    ... in http://www.speech.cs.cmu.edu/tools/lm.html

    and the result is :

    Language model created by QuickLM on Wed Nov 16 17:46:33 EST 2011
    Carnegie Mellon University (c) 1996
    
    This model based on a corpus of 9 sentences and 47 words
    The (fixed) discount mass is 0.5
    
    \data\
    ngram 1=18
    ngram 2=29
    ngram 3=27
    
    \1-grams:
    -1.4960 AA -0.2674
    -0.9317 AE -0.2144
    -1.6721 AI -0.2869
    -1.3711 E -0.2470
    -1.4960 F -0.2470
    -1.9731 HH -0.2470
    -1.9731 IX -0.2917
    -1.9731 K -0.3010
    -1.9731 KH -0.2869
    -1.4960 L -0.2869
    -1.4960 M -0.2724
    -1.9731 N -0.3010
    -1.9731 Q -0.2869
    -1.4960 R -0.2821
    -1.4960 S -0.2724
    -1.6721 T -0.2470
    -1.9731 W -0.2470
    -1.4960 Y -0.2417
    
    \2-grams:
    -0.7782 AA F -0.3010
    -0.7782 AA K -0.3010
    -0.7782 AA L -0.2218
    -1.3424 AE AI -0.1761
    -1.3424 AE HH 0.0000
    -1.3424 AE L -0.3010
    -1.0414 AE M -0.1249
    -1.3424 AE Q 0.0000
    -1.3424 AE R -0.2218
    -0.8653 AE S 0.0000
    -1.3424 AE W 0.0000
    -0.6021 AI L -0.3010
    -0.3010 E AE -0.1627
    -0.7782 F AE -0.2808
    -0.3010 HH AE -0.2808
    -0.3010 IX AI -0.3010
    -0.3010 KH AA -0.2218
    -0.7782 L F -0.3010
    -0.7782 M M -0.3010
    -0.7782 M Y -0.2218
    -0.3010 Q AA -0.2218
    -0.7782 R AA -0.2218
    -0.7782 R IX 0.0000
    -0.7782 S F -0.2218
    -0.4771 S R -0.2218
    -0.3010 T AE -0.2596
    -0.3010 W AE -0.2808
    -0.4771 Y AE -0.1891
    -0.7782 Y N -0.3010
    
    \3-grams:
    -0.3010 AA L F
    -0.3010 AE AI L
    -0.3010 AE HH AE
    -0.6021 AE M M
    -0.6021 AE M Y
    -0.3010 AE Q AA
    -0.3010 AE R AA
    -0.7782 AE S F
    -0.4771 AE S R
    -0.3010 AE W AE
    -0.9031 E AE AI
    -0.9031 E AE M
    -0.6021 E AE S
    -0.3010 F AE L
    -0.3010 HH AE R
    -0.3010 KH AA L
    -0.3010 M Y N
    -0.3010 Q AA F
    -0.3010 R AA K
    -0.3010 R IX AI
    -0.3010 S F AE
    -0.6021 S R IX
    -0.6021 T AE HH
    -0.6021 T AE W
    -0.3010 W AE Q
    -0.6021 Y AE M
    -0.6021 Y AE S
    
    \end\
    

    is it true ??

     
  • Anati

    Anati - 2011-11-16

    why the admin doesnt answer my questions ??!

     
  • Nickolay V. Shmyrev

    why the admin doesnt answer my questions ??!

    Answers are already in documentation. I'm just not sure what else can I add to
    it.

     
  • Anati

    Anati - 2011-11-16

    surly i read tutorial before writing my questions , but i asked if this lm
    file is true or not ??
    because in tutorial there is nothing about non english lm !!

    another question:

    in this stepwhere is the errors ?? :

    Setting up the training scripts
    To start the training change to the database folder and run the following
    commands:

    ../SphinxTrain/scripts_pl/setup_SphinxTrain.pl -task Anati

    [anati@Anati Anati]$ perl ../SphinxTrain/scripts_pl/setup_SphinxTrain.pl -task Anati
    Current directory not empty.
    Will leave existing files as they are, and copy non-existing files.
    Making basic directory structure
    Installing ../SphinxTrain/scripts_pl/setup_SphinxTrain.pl/etc/feat.params to etc/feat.params
    ../SphinxTrain/scripts_pl/setup_SphinxTrain.pl/python/build/lib => python
    Generating SphinxTrain configuration file in etc/sphinx_train.cfg
    Can't open etc/sphinx_train.template or ../SphinxTrain/scripts_pl/setup_SphinxTrain.pl/etc/sphinx_train.cfg
    
     
  • hiyassat

    hiyassat - 2011-11-17

    send me the words i will build the dictionary and lm for you

     

Log in to post a comment.