From c8c3973fb8c5569e88026e2aea1200d618c63250 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Mon, 27 Apr 2020 15:41:43 +0800 Subject: [PATCH] fix readme --- python/examples/senta/README.md | 2 +- python/examples/senta/README_CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/examples/senta/README.md b/python/examples/senta/README.md index 66dbc073..307f4829 100644 --- a/python/examples/senta/README.md +++ b/python/examples/senta/README.md @@ -8,7 +8,7 @@ sh get_data.sh ``` python senta_web_service.py senta_bilstm_model/ workdir 9292 ``` -In the Chinese sentiment classification task, the Chinese word segmentation needs to be done through [LAC task] (../lac). Set model path by ```lac_model_path``` and dictionary path by ```lac_dict_path```. Please refer to [LAC task](../lac) documents to get these files. +In the Chinese sentiment classification task, the Chinese word segmentation needs to be done through [LAC task] (../lac). Set model path by ```lac_model_path``` and dictionary path by ```lac_dict_path```. In this demo, the LAC task is placed in the preprocessing part of the HTTP prediction service of the sentiment classification task. The LAC prediction service is deployed on the CPU, and the sentiment classification task is deployed on the GPU, which can be changed according to the actual situation. ## Client prediction ``` diff --git a/python/examples/senta/README_CN.md b/python/examples/senta/README_CN.md index 747548d4..cd7cd856 100644 --- a/python/examples/senta/README_CN.md +++ b/python/examples/senta/README_CN.md @@ -8,7 +8,7 @@ sh get_data.sh ``` python senta_web_service.py senta_bilstm_model/ workdir 9292 ``` -中文情感分类任务中需要先通过[LAC任务](../lac)进行中文分词,在脚本中通过```lac_model_path```参数配置LAC任务的模型文件路径,```lac_dict_path```参数配置LAC任务词典路径。相关文件请参考[LAC任务](../lac)文档获取。 +中文情感分类任务中需要先通过[LAC任务](../lac)进行中文分词,在脚本中通过```lac_model_path```参数配置LAC任务的模型文件路径,```lac_dict_path```参数配置LAC任务词典路径。 示例中将LAC任务放在情感分类任务的HTTP预测服务的预处理部分,LAC预测服务部署在CPU上,情感分类任务部署在GPU上,可以根据实际情况进行更改。 ## 客户端预测 -- GitLab