Menu

SphinxTrain under Windows

Help
2004-07-07
2012-09-22
  • Roger Wellington-Oguri

    There's been a couple of questions about this recently.  I have done it successfully, so I can confirm it is possible.  But it wasn't a slam dunk.  Here are some tips on problems I had.

    1) You'll need more Unix-style tools than just the base Cygwin.  For sure, you'll need Perl, gcc and gmake.  I know I needed other development packages, but I can't recall exactly which.  Basically, I would advise you not to  try to use any of your existing Windows tools.

    2) Make sure all your text input files have lines terminated in the Unix-style linefeed-only convention, not the Windows style carriage return+linefeed.  If you neglect this, things go wrong without generating any explicit errors.

    3) Be prepared to dig into the detailed logs when things don't go right. Just because the high-level log says a step was successful doesn''t mean it really was.

    Hope this helps.

    Roger Wellington-Oguri

     
    • danial ibrahim

      danial ibrahim - 2004-07-08

      "You'll need more Unix-style tools than just the base Cygwin."
      "Basically, I would advise you not to try to use any of your existing Windows tools."

      are you using cygwin with the advanced feature or another Unix-style tools that more advanced than cygwin?

      so far i use cygwin (gcc,perl,make - i chose install all) and facing many problems. i was suggested to change 'make' to 'gmake' for a certain problem but i dont know how to add gmake in my cygwin directory.

      can you help me here?

       
      • Roger Wellington-Oguri

        Perhaps there are different Cygwin installers.

        Go to http://www.cygwin.com/ and select the icon "Install or update now! (using settup.exe)".  You should get a Cygwin setup "wizard".  On the second pane, select "Install from Internet".  After progressing through some more panes, you should get to the "Select packages" step.  There is a tree with "All" at the root, but the next level should say "Default".  If you  just click on "next", you'll get the default subset for each branch in the tree, but that didn't get me all the tools l needed to build SphinxTrain. (Unfortunately, I didn't make notes about what else I had to go back for.)  I can tell you that the Cygwin exectuable I got was named make.exe, not gmake.exe.

        I don't know the cause of your specific problem (specifically, whether your make.exe is really the issue).  But I do notice that your original posting describes trying to make libs3audio, which as far as I can tell is part of the Sphinx3 recognizer, not SphinxTrain.  I haven't tried to build Sphinx3, but it would seem like the most straightforward way to do it under Windows would be to use the Microsoft tool set with the project files provided in the win32/msdev subtree.  This is how I built Sphinx2, at least.

        Hope this helps.

        Roger

         

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.