[SOLVED] Aspell problem
Posted: Mon May 30, 2005 12:02 pm
Hi everyone,
I'm using the aspell command line utility with my new PHP project. I know PHP can have PSpell built into it, but the server I'm working on doesn't have that, so I'm stuck doing it command line.
Anyway, the problem I'm having is that aspell is, as far as I can tell, not using the correct dictionaries. I'm in Canada, so I spell "colour" differently than in the US. So, when I spell check "I like to colour", it tells me I spelled "colour" wrong.
I called `aspell dump dicts` and it says it's using the english, english (Canadian), english (Great Britain) and english (US) dictionaries. However, when I check the Canadian and British dictionairies, they contain that word.
Any ideas on how I can get aspell to start using Canadian and British spelling? Thanks.
[ EDIT: ] I've said it before and I'll say it again - why do I always find a solution to my problem within 2 minutes of me posting it here?
Anyway, the '-d' flag allows me to tell aspell which dictionary to use. So, I just call aspell -a -d en_CA, and everything works fine. However, I'd still like to know if I can setup Aspell so I don't have to call it using this flag.
I'm using the aspell command line utility with my new PHP project. I know PHP can have PSpell built into it, but the server I'm working on doesn't have that, so I'm stuck doing it command line.
Anyway, the problem I'm having is that aspell is, as far as I can tell, not using the correct dictionaries. I'm in Canada, so I spell "colour" differently than in the US. So, when I spell check "I like to colour", it tells me I spelled "colour" wrong.
I called `aspell dump dicts` and it says it's using the english, english (Canadian), english (Great Britain) and english (US) dictionaries. However, when I check the Canadian and British dictionairies, they contain that word.
Any ideas on how I can get aspell to start using Canadian and British spelling? Thanks.
[ EDIT: ] I've said it before and I'll say it again - why do I always find a solution to my problem within 2 minutes of me posting it here?