收录高考数学风暴2022学年第一轮复习题目
This commit is contained in:
parent
6d5bd2b255
commit
511becf3fb
|
|
@ -1,6 +1,6 @@
|
||||||
import os,re,json
|
import os,re,json
|
||||||
"""这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭"""
|
"""这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭"""
|
||||||
problems = "15305"
|
problems = "008377,014637"
|
||||||
editor = "王伟叶"
|
editor = "王伟叶"
|
||||||
|
|
||||||
def generate_number_set(string,dict):
|
def generate_number_set(string,dict):
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import os,re,json
|
||||||
|
|
||||||
"""---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---"""
|
"""---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---"""
|
||||||
keywords_dict_table = [
|
keywords_dict_table = [
|
||||||
{"origin":[r"2023"],"content":["内切球为"]}
|
{"content":["离子"]}
|
||||||
]
|
]
|
||||||
"""---关键字设置完毕---"""
|
"""---关键字设置完毕---"""
|
||||||
# 示例: keywords_dict_table = [
|
# 示例: keywords_dict_table = [
|
||||||
|
|
|
||||||
11
工具/批量收录题目.py
11
工具/批量收录题目.py
|
|
@ -1,9 +1,10 @@
|
||||||
#修改起始id,出处,文件名
|
#修改起始id,出处,文件名
|
||||||
starting_id = 15332
|
starting_id = 15352
|
||||||
raworigin = ""
|
raworigin = "高考数学风暴第一轮复习"
|
||||||
filename = r"C:\Users\weiye\Documents\wwy sync\临时工作区\自拟题目12.tex"
|
filename = r"C:\Users\weiye\Documents\wwy sync\待整理word题目\风暴全.tex"
|
||||||
editor = "20230501\t王伟叶"
|
editor = "20230503\t王伟叶"
|
||||||
indexed = False
|
indexed = False
|
||||||
|
IndexDescription = "试题"
|
||||||
|
|
||||||
import os,re,json
|
import os,re,json
|
||||||
|
|
||||||
|
|
@ -77,7 +78,7 @@ for p_and_suffix in problems:
|
||||||
if indexed == False:
|
if indexed == False:
|
||||||
origin = raworigin + suffix
|
origin = raworigin + suffix
|
||||||
else:
|
else:
|
||||||
origin = raworigin + suffix + "试题" + str(id- starting_id+1)
|
origin = raworigin + suffix + IndexDescription + str(id- starting_id+1)
|
||||||
NewProblem = CreateNewProblem(id = pid, content = p, origin = origin, dict = pro_dict,editor = editor)
|
NewProblem = CreateNewProblem(id = pid, content = p, origin = origin, dict = pro_dict,editor = editor)
|
||||||
if "blank" in NewProblem["content"]:
|
if "blank" in NewProblem["content"]:
|
||||||
NewProblem["genre"] = "填空题"
|
NewProblem["genre"] = "填空题"
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
015305
|
008377,014637
|
||||||
37420
题库0.3/Problems.json
37420
题库0.3/Problems.json
File diff suppressed because it is too large
Load Diff
Reference in New Issue