Text this: Representing semantics of text by acquiring its canonical form