updated 自然语言表达修改

This commit is contained in:
PASSER-BY 2022-11-16 17:40:00 +08:00
parent 43196a265c
commit 83d65d8445
3 changed files with 9 additions and 16 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -56,20 +56,6 @@ export default [
type:'pair'
})
},
{
exp:/^(\S+?)(指的)?是(什么|啥)(意思|关系|辈分|人)?$/,
opt:match=>({
text:match[1],
type:'chain'
})
},
{
exp:/^(\S+?)(指的)?是(什么|啥)亲戚关系??$/,
opt:match=>({
text:match[1],
type:'chain'
})
},
{
exp:/^(\S+?)对于(\S+?)是(什么|啥)关系??$/,
opt:match=>({
@ -78,4 +64,11 @@ export default [
type:'chain'
})
},
{
exp:/^(\S+?)(指的)?是(什么|啥)(意思|关系|亲戚关系|辈分|人)?$/,
opt:match=>({
text:match[1],
type:'chain'
})
},
];