1

Is there a way to force php's enchant module to use a particular spell checking engine?

I have libs for aspell, myspell, hunspell, etc. installed. When requesting a dict, it seems I can only specify a language tag like 'en_US', etc without any real control over which underlying implementation to use while checking. Is there a way I can force enchant to prioritize using hunspell (or any other preferred/supported engine) when spell-checking.

techfoobar
  • 65,616
  • 14
  • 114
  • 135

1 Answers1

3

There should be a enchant.ordering file. It is used to tell enchant which spell checker in which sequence to use for a language.
I am using it on ubuntu, the path of the file is /usr/local/share/enchant/enchant.ordering
I don't know for windows.

Robert
  • 5,278
  • 43
  • 65
  • 115
kostas
  • 78
  • 1
  • 9