Skip to content

Is it possible to have an affix file associated with the personal dictionary? #90

Answered by wooorm
BlueCutOfficial asked this question in Q&A
Discussion options

You must be logged in to vote

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 add Titus/Simon to model Titus (not in dic) with the same rules that Simon (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!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BlueCutOfficial
Comment options

Answer selected by BlueCutOfficial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants