define class word_segmentor; add backward memory dict loaded from forward-dict file