-
Notifications
You must be signed in to change notification settings - Fork 0
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
Spanish language support #1
Comments
Hi, this project is only a library. Soon, we will write documentation for these applications and make GUI stable. Unfortunately, only french language is supported right now. When the GUI application will be stable, we will think about extend the library to other languages. It seems not so complicated to do regarding our architecture. |
If you want to try in your language though, when you install Montreal Forced Aligner just follow the instructions and take Spanish acoustic and pronunciation models, instead of french ones as indicated on this repo, this should work out of the box. |
Hi @MiClobiMC ! Yesterday, we added language support to the library. Sadly, the only pre-made dictionaries we could find were in English and in German. However, it exists a Spanish pretrained model for MFA. The only thing lacking is the pronunciation dictionary, decomposing each word of the language to phonemes. We wrote a guide to add an unsupported language. We have no real clue of how long, how tedious and how difficult it is to create such dictionary. Hopefully, the task is pretty easy. You should definitely ask Michael McAuliffe about this. I'm sure that he will guide you in such task. Contact him at [email protected]. If you want to add support for Spanish language, please keep us in touch. |
Hello, I just saw the tutorial, the installation went very well but it only works in English since I tested in Spanish and since there is no dictionary in Spanish it gives an error |
You should then contact Michael McAuliffe and ask him for Spanish dictionary creation guideline. |
Does the IPA dictionary work? https://raw.githubusercontent.com/kylebgorman/wikipron/master/data/scrape/tsv/spa_latn_la_phonemic_filtered.tsv |
I have spoken with Michael but he tells me that I have to generate the dictionary but the problem is that I have windows and I cannot do it |
Can you tell us more about what Michael actually said about generating the dictionary ? WorkaroundHere is the error you likely get when trying to give the IPA spanish dict to the GlobalPhone MFA spanish model:
You see that the phonemes symbols of the dictionary ( Four phonemes WarningThe IPA dictionary you find looks great. Please give us the process that Michael told you, so we can think about this (we will probably change our architecture if there is a way to turn it more dynamic). |
We will likely change the library and use dynamic g2p generated dictionaries instead of static dictionaries. Waiting for that modification, you should use the workaround I specified in my previous message. It should be simple and fast to do. Tell us if you have any question or if you encounter difficulties. |
I did the above to replace phonemes but I don't have the consonants and vowels in Spanish |
You have to create this small dict.
Here is an example |
Did you use the same dictionary ? |
Ok you drove the correct process. However, you did some mistakes: you can see in the list of the model phonemes in my previous post that, for example, phoneme It looks like you inserted as well other undefined phonemes like Make sure that |
The program doesn't find HOLA in the dictionary. Are you sure you correctly changed the Since your initial problem is solved, we will close this issue. If you got further issues related to the usage of the CLI application, I suggest you to look for its reference in the restrictions/workaround section of the CLI dedicated github page. Don't hesitate to give us a feedback. |
ConclusionThe problem of @MiClobiMC was that the words in his dictionary were not in upper case, which is mandatory. Spanish language have been added to the SM-Dictionaries repository on this commit. |
Is it possible to do a tutorial how to install? Does it work in Spanish?
The text was updated successfully, but these errors were encountered: