Text this: Application of graph rewriting to natural language processing /