Menu

PocketSphinx workable on Xamarin.iOS

Help
Toine db
2019-02-14
2019-02-20
  • Toine db

    Toine db - 2019-02-14

    I was able to get PocketSphinx workable on Android and Windows and now I'm looking into iOS with Xamarin.
    I Can't find anyone who did that already, or created a library I can bind as I did with the Android AAR that worked like a charm.

    Does anyone know about usable libraries for Xamarin iOS?, or example projects for Xamarin.iOS and pocketshinx?

     
    • Nickolay V. Shmyrev

      There is no ready to use library unfortunately, please check previous discussions on how to build wrapper for C#. On IOS it will be probably a bit more complicated:

      https://sourceforge.net/p/cmusphinx/discussion/search/?q=xamarin

       
      • Toine db

        Toine db - 2019-02-15

        Thanks for the reply Nickolay,

        I suspected that there wouldn't be a ready to use library.
        I was hoping to find iOS native libraries (like an *.a library) that I could use to create a Xamarin binding.

        Indeed there are anough discussions about Xamarin, but they are about Android unfortunately.

        So any tips towards any native (preferably an *.a fat library) would be very much appreciated.

        PS: when I find any I will reply with a solution, for others

         
        • Nickolay V. Shmyrev

          You can build libraries by including sources in xcode or with a simple script like

          https://github.com/cmusphinx/pocketsphinx-ios-demo

          You can also check TLSphinx

           
          • Toine db

            Toine db - 2019-02-15

            Thanks.

            Wouw, I tried some things but still a lot of work and totally new enviroment(s) for me.

            I can't even get the turtorial up and running :-(
            https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/walkthrough?tabs=windows#create-a-xamarinios-binding-project
            while I have an turtorial result next to me...:
            https://github.com/xamarin/ios-samples/tree/master/InfColorPicker

            If anyone can help me get a basic PocketSphinx demo opperational (like the Android demo) in Xamarin.Ios I'm willing to pay for it or make a noteworthy donation somewhere. Because it looks like this is going to take me a long while before getting somewhere.

            So does anyone have time to get the PocketSphinx demo workable on Xamarin.iOS ?
            (I only need the PocketSphinx basics with NBEst)

            Would be amazing if someone can help me.

            Regards,
            Toine

             
          • Toine db

            Toine db - 2019-02-20

            Hi Nickolay,

            Could you create a new repository in your https://github.com/cmusphinx so I can create a public PocketSphinx demo for Xamarin.iOS ?

            A name could be "pocketsphinx-xamarin-ios-demo".
            My github name is Toine-db (from the pocketsphinx-wp-demo )

            Kind Regards,
            Toine

             

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.