Added contructor for WordTextParser