Po-Mem

Po-Mem is a simple, quick Perl script that I wrote for myself to aid in the memorization of text, such as poetry. Once the text input file is loaded, you type the text from memory into the terminal. When a word is typed correctly (or close enough), the word appears on the screen. If the talk function is enabled, once a line is typed, the Mac "say" utility, a speech synthesizer, can then read the line.

To run it from the terminal, you type:

perl pomem_CMB_1_2.pl -f inputFile.txt -talk

where inputFile.txt is the name of the input flat text file. The -talk flag is optional. If it's present and program is running in Mac, the script has a text-to-speech functionality.

Here are some input files to try it on, though your own can easily be created.