Quote:
Otherwise, SpellChecker might think words are mis-spelled when they are just new to the system.
only if you have a requirement to "learn" from your users, adding as a valid term every word people do use.
You can also build an index from a dictionary beforehand and consider that the only reliable reference for spell cheking.
Even if you want to learn from your users, you might want some kind of controls on that, like inserting only terms used by at least 2-3 users, and I wonder if you really want to perform the dictionary update "in transaction" with the insertion of new text, that's unlikely to be needed - you could have a nightly job for this, or even weekly seems reasonable.