Improvements on text-analyzer.

last minute improvements. 
- text cleaning is improved