DH2026 Workshop · 보조자료Supplement
우리가 쓰는 자료 — SDG Report 2025The Material We Use — SDG Report 2025
파이프라인을 짓기 전에 자료부터 본다. 무슨 문서이고, 어디서 받고, 어떻게 생겼는가. 오늘 구조를 먼저 읽는다고 한 그 구조가 이 문서 어디에 있는지까지 확인한다.Before building the pipeline, look at the material. What is this document, where do you get it, and what does it look like? We also locate exactly where the structure lives — the structure we said we would read first.
① 무슨 문서인가What it is
무슨 문서이며, 무슨 목표로 만들었는가What this document is, and why it was made
The Sustainable Development Goals Report 2025
UN Statistics Division · 2025 · 51 pp.
유엔이 해마다 내는 지속가능발전목표(SDGs) 진행 보고서다. 2015년 유엔 총회가 채택한 17개 목표가 2030년까지 어디까지 왔는지를, 회원국이 제출한 공식 통계로 점검한다. 목적은 홍보가 아니라 점검이다 — 어떤 목표가 궤도에 있고 어떤 목표가 뒤처졌는지를 지표로 판정하고, 그 판단 근거가 되는 수치를 함께 싣는다. 2025년판은 2030년까지 5년을 남긴 시점의 중간 점검에 해당한다.The UN's annual progress report on the Sustainable Development Goals. It checks how far the 17 Goals adopted by the General Assembly in 2015 have come toward 2030, using official statistics submitted by member states. Its purpose is not promotion but assessment — judging by indicator which Goals are on track and which have fallen behind, and printing the figures that ground each judgement. The 2025 edition is the stock-take with five years left to 2030.
왜 이 문서를 골랐는가. 실습 자료로서 결정적인 것은 구조가 뚜렷하다는 점이다. 목표 17개가 각각 제 쪽을 갖고, 그 안에 소제목이 달리고, 소제목 아래 문단이 온다. 게다가 공개 자료여서 누구나 같은 파일을 받아 같은 결과를 재현할 수 있다.Why this document. What makes it decisive as a hands-on corpus is that its structure is explicit. Each of the 17 Goals holds its own pages, subheadings sit inside them, and paragraphs sit under the subheadings. It is also open, so anyone can fetch the same file and reproduce the same result.
② 입수Getting it
어디서 받을 수 있는가Where to get it
유엔 통계국(UN Statistics Division)이 공개한다. 아래 주소는 이 PDF 안에 링크로 박혀 있는 공식 주소다. 워크숍에서는 같은 파일을 공유 Drive 폴더에도 올려 두었다.Published by the UN Statistics Division. The addresses below are the official ones embedded as links inside this very PDF. For the workshop the same file also sits in the shared Drive folder.
③ 구조Structure
문서 구조의 특징 — 글보다 그림이 많은 문서How the document is built — more picture than prose
51쪽 안에 글자는 227,211자다. 그런데 이 문서를 실제로 채우고 있는 것은 글이 아니라 도표다. 페이지마다 막대그래프·지도·아이콘이 깔려 있고, 본문은 그 사이를 흐른다.Across 51 pages there are 227,211 characters of text. Yet what actually fills this document is not prose but charts. Bar graphs, maps and icons cover every page, and the body text flows between them.
글자Characters
227,211
본문·캡션·라벨을 모두 합쳐body, captions and labels combined
채워진 도형Filled shapes
9,344
차트를 이루는 조각들the pieces that make up the charts
쪽당 평균Per page
183
도형shapes
도표가 이미지 파일이 아니다. 이 PDF에 박힌 진짜 그림 파일(사진 따위)은 23개뿐이고 지면의 4.8%밖에 안 된다. 나머지 도표는 전부 벡터 도형 10,662개로 그려져 있다 — 선과 면을 좌표로 찍은 것이다. 그래서 텍스트만 뽑으면 차트는 통째로 사라지고, 축에 붙은 숫자와 범례만 문맥 없이 본문 사이에 떨어진다. STEP 2에서 naive chunk가 이상해 보이는 까닭이 여기 있다.The charts are not image files. This PDF holds only 23 true raster images (photographs and the like), covering just 4.8% of the page area. Every other chart is drawn as 10,662 vector shapes — lines and fills placed by coordinate. So when you extract text, the charts vanish whole, and only the axis figures and legends drop into the prose without their context. That is why the naive chunks in STEP 2 look the way they do.
쪽마다 도형이 얼마나 많은가 (막대에 마우스를 올리면 쪽·개수)How many shapes per page (hover a bar for page and count)
p1
가장 빽빽한 쪽 · p39 · 3,876개busiest · p39 · 3,876
p51
도형이 하나도 없는 쪽은 5쪽뿐이다. 바꿔 말하면 46쪽은 어떤 식으로든 그림이 얹혀 있다. 작은 글씨(7.2pt 이하 — 축 숫자·캡션·출처 표기)가 전체 글자의 10.3%를 차지하는 것도 같은 이유다. 이 글자들은 문장이 아니라 그림의 부품이다.Only 5 pages carry no shapes at all — meaning 46 pages have graphics on them. For the same reason, small type (7.2pt and under — axis figures, captions, source lines) accounts for 10.3% of all characters. Those characters are parts of pictures, not sentences.
④ 숨은 구조The hidden layer
숨겨진 조판 구조 — 서체와 크기가 곧 구조다The hidden typesetting — typeface and size are the structure
눈으로 보면 소제목은 굵고 크다. 그런데 텍스트만 뽑으면 그 굵기가 사라진다. "이 줄이 소제목인가"를 글자 내용으로 추측하려 들면 반드시 틀린다. 해결은 간단하다 — 추측하지 말고, 조판을 읽는다. PDF는 글자마다 서체 이름과 크기를 함께 갖고 있다. 편집자가 이미 구조를 지정해 둔 것이다.To the eye, a subheading is bold and large. Extract the text and that boldness is gone. Try to guess from the wording whether a line is a subheading and you will be wrong. The fix is simple — do not guess; read the typesetting. A PDF carries a font name and a size with every character. The editor already encoded the structure.
| 서체Typeface | 크기Size |
맡은 역할Role | 글자수Chars |
판단Verdict |
| Gotham-Black | 16pt |
Goal 제목Goal title |
741 |
싣는다keep |
| GothamBold | 11pt |
소제목 — 우리가 찾는 것Subheading — what we look for |
9,781 |
싣는다keep |
| Whitney-Book | 9pt |
본문 문단Body paragraph |
176,344 |
싣는다keep |
| Whitney-Semibold | 8.5pt |
사진 캡션Photo caption |
3,009 |
버린다drop |
| Whitney-Semibold | 8pt |
도표 제목Chart title |
5,103 |
버린다drop |
| Whitney-Book | 7pt |
도표 라벨·출처Chart label / source |
9,407 |
버린다drop |
| Whitney-Book | 6.5pt |
축 숫자·각주Axis figures / footnote |
6,023 |
버린다drop |
| Gotham-Black | 8pt |
머리말·쪽번호Running head / folio |
1,857 |
버린다drop |
위 표에서 싣는다로 표시된 셋만 모으면 186,866자 — 전체의 82%다. 나머지 18%는 캡션·축 라벨·머리말처럼 문단이 아닌 글자다. 이것을 걸러내는 일이 STEP 3에서 하는 일의 절반이다.Collecting only the three rows marked keep gives 186,866 characters — 82% of the whole. The remaining 18% are captions, axis labels and running heads: characters that are not paragraphs. Filtering them out is half of what STEP 3 does.
이 규칙 하나로 문서 전체가 계층으로 접힌다. Gotham-Black 16pt를 만나면 새 목표가 시작되고, GothamBold 11pt를 만나면 새 절이 시작되며, 그 사이의 Whitney 9pt가 그 절의 본문이 된다. 결과가 정본 XML이다 — 목표 17 · 소제목 108 · 문단 243. 추측이 아니라 조판을 읽었기 때문에, 오분류도 누락도 없다.That single rule folds the whole document into a hierarchy. Meet Gotham-Black 16pt and a new Goal begins; meet GothamBold 11pt and a new section begins; the Whitney 9pt in between is that section’s body. The result is the canonical XML — 17 goals · 108 subheadings · 243 paragraphs. Because we read the typesetting instead of guessing, nothing is misclassified and nothing is lost.
자료의 구조는 우리가 만들어 넣는 것이 아니다. 이미 거기 있다 — 다만 조판에 적혀 있을 뿐이다.The structure of the material is not something we impose. It is already there — it just happens to be written in the typesetting.