训练命名实体模型:
./otner learn --model dish_ner --reference sample/ner/dish-train.ner --development sample/ner/dish-holdout.ner
命名实体分析语句:
./ltp_test --last-stage ner --format json --input /shareDisk/says.txt --segmentor-model /shareDisk/model/ltp_data_v3.3.1/cws.model --segmentor-lexicon /shareDisk/model/ltp_data_v3.3.1/custom_dict/custom_dict --postagger-model /shareDisk/model/ltp_data_v3.3.1/pos.model --ner-model /shareDisk/model/ltp_data_v3.3.1/ner.model