I'm trying to merge words that have the same base. Example:
- accident
- accidental
- accidentally
- accidents
or
- abandon
- abandoned
- abandoning
At first I used the
Word.Application().SynonymInfo[myWord, Word.WdLanguageID.wdEnglishUS];
to get synonyms of a word from word.dll
. But I realized that I don't wanna merge only synonyms but words with the same base.
Is there any function I could use from word.dll
or any dll
that would return if 2 words have the same base?