Korean Classical Chinese Punctuation Prediction Model
한국 고전한문 구두점 예측 모델
License: CC BY-NC-SA 4.0 · GitHub · DOI
Deep learning model for automatic punctuation prediction in Korean classical Chinese texts. Achieving F1 score of 0.9110 (v2.5) on 7 punctuation marks.
딥러닝 기반 한국 고전 한문 텍스트 자동 구두점 예측 모델입니다. 7종의 구두점을 F1 Score 0.9110 (v2.5)의 정확도로 예측합니다.
Model Versions
Version
Base Model
F1 Score
Note
v2.5
SikuRoBERTa (SIKU-BERT/sikuroberta)
0.9110
Latest Recommended (Korean Cultural Studies 111)
v2.0
SikuRoBERTa (SIKU-BERT/sikuroberta)
0.9110
Reference Model (Korean Cultural Studies 111)
v1
Chinese-RoBERTa (hfl/chinese-roberta-wwm-ext)
0.9050
Korean Journal of History 100
🔄 v2.0 → v2.5 Update
Version 2.5 is an incremental update of the v2.0 release, focusing on training stability and reproducibility. The model architecture, task definition, and data scheme remain identical to v2.0.
Name: Korean Classical Chinese Punctuation Prediction Model v2.5
Base Model: SIKU-BERT/sikuroberta
Task: Multi-label Token Classification
Labels: 7 punctuation marks (, 。 · ? ! 《 》)
v2.5 Updates:
Removal of PatternAwareLoss
Adoption of standard BCEWithLogitsLoss for multi-label classification
Masked-mean loss computation based on token attention masks
Simplified training policy prioritizing stability and reproducibility
v2.0 (PatternAwareLoss) and v2.5 (standard BCE) showed equivalent performance, with no significant difference observed apart from a slight recall advantage of v2.0 on the closing bracket (》). Given sufficient training data and domain-specific pretraining, the structural pattern of consecutive punctuation marks converges probabilistically during training even without an explicit loss-function rule. Accordingly, v2.5 — the simpler training structure without additional assumptions — was adopted as the final model. (Korean Cultural Studies, vol. 111)
7 independent binary classifiers (one per punctuation type)
Sigmoid activation with threshold 0.5
Important Note: This model uses a custom architecture, not the standard AutoModelForTokenClassification. For full inference capabilities, use the custom PunctuationPredictor class from the GitHub repository.
Task: Multi-label Token Classification
Each character token can have 0 or more punctuation marks following it
Chronicles, already above 0.91 in v1.0, show only a marginal gain, whereas the relatively lower-performing types (Diaries, Literary Collections, Laws, Biographies) show larger gains. See Korean Cultural Studies, vol. 111, for detailed analysis.
External Validation (Unseen Data, v1)
Dataset
F1 Score
Data Size (chars)
Source
한국문집총간 (Korean Literary Collections)
0.8784
166,763,095
ITKC Database
일성록 (Ilseongrok)
0.9065
6,743,710
Kyujanggak Institute for Korean Studies
How to Use
⚠️ Important: Custom Model Architecture
This model uses a custom architecture and cannot be loaded with standard Hugging Face methods. You must use the specialized inference code from the GitHub repository.
National Institute of Korean History Database (국사편찬위원회)
Korean Classics Database (한국고전종합DB)
Jangseogak Digital Archive (디지털장서각)
Preprocessing Pipeline (6 stages):
Remove non-Chinese text (Korean Hangul, Japanese Kana, numbers)
Standardize punctuation marks (26 types → unified format)
Keep only Chinese characters and punctuation
Reduce to 7 primary punctuation types
Remove lines without punctuation
Remove duplicate consecutive punctuation
Limitations
Paired Brackets: Book title markers (《》) show lower performance (F1 ~0.78)
Rare Punctuation: Exclamation mark (!) shows lowest recall (0.6003) due to scarcity
Context Window: 512-token limit (longer texts processed via sliding window)
Domain Bias: Trained primarily on official records
Intended Uses
✅ Recommended Uses
Digital humanities research
Historical document digitization
Academic study of classical Chinese texts
Educational tools
Public digital archives
Cultural heritage preservation
❌ Not Recommended
Commercial products without separate licensing
Critical scholarly editions without expert review
Real-time applications requiring 100% accuracy
Disclaimer: Predictions are not perfect. For important scholarly publications, always verify with domain experts.
Citation
If you use this model in your research, please cite:
APA Style:
Yang, J. (2025). Development and Application of a Deep Learning–Based Model
for Automated Punctuation Inference in Korean Classical Chinese.
The Korean Journal of History (Yoksahak Yongu), 100, 267-297.
https://doi.org/10.37924/JSSW.100.9
Yang, J. (2026). Conventions of Interpretation: Improving a Punctuation
Prediction Model for Korean Classical Chinese. Korean Cultural Studies,
111, 7-29. https://doi.org/10.17948/kcs.2026..111.7
BibTeX:
bibtex
1@article{yang2025punctuation,
2 title={Development and Application of a Deep Learning--Based Model for Automated Punctuation Inference in Korean Classical Chinese},
3 author={Yang, Junghyun},
4 journal={The Korean Journal of History (Yoksahak Yongu)},
5 volume={100},
6 pages={267--297},
7 year={2025},
8 publisher={Honam Historical Society},
9 doi={10.37924/JSSW.100.9}
10}
1112@article{yang2026interpretation,
13 title={Conventions of Interpretation: Improving a Punctuation Prediction Model for Korean Classical Chinese},
14 author={Yang, Junghyun},
15 journal={Korean Cultural Studies},
16 volume={111},
17 pages={7--29},
18 year={2026},
19 publisher={Research Institute of Korean Studies, Korea University},
20 doi={10.17948/kcs.2026..111.7}
21}
Paper Information:
v1.0 (Prior Study)
Journal: 역사학연구 (The Korean Journal of History)
Volume: 100 / Pages: 267-297
Publication Date: November 30, 2025
Publisher: 호남사학회 (Honam Historical Society)
DOI: 10.37924/JSSW.100.9
v2.0–v2.5 (Improvement Study)
Journal: 민족문화연구 (Korean Cultural Studies)
Volume: 111 / Pages: 7-29
Publication Year: 2026
Publisher: 고려대학교 민족문화연구원 (Research Institute of Korean Studies, Korea University)
DOI: 10.17948/kcs.2026..111.7
License
CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike 4.0)
✅ Permitted:
Academic research and publication
Educational use
Non-commercial projects
Modification and redistribution (with same license)