-
Notifications
You must be signed in to change notification settings - Fork 50
aspell installation for MacOS #498
Comments
What error are you getting after you install the pt_PT and pt_BR packages? In theory aspell, myspell, and hunspell should all work with |
Yeah, I probably should have posted the actual error 😁 Here's what I'm seeing:
My output of
|
In a terminal, can you try:
That is roughly what we're doing in python to get access to the dict. I agree that what we see with |
Here's what I have for that:
|
Hi @paulkernfeld , @halfak and @accraze I installed
My aspell dict dump returns the same list as the one given by @paulkernfeld (containing If I install the last However, when installing the I cannot find any documentation about the @halfak , @accraze , is there a reason why we don't use a more recent version of |
Interesting! We could just bump the version of pyenchant. It's only for incidental reasons that we haven't done that already. |
While running the sample MacOS installation script for the aspell dictionaries, I hit this:
This looks related to this bug, which was apparently fixed in aspell 0.51.1-5. However, I can't verify that that works, because aspell for language
pt
is only available in versions 0.50-1 and 0.50-2. I think this is becausept
hasn't been updated since 2003, and seems to have been replaced by separatept_PT
andpt_BR
dictionaries.I was able to install Portuguese that way, but it doesn't seem like
revscoring
is picking it up. Looking atrevscoring/languages/portuguese.py
, it seems like it's trying to use dictionaries frommyspell
rather thanaspell
. I'm not too familiar with the spell-checking software ecosystem, so I think I could benefit from some advice on which way to go. Should I be trying to install Portuguese for aspell, or should I try to use myspell or hunspell? And where should I get the dictionaries from? I did track down the myspell-pt-pt package for xenial... should I maybe just install the dictionary files directly from the Ubuntu package? That seems a little funky so I wanted to stop and ask for advice in case I'm making the problem overly complicated 😂The text was updated successfully, but these errors were encountered: