Application of graph rewriting to natural language processing. (2018)