Final version of TextParsing