Skip to content
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

Phone inventory always the default one even after specifying model eng2102 and lang eng #77

Open
BeauGeogeo opened this issue Jul 4, 2023 · 0 comments

Comments

@BeauGeogeo
Copy link

Good afternoon,

I have downloaded the eng2102 model and when I run the following command
python -m allosaurus.run --lang eng --model eng2102 -i 'my_audio.wav' allosaurus outputs the results with the default phones inventory, i.e all the IPA symbols and not those of the english inventory only . For example, I get "d͡ʒ" which is in the IPA inventory but not in the english one.

Originally, I had the problem using the Recognizer and looking at app.py I realised that some options were by default using 'ipa' and that we could not change them if I'm not wrong. Same in factory.py in the read_lm function. And in a comment it is said 'only phone_ipa model is supported for allosaurus now'.

So is it the normal behavior for the moment, or does the problem comes from some default arguments or am I missing something ?

Thank you very much !

@BeauGeogeo BeauGeogeo changed the title Phone inventory alwaysthe default one even after specifying model eng2102 and lang eng Phone inventory always the default one even after specifying model eng2102 and lang eng Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant