Menu

CMU Sphinx pocketsphinx C++ VS2008

Help
2011-03-13
2012-09-22
  • Chris Morton

    Chris Morton - 2011-03-13

    I have compiled the sphinxbase & pocketsphinx in visual studio 2008 C++ and
    the dll's etc have been created for speech recognition in the /bin location
    however i have found the documentation on the cmu sphinx web page to be a
    little unclear, I hope someone can help me with this all I want to achieve is
    how do i incorporate the dll's into visual studio?

    The main aim is to create a simple program that will use the sphinx libraries
    to take microphone input and place them in a label or textbox in the
    application and then compare that to the dictionary file. I am aware that i
    will need to edit or create my own dictionary file to achieve the correct
    words etc which I will look at on my own as i like a challenge :P but this
    part is proving a bit to much for me.

    Hope someone can help, if anyone has any further questions about this please
    let me know and i will reply asap.

     
  • Nickolay V. Shmyrev

    I want to achieve is how do i incorporate the dll's into visual studio?

    To learn how to develop applications using external DLLs please see Visual
    Studio documentation:

    http://msdn.microsoft.com/en-
    us/library/1ez7dh12.aspx

    There is no difference between pocketsphinx DLL and any other DLL in the
    system.

     
  • Chris Morton

    Chris Morton - 2011-03-13

    thank you for the reply i will have a go at this and see if i can incorporate
    it into vs2008 at first glance it states about using a win32 console
    application to bring the dll into the equation I want to have a gui to use the
    program is this possible using the methods on the above link you posted? thank
    you so much for taking the time to reply much appreciated.

     
  • Anuj Kumar

    Anuj Kumar - 2011-06-02

    Hi Morton024,

    Were you able to run this? If so, could you provide a sample code? From some
    of my online searches, it seems like a common problem, and if there's a common
    sample, that will be very helpful for the entire speech community that uses
    pocketSphinx with C#. Thanks so much.

    • Anuj
     
  • Chris Morton

    Chris Morton - 2011-06-13

    This was conducted for my university degree therefore i cannot release this
    until i have my grade so you will have to wait a little longer but i will
    upload it as soon as my uni confirms everything thank you for your interest
    should be up within the next 2 months took a while had to use a C# wrapper in
    the end to get it working so the actual language remains C++ but the front end
    gui is C#

     
  • Anonymous

    Anonymous - 2011-08-18

    Hi Morton, its been +- 2months now ;) have you managed to get your marks...
    some of us are having the same difficulty as you were having when you
    started.... i would like to create the same thing infact..... i am not sure
    how to create a C# wrapper so that my user interface can be in C# this iv been
    battling for a number of months please email me if you can... otherwise
    looking forward to hearing from you.

    Kind regards
    Lauren

     
  • Chris Morton

    Chris Morton - 2011-08-18

    Hi Lauren I have received my marks and will upload the application blank as in
    you will have to add to the diction files and libraries or with the help of
    others, either way it works in visual studio 2010 and others, I will upload
    the files tomorrow thank you for your interest

     
  • Anonymous

    Anonymous - 2011-08-19

    Hi Chris

    Thank you so much. really appreciate it... been working on a project myself,
    and i have to use pocketsphinx in order to create a C# wrapper so that the
    speech recognition and funtion in my C# application... iv been struggling for
    months now with pocketsphinx, i guess because i am still as noob as can be
    with programming :) never the less i try hard and i really need some help...
    so i shall be waiting and hope that somehow your help will guide me out of
    this land of the lost im walking around on :) thanks a mill....

     
  • Chris Morton

    Chris Morton - 2011-08-20

    Hi Lauren sorry sods law I got called into work today :O eitherway I will
    upload the files tomorrow afternoon as I finish work at 12 I will guide you as
    best I can with the application in short it utilises a wpf form as the front
    end design which is then linked to the C# wrapper and from that linked to the
    cmusphinx + pocketsphinx C++ libraries :O nightmare i know either way I will
    provide as much help and links to source as I can if you wish to continue the
    development of the application I would suggest checking out voxforge and a
    method of integrating the acoustic models etc into the program for improved
    accuracy.

     
  • Anonymous

    Anonymous - 2011-08-22

    hi Chris, my word that does sound a bit complex but i really would like to
    carry on with this development of the application however need help and advise
    badly!... have a few months in order to complete the project and time just
    seems to be running out :O scary!!! thank you so much please may you email me
    on lbl.bowles@gmail.com .... i cant thank you enough really!!!

    let me know when you upload everything looking forward to hearing from you.

    Lauren

     

Log in to post a comment.