refactor SparsePhraseDictionaryFeature
refactor PhraseDictionaryFeature