fix parse bugs, print semantic replacement of sentence