Parsing of written text