In Hunspell, I have a .dic file that contains all correct words, for example:
and
That correct word is suggested if the user types something like this:
adn
Let’s assume there is a language that allows the use of “d” instead of “n” and “n” instead of “d”. In such a case, I could simply add two words in the .dic file, for example:
and
adn
But is there any other way to achieve this by keeping only a single word “and” in the .dic file and modifying the .aff file?
I need “and” and “adn” both to be considered as correct words without adding them to .dic file. There should be only 1 word in dic and a rule in affix file to achieve this. I checked REP and
Is this possible in hunspell?