ksaveljev/slct-hs — pull request #2 by dmit (2014-09-13 20:31:55+00:00)
Title: Count the number of occurences of each word's hash

Input taken from STDIN for now, can use a command-line argument to read a file (or multiple files) later.

The word occurrence statistics will be needed to decide which words are frequent enough to use and which to discard. The hashing function is currently a simple Shift-Add-Xor, same as in the original SLCT.