Repository navigation
|
Hi, OUTPUT of the corrections Instead of "O te que aa dana." the output for the first text should be "O rato roeu a rolha da garrafa.". Nevertheless, the English text is corrected. Thanks for any clue of what am I doing wrong, |
Replies: 3 comments 2 replies
|
Hi, I think I understand the issue. You have passed the language specific spacy model (in this case Portuguese) but for the spell check you are still using the default model (english bert-base-cased). You can try to search for a Portuguese model from HuggingFace Models and pass it ex. https://huggingface.co/neuralmind/bert-base-portuguese-cased. Please see an examples for Japanese contextualSpellCheck/examples/ja_example.py Lines 4 to 12 in 5b65bad I will still verify this in a day or two. If the problem is not resolved then we will have to check for possible solutions! |
|
Any updates here? I need it for Norwegian, if that's any help :) |
|
Trying to do spellchecking in Spanish and its not working neither :( Any tip about this? |
Hi, I think I understand the issue. You have passed the language specific spacy model (in this case Portuguese) but for the spell check you are still using the default model (english bert-base-cased). You can try to search for a Portuguese model from HuggingFace Models and pass it ex. https://huggingface.co/neuralmind/bert-base-portuguese-cased.
Please see an examples for Japanese
contextualSpellCheck/examples/ja_example.py
Lines 4 to 12 in 5b65bad
I will sti…