Add text frequency analysis scoring

Resolves #3