diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\257\215\346\200\247\346\265\213\350\257\225.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\257\215\346\200\247\346\265\213\350\257\225.md" index 34cf1c5..16cf57a 100644 --- "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\257\215\346\200\247\346\265\213\350\257\225.md" +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\257\215\346\200\247\346\265\213\350\257\225.md" @@ -4,7 +4,7 @@ [TOC] -### 获取句子分词结果 +### 获取分词结果 **METHOD**: GET @@ -14,10 +14,10 @@ #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | -| sentence | | yes | 句子 | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | +| sentence | string | yes | 句子 | #### 请求body字段说明 @@ -125,20 +125,20 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/sentence/tokenize?projectId= #### 请求body字段说明 -| key | type | required | description | -| ------------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | -| sentence | | yes | 句子 | -| tokenizeWords | | yes | 分词列表 | +| key | type | required | description | +| ------------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | +| sentence | string | yes | 句子 | +| tokenizeWords | array | yes | 分词列表 | tokenizeWords值说明 -| key | type | description | -| -------- | ---- | ----------- | -| enPos | | | -| location | | 位置 | -| pos | | 词性 | -| word | | 词语 | +| key | type | description | +| -------- | ------ | ------------ | +| enPos | string | 词性英文缩写 | +| location | number | 位置 | +| pos | string | 词性 | +| word | string | 词语 | #### 请求示例