updates documentation for the text module
fix docs warnings
Merge pull request #46 from lluisgomez/master

updates documentation for the text module