forked from NanBox/PiPiName
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
48 lines (35 loc) · 1.49 KB
/
Copy pathconfig.py
File metadata and controls
48 lines (35 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 选择词库
# 0: "默认", 1: "诗经", 2: "楚辞", 3: "论语",
# 4: "周易", 5: "唐诗", 6: "宋诗", 7: "宋词"
name_source = 5
name_source_dict = {0:"默认", 1:"诗经", 2:"楚辞", 3:"论语", 4:"周易",5:"唐诗",6: "宋诗",7: "宋词"}
use_sancai=False
use_wuge=False
# 姓,仅支持单姓
last_name = "朱"
# 不想要的字,结果中不会出现这些字
dislike_words = list("苦死丑愁仇缺病奸寒败怜废贱难破赖危肉悲残鸡狗猪马猴不一二三四五六七八九十百万下乞夫妻宝肝肠逆凶泥狼狈奴妇嫠父孙惊鬼龟愧血狸辚泣诡虏脱祸看浑脑伤")
# 不想要的读音
dislike_pinyin={"shi"}
# 最小笔画数
min_stroke_count = 1
# 最大笔画数
max_stroke_count = 30
#最大总笔画数
max_stroke_total = 60
# 允许使用中吉,开启后将生成包含中吉配置的名字,生成的名字会更多
allow_general = True
# 是否筛选名字,仅输出名字库中存在的名字,可以过滤明显不合适的名字
name_validate = False
# 是否筛选性别,男/女,空则不筛选,仅当开启名字筛选时有效
gender = ""
##############################################################################################
# 填入姓名,查看三才五格配置,仅支持单姓复名
# 如果要起名,请保持该值为空
check_name = ""
# 是否显示名字来源
check_name_resource = True
#只挑选作者(支持唐诗,宋诗,宋词)
author = "李商隱"
#过滤l和n声母避免ln不分
check_l_n = True