[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Carl's Spell Frame



Reply to note from Fred Weiner  Mon, 16 May 2011
14:40:35 -0700

Fred:

> Can anyone help me understand how to use the Spell frame in U2?

This frame deploys the native SPELL command in "batch" mode, whereby all
words flagged as questionable by the spell-checker are listed in a file.
The frame has two usages:

1) Issue SPELL against a text file, and it lists all the
questionable words in SPELL.TMP, which is displayed in the adjacent
window.

2) Issue SPELL with the cursor on any word in listed in
SPELL.TMP, with the original file still in the adjacent window, and it
constructs a Change Verify-Case Absolute-Whole Word Only (CVA/W) command
in the form "CVA /questionable_word/questionable_word/". You edit, on
the CMline, the second instance of questionable_word in the CVA command;
then manually launch the CVA command to fix any occurrences of
questionable_word that you want to fix. For example, if the questionable
word is "perrk", frame SPELL will construct the command

CVA/W /perrk/perrk/

You edit the second part of the command so that it reads:

CVA/W /perrk/perk/

then execute the command to change any occurrences of the _whole word_
(switch /W) "perrk" to "perk".

This may sound laborious, but it's actually a fast way to spell-check a
file with a lot of questionable words that aren't errors. You run your
eye down the list, home in on the ones that are actual mistakes, and
ignore the rest.

I hope this helps.

--
Carl Distefano
cld@xxxxxxxx