[issue #170] [WIP] finished the back end of suggest synonym and adds some errors