This Leprechaun_x-leton_r15fixfix package shows the basics of n-gram ripping.

It includes both Linux and Windows executables.

In Windows, first you can go to prompt by running the shortcut 'Leprechaun 1280x800 prompt'.

1] In order to rip your own texts (files with .txt extension) simply put all the files (and folders) you need to rip down to n-grams into _TXT-TREE folder and run XLETTING.BAT batch file for this folder.
The resultant file _TXT-TREE.x-leton holds all the 1-grams, 2-grams, 3-grams, 4-grams, 5-grams, 6-grams, 7-grams, 8-grams, 9-grams, 10-grams in descending sorted order of incoming texts.

2] In order to convert your (nested folders allowed) .HTM and .HTML files to .TXT just copy all the files into _HTM[L]_or-and_TXT_files_to_be_processed folder and run HTM[L]2TXT.BAT batch file.
The resultant Dummy_Check.lst file can be used for ripping all the .TXT files or XLETTING.BAT "_HTM[L]_or-and_TXT_files_to_be_processed" directly.

Enjoy!
Kaze,
2011-Dec-15