표의 열 갯수에 따라 CELLZONE태그 xpath내용 변경
This commit is contained in:
15
score5.py
15
score5.py
@@ -508,13 +508,22 @@ class XMLScorer:
|
||||
|
||||
|
||||
def main():
|
||||
scoring_criteria_path = r'./scoring_criteria.json'
|
||||
# scoring_criteria_path = r'./scoring_criteria.json'
|
||||
# scoring_criteria_path = r'./scoring_criteria_2501A.json'
|
||||
# scoring_criteria_path = r'./scoring_criteria_2501B.json'
|
||||
scoring_criteria_path = r'./scoring_criteria_2501C.json'
|
||||
|
||||
# xml(hml)파일 디렉토리 경로
|
||||
xml_directory = r'./output'
|
||||
# xml_directory = r'./output'
|
||||
# xml_directory = r'./output/1교시'
|
||||
# xml_directory = r'./output/2교시'
|
||||
xml_directory = r'./output/3교시'
|
||||
|
||||
# 오탈자 체크를 위한 정답 파일 경로
|
||||
answer_path = r'./output/정답.hml'
|
||||
# answer_path = r'./output/정답.hml'
|
||||
# answer_path = r'./output/1교시/정답.hml'
|
||||
# answer_path = r'./output/2교시/정답.hml'
|
||||
answer_path = r'./output/3교시/정답.hml'
|
||||
|
||||
# 채점 클래스 초기화
|
||||
scorer = XMLScorer(scoring_criteria_path)
|
||||
|
||||
Reference in New Issue
Block a user