문서수정기호관련(2-29.30) 편집 채점기준 수정

This commit is contained in:
devdra9
2025-01-24 18:27:27 +09:00
parent c292769b78
commit ac3cc9a396
6 changed files with 4107 additions and 19 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -504,7 +504,7 @@
"item": "① 양조(釀造), ② 노동자(勞動者), ③ 문인(文人), ④ 백주(白酒), ⑤ 질적(質的)"
},
"2-29":{
"path":"boolean(//CHAR[contains(text(),'도 막')])",
"path":"boolean(//CHAR[contains(translate(text(), ' ', ''),'에도막걸')])",
"path2": null,
"searchValue": null,
"value":true,
@@ -513,7 +513,7 @@
"item": "문구 (…문인(文人)들의 문집에토 막걸리로…)/\"토\" → \"도\" 글자바꿈"
},
"2-30":{
"path":"boolean(//CHAR[contains(text(),'하는 문')])",
"path":"boolean(//CHAR[contains(translate(text(), ' ', ''),'하는문')])",
"path2": null,
"searchValue": null,
"value":true,

View File

@@ -469,7 +469,7 @@
},
"2-25":{
"path":"boolean(//CHAR[contains(text(),'혈관(Blood Vessel)')]/following-sibling::FOOTNOTE/descendant::CHAR[contains(text(),'혈액을 온몸으로 순환시키는 통로')])",
"path2": null,
"path2": "boolean(//CHAR[substring(., string-length(.) - string-length('혈관(Blood Vessel)') + 1) = '혈관(Blood Vessel)']/following-sibling::FOOTNOTE/descendant::CHAR[contains(text(),'혈액을 온몸으로 순환시키는 통로')])",
"searchValue": null,
"value":true,
"points": 3,
@@ -504,7 +504,7 @@
"item": "① 재배(栽培), ② 모양(模樣), ③ 당도(糖度), ④ 효능(效能), ⑤ 개선(改善)"
},
"2-29":{
"path":"boolean(//CHAR[contains(text(),'는 무게')])",
"path":"boolean(//CHAR[contains(translate(text(), ' ', ''),'하는무게')])",
"path2": null,
"searchValue": null,
"value":true,
@@ -513,7 +513,7 @@
"item": "문구 (…송이채로 수확하은 무게…)/\"은\" → \"는\" 글자바꿈"
},
"2-30":{
"path":"boolean(//CHAR[contains(text(),'광의 기')])",
"path":"boolean(//CHAR[contains(translate(text(), ' ', ''),'광의기')])",
"path2": null,
"searchValue": null,
"value":true,
@@ -577,7 +577,7 @@
},
"2-37":{
"path":"boolean(//BORDERFILL[@Id=//TABLE/ROW[1]/CELL/@BorderFill]/BOTTOMBORDER[@Type='DoubleSlim' and @Width='0.5mm'])",
"path2": null,
"path2": "boolean(//BORDERFILL[@Id=//CELLZONE[@StartRowAddr='0' and @EndRowAddr='0' and @StartColAddr='0' and @EndColAddr='2']/@BorderFill]/BOTTOMBORDER[@Type='DoubleSlim' and @Width='0.5mm'])",
"searchValue": null,
"value":true,
"points": 2,

View File

@@ -504,7 +504,7 @@
"item": "① 양조(釀造), ② 노동자(勞動者), ③ 문인(文人), ④ 백주(白酒), ⑤ 질적(質的)"
},
"2-29":{
"path":"boolean(//CHAR[contains(text(),'도 막')])",
"path":"boolean(//CHAR[contains(translate(text(), ' ', ''),'에도막걸')])",
"path2": null,
"searchValue": null,
"value":true,
@@ -513,7 +513,7 @@
"item": "문구 (…문인(文人)들의 문집에토 막걸리로…)/\"토\" → \"도\" 글자바꿈"
},
"2-30":{
"path":"boolean(//CHAR[contains(text(),'하는 문')])",
"path":"boolean(//CHAR[contains(translate(text(), ' ', ''),'하는문')])",
"path2": null,
"searchValue": null,
"value":true,

View File

@@ -468,8 +468,8 @@
"item": "문구② (2. 인구절벽 대응책)/③ 진하게"
},
"2-25":{
"path":"boolean(//CHAR[contains(text(),'생산가능인구')]/ancestor::TEXT/FOOTNOTE/descendant::CHAR[contains(text(),'전체 인구가 늘더라도 생산가능인구가 감소한다면 생산가능인구가 짊어져야 하는 비용은 증가한다.')])",
"path2": null,
"path":"boolean(//CHAR[contains(text(),'생산가능인구')]/ancestor::TEXT/FOOTNOTE/descendant::CHAR[contains(text(),'전체 인구가 늘더라도 생산가능인구가 감소한다면 생산가능인구가 짊어져야 하는 비용은 증가한다')])",
"path2": "boolean(//CHAR[substring(., string-length(.) - string-length('생산가능인구') + 1) = '생산가능인구']/following-sibling::FOOTNOTE/descendant::CHAR[contains(text(),'전체 인구가 늘더라도 생산가능인구가 감소한다면 생산가능인구가 짊어져야 하는 비용은 증가한다')])",
"searchValue": null,
"value":true,
"points": 3,
@@ -483,7 +483,7 @@
"value": "돋움",
"points": 2,
"category": "각주",
"item": "문구 (MZ세대)/② 글씨체 (돋움)"
"item": "문구 (생산가능인구)/② 글씨체 (돋움)"
},
"2-27":{
"path":"//CHARSHAPE[@Id=//CHAR[contains(text(),'{searchValue}')]/parent::TEXT/@CharShape]/@Height",
@@ -492,7 +492,7 @@
"value":900,
"points": 2,
"category": "각주",
"item": "문구 (MZ세대)/③ 크기 (9pt)"
"item": "문구 (생산가능인구)/③ 크기 (9pt)"
},
"2-28":{
"path":"(count(//CHAR[contains(text(),'이론')][contains(text(),'理論')])+count(//CHAR[contains(text(),'분포')][contains(text(),'分布')])+count(//CHAR[contains(text(),'확산')][contains(text(),'擴散')])+count(//CHAR[contains(text(),'변화')][contains(text(),'變化')])+count(//CHAR[contains(text(),'확대')][contains(text(),'擴大')]))*2",
@@ -504,7 +504,7 @@
"item": "① 이론(理論), ② 분포(分布), ③ 확산(擴散), ④ 변화(變化), ⑤ 확대(擴大)"
},
"2-29":{
"path":"boolean(//CHAR[contains(text(),'업 기회')])",
"path":"boolean(//CHAR[contains(translate(text(), ' ', ''),'취업기회')])",
"path2": null,
"searchValue": null,
"value":true,
@@ -513,7 +513,7 @@
"item": "문구 (…청년들의 취협 기회도…)/\"협\" → \"업\" 글자바꿈"
},
"2-30":{
"path":"boolean(//CHAR[contains(text(),'지기 시작')])",
"path":"boolean(//CHAR[contains(translate(text(), ' ', ''),'지기시작')])",
"path2": null,
"searchValue": null,
"value":true,
@@ -577,7 +577,7 @@
},
"2-37":{
"path":"boolean(//BORDERFILL[@Id=//TABLE/ROW[1]/CELL/@BorderFill]/BOTTOMBORDER[@Type='DoubleSlim' and @Width='0.5mm'])",
"path2": null,
"path2": "boolean(//BORDERFILL[@Id=//CELLZONE[@StartRowAddr='0' and @EndRowAddr='0' and @StartColAddr='0' and @EndColAddr='2']/@BorderFill]/BOTTOMBORDER[@Type='DoubleSlim' and @Width='0.5mm'])",
"searchValue": null,
"value":true,
"points": 2,

View File

@@ -121,13 +121,13 @@ def delete_gen_py():
if __name__ == "__main__":
# delete_gen_py()
# 로깅 설정
# 로깅 설정y yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
setup_logging()
# 변환할 폴더 경로 설정
input_folder = r"C:\Users\dra\project\HWP-Scoring\input" # HWP 파일이 있는 폴더
output_folder = r"C:\Users\dra\project\HWP-Scoring\output" # XML 파일을 저장할 폴더
input_folder = r"C:\Users\dra\project\HWP\HWP-Scoring\input" # HWP 파일이 있는 폴더
output_folder = r"C:\Users\dra\project\HWP\HWP-Scoring\output" # XML 파일을 저장할 폴더
# 변환할 폴더 경로 설정
# input_folder = r"C:\Users\gzero-ser7-win11\Project\KAIT\hwpTest\input" # HWP 파일이 있는 폴더