Typizer

A tiny but useful program by

Bruce Hayes

UCLA


Download here


Description

Suppose you have a long list of things (for example, words), and want a list of all the different things there are in it, and how many of each there are.  Example:  the list is

Abe
Ben
Chip
Abe
Ben
Abe

and you want to know

Abe:    3
Ben:    2
Chip:  1

The Typizer can do this for you.  In ordinary terminology, one says that the list above contains six tokens and three types.  The Typizer reduces the six tokens to the three distinct types.

On a different setting, the Typizer can interpret the tokens as being individual  symbols.  Applied to this same input file, the program will produce:

A:  3
b:   3
B:  2
C:  1
e:   5
h:   1
i:    1
n:   2
p :  1


Instructions for Use

Download the program  (sorry, Windows only) and install it following the instructions below.  In the same folder where you install it, make a file named temp.txt, and put the content of your list in this file.

Run the Typizer.  You can either typize the lines of your input file, or the individual symbols, by selecting these options from the interface:

You can cause the Typizer to ignore the difference between upper and lower case by unchecking the Case sensitive  box.

The Typizer will write its output to a file (again in its own folder) call TypesInTemp.txt.  If you have Excel and are lucky, you can even open TypesInTemp.txt with Excel, by clicking the Examine results in Excel button.  Otherwise, use your own software (word processing or spreadsheet) to open TypesInTemp.txt.

A recently added option lets you typize on words.  For instance, the single line Alice baked 20 cookies for Alice typizes as 2 Alice's and one each of baked, 20, cookies, and for.  A word is defined as a contiguous string of (English) letters or digits; improvements solicited.


Installation Instructions

1. Make an empty folder.

2. Click here to download the file Typizer.zip.  Put it in the empty folder you just created.

3. Open the folder.

4. Use unzipping software (my favorite is FreeZip) to unzip Typizer.zip.

5. Look amongst the bunch of files just created for a file called setup.exe.  Click on it.  This will start the Windows setup routine.  Click as needed, and you will obtain an installed copy of Typizer.exe.


Comments and feedback can be directed to my email address.

You can also typize in Excel; unfortunately, this method always removes the distinction between upper and lower case.

The guy on the interface is Samuel Johnson, who typized with a quill pen.


Back to Bruce Hayes's Home Page