Wanted: word list creator

  • Thread starter Thread starter David Snowdon
  • Start date Start date
D

David Snowdon

Does anyone know of a program that will take a text file
and create a list (preferably sorted) of unique words found
in the file?

Thanks,
David
 
It's not specifically designed for this purpose but Notetab Lite (
www.notetab.com) has all sorts of ways of manipulating text through it's
scripting capabilities. I have seen a script that does this very thing, but
it wouldn't take more than 5 - 10 minutes to put one together yourself.

M
 
Hi,

David said:
Does anyone know of a program that will take a text file
and create a list (preferably sorted) of unique words found
in the file?

I'm not aware of a program that does that (although I'm sure that there
is one) but doing that on a UNIX shell isn't really that hard. In
addition, you have loads of options in the regular expressions of 'grep'.

So if you're working in Linux already.. there's no problem. In Windows,
you can always install Cygwin from www.cygwin.com.

Then, the programs you need are

(1) (e)grep
(2) sort
(3) uniq
(4) sort (this time by number)

All the best,
Sebastian
 
It's not specifically designed for this purpose but Notetab Lite (
www.notetab.com) has all sorts of ways of manipulating text through
it's scripting capabilities. I have seen a script that does this very
thing, but it wouldn't take more than 5 - 10 minutes to put one
together yourself.

M

If Notetab Lite shares the same Text Statistics tool that Pro version does;
then you won't need to write a clip. Run the Tools/Text Statistics/More
menu item to get a list of words used in the text. Right click that window
and save just the word list or the whole report.
 
I downloaded the free Lite version a found that it did exactly what I
wanted. It took a while to figure out, but I found the solution by
loading the "Sample Code" library and going to the "Keyboard Macros"
section.
 
David Snowdon said:
I downloaded the free Lite version a found that it did exactly what I
wanted. It took a while to figure out, but I found the solution by
loading the "Sample Code" library and going to the "Keyboard Macros"
section.

David: I'm not sure where the keyboard macros came in, but you can do it
quickly with Tools > Text Statistics > More.

===

Frank Bohan
¶ A rose by any other name would spell something else.
 
Hi Frank, you're absolutely right! I didn't even to think at looking
under the Tools section.

Thanks!

David
 
Back
Top