updated 细节完善

This commit is contained in:
PASSER-BY 2022-11-16 17:19:02 +08:00
parent dd41acaa36
commit f30975cb63
5 changed files with 8 additions and 10 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

@ -14,12 +14,10 @@ export default [
},
{
exp:/^(\S+?)是(谁|什么亲戚|啥亲戚|什么辈分|啥辈分)?$/,
opt:match=>{
return {
opt:match=>({
text:match[1],
type:match[0].indexOf('的')>-1?'default':'chain'
};
}
})
},
{
exp:/^(\S+?)(应该|得)?(称呼|叫|喊)(\S+?)(什么|啥)?$/,

View File

@ -116,7 +116,7 @@ export default {
'[xb|xs],[s|d]':['侄甥'],
'xb,[s|d]':['侄子女','侄子侄女'],
'xs,[s|d]':['甥子女','外甥子女'],
'[w|s|d]':['妻儿'],
'[w|s|d]':['妻儿','妻小'],
'[w|d]':['妻女'],
'[s|d]':['子女','儿女','小孩','孩子','孩子们','孩儿','小孩儿','宝宝','宝贝','娃','儿辈','子辈','子息','子嗣','崽','幺儿'],
'[s|d],[s|d]':['孙辈','孙息','孙枝'],

View File

@ -19,7 +19,7 @@ var prefix = {
'f,xb':['堂','同堂','亲堂','从父','叔伯','从'],
'f,xs':['姑表','姑家'],
'm,xb':['舅表','舅家'],
'm,xs':['姨','从母','姨家','两姨','从'],
'm,xs':['姨','从母','姨家','两姨','姨表','从'],
'f,f,xb,s':['从堂','再从父','远堂','堂叔伯','叔伯叔伯','再从'],
'f,f,xb,d':['堂姑表','从父姑表'],
'f,f,xs,s':['姑表叔表'],