Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyinting
jiaoyou_doc
Commits
f63297ce
Commit
f63297ce
authored
Sep 01, 2021
by
zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了意图搜索功能
parent
2baf437b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
394 additions
and
187 deletions
+394
-187
剧情编辑前后端接口文档.md
dramaeditor/剧情编辑前后端接口文档.md
+394
-187
No files found.
dramaeditor/剧情编辑前后端接口文档.md
View file @
f63297ce
...
@@ -1016,21 +1016,23 @@ localhost:48089/plotpoint/updateByStyle?workId=89&speakStyle=滕志梅(11111服
...
@@ -1016,21 +1016,23 @@ localhost:48089/plotpoint/updateByStyle?workId=89&speakStyle=滕志梅(11111服
## 2.9搜索意图
## 2.9搜索意图
1. 请求方式
1. 请求方式
Request Method:
POS
T
Request Method:
GE
T
Path: /plotpoint/intention
Path: /plotpoint/intention
2
2. 请求参数
2. 请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| 参数名 | 参数类型 | 描述 | 必须 |
| ------ | -------- | ---------- | ----------- |
| -------- | -------- | ---------- | ---- |
| sents | String | 意图搜索名 | Y请求体示例 |
| sents | String | 意图搜索名 | Y |
| pageSize | int | 页面数量 | Y |
| pageNum | int | 页码 | Y |
3. 请求体示例
3. 请求体示例
```
```
{
curl --location --request GET 'localhost:48089/plotpoint/intention2?sent=%E5%90%8C%E6%84%8F%E9%99%AA%E4%BC%B4%2B%E4%BD%A0%E5%A5%BD&pageSize=10&pageNum=36' \
"sents":"愿意陪伴,没兴趣陪伴你,看看我"
--header 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUyTXpBME5qWXlOVEFzSW1WNGNDSTZNVFl6TURVMU1qWTFNQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TVgwLlhvSm9CbHg2N2FidTBLR1dUZWxxNkRKMVp0d1FkSVBqQXI1ZDJYcHZTYzQ6czAwcGVyczNjcmV0' \
}
--data-raw ''
```
```
4.响应参数示例
4.响应参数示例
...
@@ -1039,184 +1041,389 @@ localhost:48089/plotpoint/updateByStyle?workId=89&speakStyle=滕志梅(11111服
...
@@ -1039,184 +1041,389 @@ localhost:48089/plotpoint/updateByStyle?workId=89&speakStyle=滕志梅(11111服
{
{
"code": 1,
"code": 1,
"msg": "成功",
"msg": "成功",
"data":
[
"data": {
{
"list":
[
"intentName": "同意看",
{
"branchs":
[
"intentName": "不同意看",
{
"branchs":
[
"branchName": "去看",
{
"examples": "去看看
\n
过去看",
"branchName": "不同意看",
"auxiliaryPriority": "10",
"examples": "不同意看
\n
不答应看",
"semanticTriples":
[
"auxiliaryPriority": "12",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0dob0whatb0vv",
{
"valueRange": "
[
项目词组去的动词
]
:
[
项目词组看动词
]
"
"semanticRelationName": "ruleb0notdob0whatb0vv",
}
"valueRange": "
[
项目词组同意动词
]
:
[
项目词组看动词
]
"
]
}
},
]
{
},
"branchName": "同意看",
{
"examples": "同意看
\n
答应看",
"branchName": "不想看",
"auxiliaryPriority": "10",
"examples": "不愿意看
\n
不想看",
"semanticTriples":
[
"auxiliaryPriority": "12",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0dob0whatb0vv",
{
"valueRange": "
[
项目词组同意动词
]
:
[
项目词组看动词
]
"
"semanticRelationName": "ruleb0notdob0whatb0vv",
}
"valueRange": "
[
项目词组同意意愿动词
]
:
[
项目词组看动词
]
"
]
}
},
]
{
},
"branchName": "想看",
{
"examples": "愿意看
\n
想看",
"branchName": "不去看",
"auxiliaryPriority": "10",
"examples": "不去看看
\n
不过去看",
"semanticTriples":
[
"auxiliaryPriority": "12",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0dob0whatb0vv",
{
"valueRange": "
[
项目词组同意意愿动词
]
:
[
项目词组看动词
]
"
"semanticRelationName": "ruleb0notdob0whatb0vv",
}
"valueRange": "
[
项目词组去的动词
]
:
[
项目词组看动词
]
"
]
}
},
]
{
},
"branchName": "我看",
{
"examples": "我看看
\n
我瞧瞧",
"branchName": "不看",
"auxiliaryPriority": "10",
"examples": "不看
\n
没看见",
"semanticTriples":
[
"auxiliaryPriority": "11",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0dob0whatb0nv",
{
"valueRange": "visitor:
[
项目词组看动词
]
"
"semanticRelationName": "ruleb0notdob0whatb0v",
}
"valueRange": "
[
项目词组看动词
]
"
]
}
},
]
{
},
"branchName": "看一下",
{
"examples": "看一下
\n
就看看",
"branchName": "我不看",
"auxiliaryPriority": "10",
"examples": "我不看看
\n
我没看见",
"semanticTriples":
[
"auxiliaryPriority": "13",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0dob0whatb0adv",
{
"valueRange": "一下:
[
项目词组看动词
]
+就:
[
项目词组看动词
]
+先:
[
项目词组看动词
]
"
"semanticRelationName": "ruleb0notdob0whatb0nv",
}
"valueRange": "visitor:
[
项目词组看动词
]
"
]
}
},
]
{
},
"branchName": "看他们",
{
"examples": "看他们
\n
看她",
"branchName": "看他们",
"auxiliaryPriority": "10",
"examples": "不看他们
\n
别看她",
"semanticTriples":
[
"auxiliaryPriority": "14",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0dob0whatb0vn",
{
"valueRange": "
[
项目词组看动词
]
:
[
项目词组第三人称词组
]
"
"semanticRelationName": "ruleb0dob0whatb0vn",
}
"valueRange": "
[
项目词组看动词
]
:
[
项目词组第三人称词组
]
"
]
}
},
]
{
},
"branchName": "看你",
{
"examples": "看你
\n
看看你",
"branchName": "看我",
"auxiliaryPriority": "10",
"examples": "没看我
\n
不看看我",
"semanticTriples":
[
"auxiliaryPriority": "14",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0dob0whatb0vn",
{
"valueRange": "
[
项目词组看动词
]
:bot"
"semanticRelationName": "ruleb0dob0whatb0vn",
}
"valueRange": "
[
项目词组看动词
]
:visitor"
]
}
},
]
{
},
"branchName": "看吧",
{
"examples": "看吧
\n
看看",
"branchName": "看你",
"auxiliaryPriority": "9",
"examples": "没看你
\n
不看看你",
"semanticTriples":
[
"auxiliaryPriority": "14",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0certainb0answer",
{
"valueRange": "
[
项目词组看动词
]
"
"semanticRelationName": "ruleb0dob0whatb0vn",
}
"valueRange": "
[
项目词组看动词
]
:bot"
]
}
},
]
{
},
"branchName": "看吧吗",
{
"examples": "看吗
\n
看看吗",
"branchName": "拒绝看",
"auxiliaryPriority": "9",
"examples": "拒绝看
\n
拒绝看见",
"semanticTriples":
[
"auxiliaryPriority": "10",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0askb0answer",
{
"valueRange": "
[
项目词组看动词
]
"
"semanticRelationName": "ruleb0dob0whatb0vv",
}
"valueRange": "
[
项目词组拒绝动词
]
:
[
项目词组看动词
]
"
]
}
},
]
{
},
"branchName": "看我",
{
"examples": "看我
\n
看看我",
"branchName": "拒绝看吗",
"auxiliaryPriority": "10",
"examples": "拒绝看吗
\n
拒绝看见吗",
"semanticTriples":
[
"auxiliaryPriority": "10",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0dob0whatb0vn",
{
"valueRange": "
[
项目词组看动词
]
:visitor"
"semanticRelationName": "ruleb0askb0verbb0verb",
}
"valueRange": "
[
项目词组拒绝动词
]
:
[
项目词组看动词
]
"
]
}
},
]
{
},
"branchName": "继续",
{
"examples": null,
"branchName": "讨厌看",
"auxiliaryPriority": "10",
"examples": "讨厌看
\n
讨厌看见",
"semanticTriples":
[
"auxiliaryPriority": "10",
{
"semanticTriples":
[
"semanticRelationName": "ruleb0certainb0answer",
{
"valueRange": "继续"
"semanticRelationName": "ruleb0dob0whatb0vv",
}
"valueRange": "
[
项目词组讨厌动词
]
:
[
项目词组看动词
]
"
]
}
}
]
],
},
"phrases":
[
{
{
"branchName": "可以不看吗",
"phraseName": "项目词组同意动词",
"examples": "不看吗",
"pos": null,
"auxiliaryPriority": "10",
"words": "希望+同意+期待+保证+答应+订交+许诺+允诺+容许+承诺+赞助+附和+认可+允许+接受+应承+批准+答允+赞成+许可+应允+和议+订定+制定+应许+愿望+协议+乐意+准许+认同+愿意+支持+赞同+愿",
"semanticTriples":
[
"highPerformance": false,
{
"wordSet": null,
"semanticRelationName": "ruleb0askb0nottodob0whatb0v",
"ableEdit": false
"valueRange": "
[
项目词组看动词
]
"
},
},
{
{
"phraseName": "项目词组同意意愿动词",
"semanticRelationName": "ruleb0candob0whatb0vadv",
"pos": null,
"valueRange": "不"
"words": "计划+要+想要+希望+打算+选+准备+选择+想+需要+乐意+应该+会+可以+愿意+考虑+愿",
}
"highPerformance": false,
]
"wordSet": null,
},
"ableEdit": false
{
},
"branchName": "看什么看",
{
"examples": "看什么看",
"phraseName": "项目词组看动词",
"auxiliaryPriority": "10",
"pos": null,
"semanticTriples":
[
"words": "瞄+搜查+瞅+观望+搜索+查看查看+看+查看+瞅一眼+望见+看到+找找+观察+搜搜+瞄瞄+观看+看见+望+搜+查+看看看+瞧+查查+看看+瞧瞧+瞅瞅+观察观察+查找+瞧见+侦查+观看观看+找",
{
"highPerformance": false,
"semanticRelationName": "ruleb0askb0verbb0verb",
"wordSet": null,
"valueRange": "
[
项目词组看动词
]
:
[
项目词组看动词
]
"
"ableEdit": false
},
},
{
{
"semanticRelationName": "ruleb0askb0canb0dob0whatb0mohu",
"phraseName": "项目词组第三人称词组",
"valueRange": "
[
项目词组看动词
]
:
[
项目词组什么疑问代词
]
"
"pos": null,
}
"words": "它们俩+它们+他们俩+它+他+她们+她+他俩+她俩+它俩+他们+她们俩",
]
"highPerformance": false,
},
"wordSet": null,
{
"ableEdit": false
"branchName": "继续",
},
"examples": null,
{
"auxiliaryPriority": "10",
"phraseName": "项目词组去的动词",
"semanticTriples":
[
"pos": null,
{
"words": "光临+移动+逃+到达+参与+逃离+上+出去+溜溜+走走+转转+参加+逛+溜+逃到+出发+登陆+抵达+赶路+离开+跑路+到+挪动+启程+去+逃跑+开始+走着+过去+逃命+行+行动+逃避+跑+进去+走到+溜走+逃走+跟+莅临+驾到+来临+驾临+来+来到+转+逃亡+过来+走+走近+逛逛+走进+出+进入+进来",
"semanticRelationName": "ruleb0certainb0answer",
"highPerformance": false,
"valueRange": "继续"
"wordSet": null,
}
"ableEdit": false
]
}
},
],
{
"wsces":
[
"branchName": "让看",
{
"examples": "不让看
\n
不让看看",
"o": "看",
"auxiliaryPriority": "12",
"s": "吧",
"semanticTriples":
[
"customWord": "
[
项目词组看动词
]
",
{
"semanticRelationName": "ruleb0certainb0answer"
"semanticRelationName": "ruleb0notdob0whatb0vv",
}
"valueRange": "
[
项目词组令使让词组
]
:
[
项目词组看动词
]
"
]
}
}
]
]
},
{
"branchName": "看看去",
"examples": "不看看去
\n
别看过去",
"auxiliaryPriority": "12",
"semanticTriples":
[
{
"semanticRelationName": "ruleb0notdob0whatb0vv",
"valueRange": "
[
项目词组看动词
]
:
[
项目词组去的动词
]
"
}
]
},
{
"branchName": "试试看",
"examples": "不试试看",
"auxiliaryPriority": "12",
"semanticTriples":
[
{
"semanticRelationName": "ruleb0notdob0whatb0vv",
"valueRange": "
[
项目词组做的动词
]
:
[
项目词组看动词
]
"
}
]
},
{
"branchName": "有什么好看的",
"examples": "有什么好看",
"auxiliaryPriority": "12",
"semanticTriples":
[
{
"semanticRelationName": "ruleb0askb0canb0dob0whatb0mohu",
"valueRange": "
[
项目词组有的动词
]
:
[
项目词组什么疑问代词
]
"
},
{
"semanticRelationName": "ruleb0askb0vvb0adj",
"valueRange": "
[
项目词组有的动词
]
:
[
项目词组好看形容词
]
"
}
]
},
{
"branchName": "我可以不看吗",
"examples": "我可以不看吗",
"auxiliaryPriority": "11",
"semanticTriples":
[
{
"semanticRelationName": "ruleb0askb0nottodob0whatb0v",
"valueRange": "
[
项目词组看动词
]
"
},
{
"semanticRelationName": "ruleb0askb0subjectb0verb",
"valueRange": "visitor:
[
项目词组看动词
]
"
}
]
},
{
"branchName": "不看吗",
"examples": "不看行不行",
"auxiliaryPriority": "11",
"semanticTriples":
[
{
"semanticRelationName": "ruleb0askb0nottodob0whatb0v",
"valueRange": "
[
项目词组看动词
]
"
},
{
"semanticRelationName": "ruleb0askb0cando",
"valueRange": "
[
项目词组看动词
]
"
}
]
},
{
"branchName": "拒绝去看",
"examples": "我拒绝去看",
"auxiliaryPriority": "10",
"semanticTriples":
[
{
"semanticRelationName": "ruleb0dob0whatb0vv",
"valueRange": "
[
项目词组去的动词
]
:
[
项目词组看动词
]
"
},
{
"semanticRelationName": "ruleb0dob0whatb0nv",
"valueRange": "visitor:
[
项目词组拒绝动词
]
"
}
]
},
{
"branchName": "凭什么要我看",
"examples": "凭什么要我看啊",
"auxiliaryPriority": "10",
"semanticTriples":
[
{
"semanticRelationName": "ruleb0thingsb0reason1",
"valueRange": "要:visitor"
},
{
"semanticRelationName": "ruleb0askb0subjectb0verb",
"valueRange": "visitor:
[
项目词组看动词
]
"
}
]
}
],
"phrases":
[
{
"phraseName": "项目词组同意动词",
"pos": null,
"words": "妥协+希望+同意+期待+保证+答应+订交+许诺+允诺+容许+承诺+赞助+附和+认可+OK+ok+允许+接受+应承+批准+答允+赞成+许可+应允+和议+订定+制定+应许+愿望+协议+乐意+准许+认同+愿意+支持+赞同+愿",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组同意意愿动词",
"pos": null,
"words": "计划+要+想要+希望+打算+选+准备+选择+想+需要+乐意+许+应该+会+稀罕+可以+愿意+允许+考虑+愿",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组什么疑问代词",
"pos": null,
"words": "什么+啥子+啥+何+咋+哪些+哪类+哪一些",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组看动词",
"pos": null,
"words": "瞄+搜查+瞅+观望+搜索+查看查看+瞄一眼+看+查看+瞅一眼+望见+看到+找找+观察+搜搜+瞄瞄+看一眼+观看+看见+望+看着+搜+查+看看看+瞧+查查+看看+瞧瞧+瞅瞅+观察观察+查找+瞧见+侦查+观看观看+找",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组令使让词组",
"pos": null,
"words": "令+请+让+给+叫+使",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组拒绝动词",
"pos": null,
"words": "回绝+拒绝+谢绝",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组第三人称词组",
"pos": null,
"words": "它们俩+它们+他们俩+它+他+她们+她+他俩+她俩+它俩+他们+她们俩",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组去的动词",
"pos": null,
"words": "光临+移动+逃+到达+前去+参与+逃离+上+出去+溜溜+走走+转转+参加+逛+跑去+溜+逃到+出发+登陆+抵达+赶路+离开+跑路+去往+到+挪动+启程+去+逃跑+开始+走着+过去+踏上+逃命+行+行动+逃避+跑+进去+走到+溜走+前往+走去+逃走+跟+莅临+驾到+来临+驾临+来+来到+转+逃亡+过来+走+走近+逛逛+走进+出+进入+进来",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组有的动词",
"pos": null,
"words": "有没有+有著+持有+带有+拥有+饱含+有+藏有+包含+保存+装有+含有+掌握+存有+存在+留有+有些",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组讨厌动词",
"pos": null,
"words": "厌恶+嫌恶+恨恶+憎恶+烦+厌+厌倦+厌烦+讨厌+憎恨+腻烦+倒胃+反胃+抵触",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组做的动词",
"pos": null,
"words": "试试+要+干+尝试+试+etc+忙+做好+做+做到",
"highPerformance": false,
"wordSet": null,
"ableEdit": true
},
{
"phraseName": "项目词组好看形容词",
"pos": null,
"words": "悦目+帅+真俊+俊美+美+雅观+好酷+素丽+文雅+美好+好帅+帅气+好看+不错+可爱+美艳+冷酷+绚丽+斑斓+美貌+真酷+有趣+俊丽+艳丽+时髦+俊秀+倩丽+摩登+标致+秀美+真美+瑰丽+鲜艳+俏丽+好玩+真帅+俊俏+大度+娇娆+妍丽+奇丽+美丽+漂亮+洋气+体面+英俊+锦绣+姣好+秀丽+酷+精致+大方+富丽+端庄+美观+优美",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
}
],
"wsces": null,
"allMatch": false
}
],
"currentPage": 8,
"pageSize": 10,
"totalCount": 71,
"totalPage": 8
}
}
}
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment