표의 열 갯수에 따라 CELLZONE태그 xpath내용 변경

This commit is contained in:
2025-02-06 17:15:40 +09:00
parent e229a8eaef
commit 8193f0dca0
7 changed files with 183 additions and 148 deletions

View File

@@ -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)