New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dragging Project Into Xcode #45
Comments
Hi Sean
What version of Xcode are you using? Could you attach an screenshot of
Xcode with the project structure and the error log?
Sorry I can't give you something to try but I'm away of my computer now.
On Thu, 17 May 2018 at 17:06, Sean Livingston ***@***.***> wrote:
Hello,
I'm trying to make use of your project. I dragged it into Xcode, but I am
not able to make use of the framework. "#import TLSphinx" also throws an
error, stating that there is no such module. I'm trying to install this
manually, not using Carthage or Cocoapods.
Any help would be appreciated. I've been trying to make use of
pocketsphinx for nearly two weeks now; I'm trying to avoid OpenEars at all
cost because it doesn't allow for some of the use cases I need.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#45>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADMALDedyKI2KipWwNV6A6W45zXwaD8Wks5tzZ_qgaJpZM4UDWvB>
.
--
Bruno Berisso
Mobile Development Manager
Tryolabs <https://tryolabs.com/>
@QueDijoQueDijo <https://twitter.com/QueDijoQueDijo> | GitHub
<https://github.com/BrunoBerisso> | t: (+598) 2716 8997 <+598%202716%208997>
<https://tryolabs.com/>
|
Xcode 9.0, using swift 4.0. I'll provide a screen shot once I get home.
Thanks for your help. I really appreciate it.
On Thu, May 17, 2018, 4:42 PM Bruno Berisso <notifications@github.com>
wrote:
… Hi Sean
What version of Xcode are you using? Could you attach an screenshot of
Xcode with the project structure and the error log?
Sorry I can't give you something to try but I'm away of my computer now.
On Thu, 17 May 2018 at 17:06, Sean Livingston ***@***.***>
wrote:
> Hello,
>
> I'm trying to make use of your project. I dragged it into Xcode, but I am
> not able to make use of the framework. "#import TLSphinx" also throws an
> error, stating that there is no such module. I'm trying to install this
> manually, not using Carthage or Cocoapods.
>
> Any help would be appreciated. I've been trying to make use of
> pocketsphinx for nearly two weeks now; I'm trying to avoid OpenEars at
all
> cost because it doesn't allow for some of the use cases I need.
>
> Thanks.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#45>, or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ADMALDedyKI2KipWwNV6A6W45zXwaD8Wks5tzZ_qgaJpZM4UDWvB
>
> .
>
--
Bruno Berisso
Mobile Development Manager
Tryolabs <https://tryolabs.com/>
@QueDijoQueDijo <https://twitter.com/QueDijoQueDijo> | GitHub
<https://github.com/BrunoBerisso> | t: (+598) 2716 8997
<+598%202716%208997>
<https://tryolabs.com/>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACVULWIqUETXz3zryoe_A8HitdL7qf8pks5tzeCZgaJpZM4UDWvB>
.
|
Thanks. I will give it a try. I found a 3.0 version I do believe of the
project, so it shouldn't give me any errors when I attempt to do so. I'll
let you know if it does.
Appreciate the help.
Whenever you update the code base, let me know. I'll be on the look out
for it.
Thanks again.
Sean
…On Fri, May 18, 2018 at 9:54 AM, Bruno Berisso ***@***.***> wrote:
Hey,
I just try the integration by dragging the project and you need to do one
more thing. Select your project and under the *General* settings go to *Linked
Frameworks and Libraries*, click the *+* icon and select *TLSphinx* from
the top of the list.
You should end with something like this:
[image: image]
<https://user-images.githubusercontent.com/3342380/40238318-bf9cbad6-5aaa-11e8-9198-ee0f2a9e857f.png>
Once you have that set, there are going to be many compilation errors
because this codebase is highly outdated :( Sorry about that.
Let me know if I can help you further. I'm going to work on bring some
order to the project as soon as I can.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACVULZ8YmcLm3LojCmY1xSDVotXXvg5Hks5tztKCgaJpZM4UDWvB>
.
|
<img width="285" alt="screen shot 2018-05-18 at 10 29 53 am" src="https://user-images.githubusercontent.com/2446381/40240430-8bf3040c-5a86-11e8-872e-0389f26f69f9.png">
I am able to build the app after importing the library like you suggested.
It also appears when I attempt to import it, so I can now successfully do
"import TLSphinx." That cause some header errors; but I think that's
probably linked to the following error when I try to Run my app:
*dyld: Library not loaded: @rpath/TLSphinx.framework/TLSphinx*
* Referenced from:
/var/containers/Bundle/Application/DD7B94BD-3E80-4A46-B0E7-EAC9F48AE7B5/CovertAlertAI.app/CovertAlertAI*
* Reason: image not found*
This only happens when I have not included the "import TLSphinx" somewhere
in my project. If I do include "import TLSphinx" somewhere in my project,
I get the following:
On Fri, May 18, 2018 at 10:08 AM, Sean Livingston <
sean.d.livingston@gmail.com> wrote:
… Thanks. I will give it a try. I found a 3.0 version I do believe of the
project, so it shouldn't give me any errors when I attempt to do so. I'll
let you know if it does.
Appreciate the help.
Whenever you update the code base, let me know. I'll be on the look out
for it.
Thanks again.
Sean
On Fri, May 18, 2018 at 9:54 AM, Bruno Berisso ***@***.***>
wrote:
> Hey,
>
> I just try the integration by dragging the project and you need to do one
> more thing. Select your project and under the *General* settings go to *Linked
> Frameworks and Libraries*, click the *+* icon and select *TLSphinx* from
> the top of the list.
>
> You should end with something like this:
> [image: image]
> <https://user-images.githubusercontent.com/3342380/40238318-bf9cbad6-5aaa-11e8-9198-ee0f2a9e857f.png>
>
> Once you have that set, there are going to be many compilation errors
> because this codebase is highly outdated :( Sorry about that.
>
> Let me know if I can help you further. I'm going to work on bring some
> order to the project as soon as I can.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#45 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACVULZ8YmcLm3LojCmY1xSDVotXXvg5Hks5tztKCgaJpZM4UDWvB>
> .
>
|
Yes, I think that's expected because you need to update some search paths for Sphinx core engine. Also, try to pull the latest changes from master because I just push some quick fixes. Are you running this on the simulator or on a real device? |
A real device.
Sorry for delayed response. I had to move away from voice for a bit and
work on other things. Getting ready to return to this now. If I need some
assistance, I'll let you know. Thanks for all the help you have provided
thus far.
…On Fri, May 18, 2018 at 11:16 AM, Bruno Berisso ***@***.***> wrote:
Yes, I think that's expected because you need to update some search paths
for Sphinx core engine. Also, try to pull the latest changes from master
because I just push some quick fixes.
Are you running this on the simulator or on a real device?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACVULREqk9pLvL2MJCFQcSPWK-IwXuLqks5tzuXngaJpZM4UDWvB>
.
|
I implemented the framework with your updated code. There are still lots
of syntax errors.
On Thu, May 31, 2018 at 9:09 AM, Sean Livingston <
sean.d.livingston@gmail.com> wrote:
… A real device.
Sorry for delayed response. I had to move away from voice for a bit and
work on other things. Getting ready to return to this now. If I need some
assistance, I'll let you know. Thanks for all the help you have provided
thus far.
On Fri, May 18, 2018 at 11:16 AM, Bruno Berisso ***@***.***>
wrote:
> Yes, I think that's expected because you need to update some search paths
> for Sphinx core engine. Also, try to pull the latest changes from master
> because I just push some quick fixes.
>
> Are you running this on the simulator or on a real device?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#45 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACVULREqk9pLvL2MJCFQcSPWK-IwXuLqks5tzuXngaJpZM4UDWvB>
> .
>
|
Hi,
I now have the framework implemented with zero errors now. I notice that
in your example the following:
let hmm = ... // Path to the acustic modellet lm = ... // Path to
the languaje modellet dict = ... // Path to the languaje dictionary
Do you have an example of how to get an acustic, and language model, along
with a language dictionary model? Is it similar to what is found in
OpenEars in terms of th language dictionary?
On Thu, May 31, 2018 at 11:18 AM, Sean Livingston <
sean.d.livingston@gmail.com> wrote:
… I implemented the framework with your updated code. There are still lots
of syntax errors.
On Thu, May 31, 2018 at 9:09 AM, Sean Livingston <
***@***.***> wrote:
> A real device.
>
> Sorry for delayed response. I had to move away from voice for a bit and
> work on other things. Getting ready to return to this now. If I need some
> assistance, I'll let you know. Thanks for all the help you have provided
> thus far.
>
>
>
> On Fri, May 18, 2018 at 11:16 AM, Bruno Berisso ***@***.***
> > wrote:
>
>> Yes, I think that's expected because you need to update some search
>> paths for Sphinx core engine. Also, try to pull the latest changes from
>> master because I just push some quick fixes.
>>
>> Are you running this on the simulator or on a real device?
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#45 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/ACVULREqk9pLvL2MJCFQcSPWK-IwXuLqks5tzuXngaJpZM4UDWvB>
>> .
>>
>
>
|
Those are the models used by the Sphinx engine. You could use the ones shipped with TLSphinx or build your own using the standard Sphinx tools.. For an example of how to load this check the basic test.. Keep in mind that the models shipped here has all the words in the dictionary and will have bad performance. |
Okay Thanks. I appreciate it. Going to check it out now.
…On Thu, May 31, 2018 at 3:09 PM, Bruno Berisso ***@***.***> wrote:
Those are the models used by the Sphinx engine. You could use the ones shipped
with TLSphinx
<https://github.com/tryolabs/TLSphinx/tree/master/Sphinx/share/pocketsphinx/model/en-us>
or build your own using the standard Sphinx tools.
<https://cmusphinx.github.io/wiki/tutoriallm/>.
For an example of how to load this check the basic test.
<https://github.com/tryolabs/TLSphinx/blob/master/TLSphinxTests/Basic.swift>.
Keep in mind that the models shipped here has all the words in the
dictionary and will have bad performance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACVULTet6RMhIkgpO0s2gunxyY6nusbJks5t4D_vgaJpZM4UDWvB>
.
|
How to use the shipped with TLSphinx model with my current project as i am not able to get the model from the path specified in it. please help me on this as i am very nearest to use this wrapper with proper implementation. |
Hi @BhavinGupta , Could you please open another issue so we can help you? Please add as much info as you can like screenshots or any error message. Thanks! |
@BhavinGupta did you saw the settings here? If that didn't work, try switching the target to TLSphinx, build that one, switch back to your project and build it again. Also, If you still have errors after that try copy those and paste it here. |
k now i have resolved with all the errors @BrunoBerisso |
This is the code i am running below:- import UIKit class ViewController: UIViewController {
} |
Some things to check:
|
When i am adding the sphinx folder which consist of share>phoneix>model> then i am getting lex error telling me that you have same file in the project so how to add the en-us file |
k i have also get the path from the model by adding it properly in the bundle as per your instruction please guide me @BrunoBerisso |
I tried this code but its not working please provide me the proper solution for decoding the code after trying this code below guard let modelPath = getModelPath() else {
I am not getting the uttering string @BrunoBerisso |
what happened you didnt reply to my above code in the comment how to proceed @BrunoBerisso ? Please let me know soon as i want to integrate this in my live project @BrunoBerisso |
My apologies sir for not being around. I have a ton going on right now
both professionally and personally. I have not been able to test out the
updates you have pushed to your framework. As soon as I can do so I will
let you know my feed back.
…On Tue, Jun 12, 2018 at 2:20 AM bhavin ***@***.***> wrote:
what happened you didnt reply to my above code in the comment how to
proceed @BrunoBerisso <https://github.com/BrunoBerisso> ?
how to get the utterance in startDecodingSpeech method once it is
initalized from viewDidLoad().
Please let me know soon as i want to integrate this in my live project
@BrunoBerisso <https://github.com/BrunoBerisso>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACVULRPa-dGUbi0qoay9JeqCooDU7Q2Cks5t7122gaJpZM4UDWvB>
.
|
Hello,
I'm trying to make use of your project. I dragged it into Xcode, but I am not able to make use of the framework. "#import TLSphinx" also throws an error, stating that there is no such module. I'm trying to install this manually, not using Carthage or Cocoapods.
Any help would be appreciated. I've been trying to make use of pocketsphinx for nearly two weeks now; I'm trying to avoid OpenEars at all cost because it doesn't allow for some of the use cases I need.
Thanks.
The text was updated successfully, but these errors were encountered: