Is it possible to have an affix file associated with the personal dictionary? #90
-
Hello, I would like to know it it's possible to have an affix document associated with the personal dictionary? I tend to think not because... When I read
... I kind of understand there can be only one affix document and that the personal dictionary can only contain a list of words. But I am not sure if my understanding is correct, because the example I see in the third link is not quite clear to me:
I don't understand what this sentence means and how you can define stuff like I am asking because... I use Should I define all the versions of a word I need or is there actually a way to configure things like singular/plural in a personal dictionary? 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey! No, not possible. That being said, personal dictionaries work by modelling words: https://github.com/wooorm/nspell#personal-dictionary-documents. What that means is that, assuming So that practically means you need to find an word in your French dictionary that has an optional |
Beta Was this translation helpful? Give feedback.
Hey!
No, not possible.
.dic
and.aff
files are tightly integrated with each other. If you want a real.aff
file, you perhaps need a fork of your french dictionary.That being said, personal dictionaries work by modelling words: https://github.com/wooorm/nspell#personal-dictionary-documents.
So you model something after a whole entry.
What that means is that, assuming
Simon
is in the dictionary you are using and has a bunch of rules attached to it, you can addTitus/Simon
to modelTitus
(not in dic) with the same rules thatSimon
(in dic) gets.So that practically means you need to find an word in your French dictionary that has an optional
s
suffix, and use that as the model!