添加一模中档题分类号

This commit is contained in:
WangWeiye 2023-04-27 18:24:57 +08:00
parent 5557e22d3d
commit f9c6eeb84b
4 changed files with 41 additions and 6 deletions

View File

@ -2,7 +2,7 @@ import os,re,json
"""---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---"""
keywords_dict_table = [
{"origin":[r""],"origin2":["2023"],"origin3":[r"松江"]}
{"origin":[r""],"origin2":["2023"],"origin3":[r"试题(9|10|11|15|19)"]}
]
"""---关键字设置完毕---"""
# 示例: keywords_dict_table = [

View File

@ -1,3 +1,24 @@
20230427 2023届一模中档题汇编
problems_dict = {
"松江区中档题":"012295:012297,012301,012305",
"崇明区中档题":"012316:012318,012322,012326",
"杨浦区中档题":"012495:012497,012501,012505",
"虹口区中档题":"012516:012518,012522,012526",
"青浦区中档题":"012537:012539,012543,012547",
"闵行区中档题":"012558:012560,012564,012568",
"嘉定区中档题":"012579:012581,012585,012589",
"普陀区中档题":"012600:012602,012606,012610",
"长宁区中档题":"012621:012623,012627,012631",
"徐汇区中档题":"012642:012644,012648,012652",
"宝山区中档题":"012663:012665,012669,012673",
"浦东新区中档题":"012684:012686,012690,012694",
"奉贤区中档题":"012705:012707,012711,012715",
"金山区中档题":"012726:012728,012732,012736",
"静安区中档题":"012768:012770,012774,012778",
"黄浦区中档题":"014519:014521,014525,014529"
}
20230426 2023届一模简单题汇编
problems_dict = {
"松江区简单题":"012287:012294,012303:012304",

View File

@ -1 +1 @@
015206:015226
,,,,,,,,,,,,,,

View File

@ -5,12 +5,26 @@ import os,re,json,time,sys
"""2: 测验卷与周末卷(填空题, 选择题, 解答题)"""
"""3: 日常选题讲义(一个section)"""
paper_type = 1 # 随后设置一下后续的讲义标题
paper_type = 3 # 随后设置一下后续的讲义标题
"""---设置题块编号---"""
problems = [
"14964,14965,14966,14967,14969,14970,14971,14972,40554,40558,31403,40561,14963,14968,14973","40556,31402,40560,40562,40563,40564,40565,40566,40568,14883,14884,14887,14893,14894,14896,14897,14891"
# "012295:012297,012301,012305"
# "012316:012318,012322,012326"
# "012516:012518,012522,012526"
# "012537:012539,012543,012547"
# "012558:012560,012564,012568"
# "012579:012581,012585,012589"
# "012600:012602,012606,012610"
# "012621:012623,012627,012631"
# "012642:012644,012648,012652"
# "012663:012665,012669,012673"
# "012684:012686,012690,012694"
# "012705:012707,012711,012715"
# "012726:012728,012732,012736"
# "012768:012770,012774,012778"
"014519:014521,014525,014529"
]
@ -20,7 +34,7 @@ problems = [
if paper_type == 1:
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
template_file = "模板文件/复习讲义模板.txt" #设置模板文件名
exec_list = [("标题数字待处理","02"),("标题文字待处理","数形结合")] #设置讲义标题
exec_list = [("标题数字待处理","01"),("标题文字待处理","简单题")] #设置讲义标题
destination_file = "临时文件/"+exec_list[0][1]+"_"+exec_list[1][1] # 设置输出文件名
elif paper_type == 2:
enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
@ -30,7 +44,7 @@ elif paper_type == 2:
elif paper_type == 3:
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
template_file = "模板文件/日常选题讲义模板.txt" #设置模板文件名
exec_list = [("标题文字待处理","07超几何分布")] #设置讲义标题
exec_list = [("标题文字待处理","中档题冲刺15")] #设置讲义标题
destination_file = "临时文件/"+exec_list[0][1] # 设置输出文件名