ltp模型训练札记

训练命名实体模型:

./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

 

 

 

转载于:https://my.oschina.net/xxyuan/blog/1512043

你可能感兴趣的:(人工智能,json)