Wfreq is a graphical user interface text analysis tool. It displays word frequencies from a text file selected through a Dialog Box.

USAGE:

Create a text file containing:

require 'wfreq'
Wfreq.run

save the text file as "wfreq.rbw" or "wfreq.rb" on your desktop if you are using Microsoft Windows as an Operating System. If Ruby is in your PATH, clicking on this Ruby file will start the Widget.

The Gui

This utility app opens a window with a large text frame and a menu on the menubar. Select a file name from the OpenFile Dialog box. Once selected, the frequencies are displayed in the text window sorted in a descending area, each word followed by its frequency.

If you want to save the result appearing in the text window, choose save from the file menu and enter the desired filename. It is possible to edit the text area, so that you may delete certain lines which contains irrelevant words such as "the, of, is" or any lines below the first highest frequency words, before saving the result into a file.

To clear the Text Area select Close or New from the File Menu