github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/yaml/name/cnreal.v1.yaml (about)

     1  title: 中文人名
     2  desc:
     3  author: zentao
     4  version: 1.0
     5  
     6  field: chinese_name
     7  instances:
     8    - instance: two
     9      note: 2字人名
    10      fields:
    11        - field: part1
    12          from: name.cn.family.v2
    13          select: name
    14          where: "double='false'"
    15          postfix:
    16          rand: true
    17        - field: part2
    18          from: name.cn.given.v2
    19          select: name
    20          rand: true
    21    - instance: male_two
    22      note: 男性2字人名
    23      prefix:
    24      fields:
    25        - field: part1
    26          from: name.cn.family.v2
    27          select: name
    28          where: "double='false'"
    29          postfix: ""
    30        - field: part2
    31          from: name.cn.given.v2
    32          select: name
    33          where: "sex='male'"
    34    - instance: female_two
    35      note: 女性2字人名
    36      prefix:
    37      fields:
    38        - field: part1
    39          from: name.cn.family.v2
    40          select: name
    41          where: "double='false'"
    42          postfix: ""
    43        - field: part2
    44          from: name.cn.given.v2
    45          select: name
    46          where: "sex='female'"
    47  
    48    - instance: three
    49      note: 3字人名
    50      fields:
    51        - field: part1
    52          from: name.cn.family.v2
    53          select: name
    54          where: "double='false'"
    55          postfix:
    56        - field: part2
    57          from: name.cn.given.v2
    58          where: 1=1
    59          select: name
    60    - instance: male_three
    61      note: 男性3字人名
    62      prefix:
    63      fields:
    64        - field: part1
    65          from: name.cn.family.v2
    66          select: name
    67          where: "double='false'"
    68          postfix: ""
    69        - field: part2
    70          from: name.cn.given.v2
    71          select: name
    72          where: "sex='male'"
    73    - instance: female_three
    74      note: 女性3字人名
    75      prefix:
    76      fields:
    77        - field: part1
    78          from: name.cn.family.v2
    79          select: name
    80          where: "double='false'"
    81          postfix: ""
    82        - field: part2
    83          from: name.cn.given.v2
    84          select: name
    85          where: "sex='female'"
    86  
    87    - instance: four
    88      note: 4字人名
    89      fields:
    90        - field: part1
    91          from: name.cn.family.v2
    92          select: name
    93          where: "double='true'"
    94          postfix:
    95        - field: part2
    96          from: name.cn.given.v2
    97          select: name
    98    - instance: male_four
    99      note: 男性4字人名
   100      prefix:
   101      fields:
   102        - field: part1
   103          from: name.cn.family.v2
   104          select: name
   105          where: "double='true'"
   106          postfix: ""
   107        - field: part2
   108          from: name.cn.given.v2
   109          select: name
   110          where: "sex='male'"
   111    - instance: female_four
   112      note: 女性4字人名
   113      prefix:
   114      fields:
   115        - field: part1
   116          from: name.cn.family.v2
   117          select: name
   118          where: "double='true'"
   119          postfix: ""
   120        - field: part2
   121          from: name.cn.given.v2
   122          select: name
   123          where: "sex='female'"