Menu

help me, run sequitur g2p

Help
2012-02-02
2012-09-22
  • nguyen duy nam

    nguyen duy nam - 2012-02-02

    hi, i run sequitur g2p with file train.lex:

    A ax
    A'READY ax r eh d iy
    A'S ey z
    A(2) ey
    A. ey
    A.'S ey z
    A.S ey z
    A42128 ey f ao r t uw w ah n t uw ey t
    AAA t r ih p ax l ey
    AABERG aa b er g
    AACHEN aa k ax n
    AAKER aa k er
    AALSETH aa l s eh th
    AAMODT aa m ax t
    AANCOR aa n k ao r
    AARDEMA aa r d eh m ax
    AARDVARK aa r d v aa r k

    with command:

    python2.7 g2p.py --train /Data/train.lex --devel 5% --write-model model-1
    then meet error:

    python2.7 g2p.py --train /Data/train.lex --devel 5% --write-model model-1
    training sample: 124824 + 6570 devel
    iteration: 0
    Traceback (most recent call last):
    File "/usr/local/install/g2p/lib64/python2.7/site-packages/sequitur.py", line
    662, in run
    shouldStop = self.iterate(context)
    File "/usr/local/install/g2p/lib64/python2.7/site-packages/sequitur.py", line
    575, in iterate
    self.shallUseMaximumApproximation)
    File "/usr/local/install/g2p/lib64/python2.7/site-packages/sequitur.py", line
    260, in evidence
    for eg in self.graphs(model):
    File "/usr/local/install/g2p/lib64/python2.7/site-packages/sequitur.py", line
    202, in makeGraphs
    eg = self.builder.create(left, right)
    File "/usr/local/install/g2p/lib64/python2.7/site-packages/sequitur_.py", line
    146, in create
    def create(self,
    args): return sequitur.EstimationGraphBuilder_create(self,
    args)
    ValueError: symbol out of range: 256
    iteration failed.
    failed to estimate or load model

    **
    pls help me fixd it.

     
  • nguyen duy nam

    nguyen duy nam - 2012-02-02

    help me, pls i need finish it

     
  • Nickolay V. Shmyrev

    Input dictionary format is not correct. This tool requires different input
    format.

    Please avoid flood on this forum. Don't start so many threads on the same
    subject. Violations will be prosecuted.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.