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

different phones.txt and words.txt #1506

Closed
YangangCao opened this issue Jan 23, 2024 · 2 comments
Closed

different phones.txt and words.txt #1506

YangangCao opened this issue Jan 23, 2024 · 2 comments

Comments

@YangangCao
Copy link

YangangCao commented Jan 23, 2024

Hi dear author,

I have trained my own model with this doc https://github.com/alphacep/vosk-api/tree/master/training, but it's totally different from vosk-model-small-en-us-0.15 and vosk-model-en-us-0.22-lgraph.

1.words.txt and phones.txt in vosk-model-en-us-0.22-lgraph are different from my own model, and vosk-model-small-en-us-0.15 don't include these 2 files. In my practice, I delete the Gr.fst in vosk-model-small-en-us-0.15 and copy words.txt from vosk-model-en-us-0.22-lgraph to vosk-model-small-en-us-0.15, I got bad result in ASR with grammar, so I think vosk-model-en-us-0.22-lgraph and vosk-model-small-en-us-0.15 use different words.txt (because I delete Gr.fst in vosk-model-en-us-0.22-lgraph and use words.txt also get correct result), right?

2.no tree in vosk-model-small-en-us-0.15. actually, I need tree and L.fst to calculate goodness of pronunciation(gop), and I also need ASR with grammar

I dont know the resaons, can you please explain how to get tree, phones.txt words.txt and L.fst in vosk-model-small-en-us-0.15?

Thanks very much !!!

@YangangCao YangangCao changed the title How to convert my own trained model to pretained model you give? different phones.txt and words.txt Jan 25, 2024
@nshmyrev
Copy link
Collaborator

nshmyrev commented Feb 5, 2024

You can contact us by email to get an update package for vosk-model-small-en-us-0.15. Update package includes tree and other required files.

@nshmyrev
Copy link
Collaborator

Same as #1687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants