修复nullpointerexception,对于不含同义词，地址词的进行ngram处理

Signed-off-by: mingleis <990292604@qq.com>