Page 1 of 1

Import a List of Specialized Words into Spelling Dictionary?

Posted: 2012-07-25 14:08:37
by samuelmuindi
Hi,

I have a long list of specialized and foreign words in my MS Word Dictionary. Quite lazily, I have been opening my Nisus documents in Word just to use this dictionary for my spell checks. Is there a quick and easy way to get these words en masse into my Nisus Dictionary? I really would like to to go totally MS Word free.

Thanks

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-07-29 01:30:43
by Anne Cuneo
What I did: I took the list of specialized words, put it in a blank Nisus document, and then when the words came up as unknown, I asked the dictionary to lear them by clicking on the «LEARN» button. There might be a quicker way, but that one works for me…

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-07-29 04:06:48
by samuelmuindi
Thanks Ann, I've done a bit of that - having the dictionary learn individual words - but unfortunately my specialized list numbers in the thousands. So I'm looking for a way to do this in one big swoop.

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-07-30 15:22:36
by martin
I'm attaching a macro that should do the trick:
1. Open your document with the misspelled words.
2. Run the attached macro.
3. The macro will scan the open document and gather all misspelled words.
4. The macro will ask you if you'd really like to learn all the collected words. Click "Learn All" to proceed.

That should do it. I should say that this learning process is done through whatever spellchecker you've told Nisus Writer to use. By default that's the OSX/system spellchecker, so any words you learn should now be known in other applications that use the same spellchecker (eg: TextEdit, Mail, etc).

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-07-30 15:36:21
by samuelmuindi
You guys are tremendous. Can't thank you enough.

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-07-31 05:12:11
by Anne Cuneo
WoW! Martin! Terrific! This is my method, but wholesale! I keep the macro as well. Thanks!

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-07-31 14:42:07
by martin
I'm glad you two found the macro useful- we're happy to help!

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-08-01 11:42:14
by lellius
Great macro, Martin, and thanks.
Only one thing.
Could you please modify it to apply it to a selected text ONLY and not to the whole file?
Thanks
gb

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-08-10 16:37:26
by martin
lellius wrote:Could you please modify it to apply it to a selected text ONLY and not to the whole file?
Sure thing- I'm attaching a new macro here that handles both cases. This new macro will first search just the selected text for misspelled words. If it does not find any misspelled words in the selection, it asks you if you'd like to scan the whole document instead.

Re: Import a List of Specialized Words into Spelling Diction

Posted: 2012-08-10 23:33:17
by lellius
Great work, Martin
and thanks very much
also for the new NWP release.
gb