Someone recently asked on the User Forum how he could highlight all the hapax legomena in a text. What the heck is a hapax? It's a fancy Latin term for words which only appear one time in a given text. I guess we could call them "one-timers," but saying things in Latin always makes you sound smarter!
Anyway, to find words which only appear one time in a given text, all you need to do is use the COUNT command. You'll find this powerful command (and many others) in the Enter Command submenu of the Search menu. Select COUNT from the menu (or use the keyboard shortcut shift-command-U) to insert this command into the search entry box. Then simply replace the highlighted question mark within the command with the number "1." Your search argument should now look like this: [COUNT 1]. Click OK, and every word which appears only one time in the text you're searching will be found.
At this point, you could click the Details button to see a Graph of which portions of the search text have the greatest concentration of hapax, or to get an Analysis of all the words which only appear once. That's not what the user who posed the question wanted to do, but hey, it's so cool I thought I'd mention it! :-)
The user who posed this question wanted to be able to highlight all the hapax legomena with a highlight style. To do that, make sure the Highlight palette is visible. If it's not, you can open it by selecting Highlight Palette from the Window menu. With the palette open, all you need to do is hold down the shift key and click the Highlight style you want to use. The style you select will automatically be applied to all the hit words found by your search.
For those who prefer contextual menus to palettes, you also have the option of control- or right-clicking one of the hit words, going to the Highlight All Hits submenu and then choosing the style you want to use.
Highlighting all the hapax legomena in this way is a cool idea, because whenever you're studying a passage, you'll immediately be able to see which words are unique to that passage and used nowhere else. Identifying such words can help you to focus on a passage's unique emphases and find possible key words.
P.S.: Doh! Someone just pointed out to me that hapax legomena is Greek, not Latin! So while it's still true that saying things in Latin makes you sound smarter, it is also true that saying something is Latin when it's really Greek is sure to make you look stupid! :-)
# posted by David Lang @ 10:46 AM