pagantibet commited on
Commit
25e9c9c
·
verified ·
1 Parent(s): 1cf625e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -35
README.md CHANGED
@@ -14,52 +14,51 @@ tags:
14
  size_categories:
15
  - 1M<n<10M
16
  task_categories:
17
- - text2text-generation
18
  ---
19
 
20
- # normalisation-S2S-training
21
 
22
- A large-scale parallel training dataset for **Classical Tibetan text normalisation**, containing approximately 2 million line pairs mapping diplomatic (non-standard, abbreviated) Tibetan manuscript text to Standard Classical Tibetan. This dataset was used to train the sequence-to-sequence normalisation models released as part of the [PaganTibet](https://www.pagantibet.com/) project.
23
 
24
- The dataset combines a manually curated gold-standard corpus with extensively augmented data generated using four complementary strategies designed to simulate the scribal variation, abbreviation, and orthographic inconsistency characteristic of historical Tibetan manuscripts.
25
 
26
  This dataset is part of the [PaganTibet](https://www.pagantibet.com/) project and accompanies the paper:
27
 
28
- > Meelen, M. & Griffiths, R.M. (2026) 'Historical Tibetan Normalisation: rule-based vs neural & n-gram LM methods for extremely low-resource languages' in *Proceedings of the AI4CHIEF conference*, Springer.
29
 
30
  Please cite the paper and the [code repository](https://github.com/pagantibet/normalisation) when using this dataset.
31
 
32
  ---
33
 
34
- ## Dataset Description
35
 
36
  Classical Tibetan manuscripts present significant challenges for automatic normalisation: texts are riddled with abbreviations, non-standard spellings, diacritic variation, and scribal idiosyncrasies, while parallel training data — pairs of diplomatic input alongside normalised output — is extremely scarce. This dataset addresses that scarcity through systematic data augmentation, expanding a small gold-standard collection into a training corpus of over 2 million examples.
37
 
38
- Each row in the dataset is a single line of Tibetan text. The dataset is structured as a **source–target parallel corpus**: source lines contain diplomatic or non-standard Tibetan, and target lines contain the corresponding Standard Classical Tibetan normalisation. Because the augmentation pipeline generates source-side variation from known target-side text, source and target lines are paired and must be used together during training.
39
 
40
- The dataset is provided in its **non-tokenised** form. A tokenised version was also used in experiments (see Meelen & Griffiths 2026) but is not separately released, as tokenisation can be applied at training time using the scripts provided in the [Data_Preparation](https://github.com/pagantibet/normalisation/tree/main/Data_Preparation) directory.
41
 
42
- ### Dataset Statistics
43
-
44
- | Split | Rows |
45
- |---|---|
46
- | train | ~2,028,816 |
47
-
48
- ---
49
 
50
  ## Data Sources
51
 
52
  The dataset draws on three underlying sources:
53
 
54
  **1. Gold-standard parallel data (PaganTibet corpus)**
55
- A collection of 7,421 manually normalised line pairs from the PaganTibet corpus, representing real diplomatic Tibetan manuscript text alongside its Standard Classical Tibetan normalisation. This is the only portion of the dataset containing genuine diplomatic source text; all other source-side material is synthetically generated from standard text.
 
56
 
57
  **2. Standard Classical Tibetan — ACTib corpus**
58
- The ACTib (>180 million words; [Meelen & Roux 2020](https://zenodo.org/records/3951503)) was used as the target-side basis for augmented examples. Lines were cleaned to remove non-Tibetan content (e.g. page numbers) and split into manuscript-length sequences using the `createTiblines.py` script, producing an 8-million-line pool from which training examples were drawn.
 
59
 
60
  **3. Tibetan abbreviation dictionary**
 
61
  A [custom-built abbreviation dictionary](https://huggingface.co/datasets/pagantibet/Tibetan-abbreviation-dictionary) of approximately 10,000 diplomatic abbreviation–expansion pairs, used in the dictionary-based augmentation strategy described below.
62
 
 
 
 
63
  ---
64
 
65
  ## Data Augmentation
@@ -76,7 +75,7 @@ python3 Tibrandomnoiseaugmentation.py my_corpus.txt
76
 
77
  ### 2. OCR-Based Noise Simulation
78
 
79
- To model errors introduced during optical character recognition of Tibetan manuscripts, the [nlpaug](https://github.com/makcedward/nlpaug) library was used to generate OCR-realistic noise patterns. This augmentation strategy targets the specific character confusions and distortions that arise when digitising historical Tibetan documents.
80
 
81
  ```bash
82
  python3 nlpaugtib.py --input <input_file.txt> --type nonsegmented [--aug_prob FLOAT]
@@ -87,12 +86,12 @@ python3 nlpaugtib.py --input <input_file.txt> --type nonsegmented [--aug_prob FL
87
  A targeted rule-based augmentation script applies character replacements reflecting common scribal conventions and variations found in historical Tibetan manuscripts. Transformations are applied stochastically at the character and syllable levels, with adjustable ratios to control the density of introduced variation.
88
 
89
  ```bash
90
- python3 tibrule_augmentation.py input.txt --char-ratio 0.1 --syllable-ratio 0.05
91
  ```
92
 
93
  ### 4. Dictionary-Based Augmentation
94
 
95
- Entries from the Tibetan abbreviation dictionary are injected into random lines, exposing the model to a wide range of abbreviation–expansion pairs during training. This augmentation is particularly important for teaching the model to resolve the abbreviated forms that are among the most frequent and systematic deviations from standard orthography in diplomatic Tibetan texts.
96
 
97
  ```bash
98
  python3 dictionary-augmentation.py input.txt abbreviation-dictionary.txt
@@ -145,21 +144,6 @@ The dataset is not suitable for evaluating normalisation performance, as the aug
145
 
146
  ---
147
 
148
- ## Citation
149
-
150
- If you use this dataset, please cite the accompanying paper and the code repository:
151
-
152
- ```bibtex
153
- @inproceedings{meelen-griffiths-2026-tibetan-normalisation,
154
- author = {Meelen, Marieke and Griffiths, R.M.},
155
- title = {Historical Tibetan Normalisation: rule-based vs neural \& n-gram LM methods for extremely low-resource languages},
156
- booktitle = {Proceedings of the AI4CHIEF conference},
157
- publisher = {Springer},
158
- year = {2026}
159
- }
160
- ```
161
-
162
- ---
163
 
164
  ## License
165
 
 
14
  size_categories:
15
  - 1M<n<10M
16
  task_categories:
17
+ - text-generation
18
  ---
19
 
20
+ # Tibetan Normalisation - S2S Training Data
21
 
22
+ A large-scale parallel training dataset for Tibetan text normalisation, containing approximately 2 million line pairs mapping diplomatic (non-standard, abbreviated) Tibetan manuscript text to Standard Classical Tibetan. This dataset was used to train the sequence-to-sequence normalisation models ([tokenised S2S model](https://huggingface.co/pagantibet/normalisationS2S-tokenised) and [non-tokenised S2S model](https://huggingface.co/pagantibet/normalisationS2S-nontokenised)) released as part of the [PaganTibet](https://www.pagantibet.com/) project.
23
 
24
+ The dataset combines a manually curated gold-standard corpus with extensively augmented data generated using four complementary strategies designed to simulate the scribal variation, abbreviation, and orthographic inconsistency characteristic of historical Tibetan manuscripts. For more on Data Augmentation, see our [GitHub repository](https://github.com/pagantibet/normalisation/tree/main/Data_Augmentation).
25
 
26
  This dataset is part of the [PaganTibet](https://www.pagantibet.com/) project and accompanies the paper:
27
 
28
+ Meelen, M. & Griffiths, R.M. (2026) 'Historical Tibetan Normalisation: rule-based vs neural & n-gram LM methods for extremely low-resource languages' in *Proceedings of the AI4CHIEF conference*, Springer.
29
 
30
  Please cite the paper and the [code repository](https://github.com/pagantibet/normalisation) when using this dataset.
31
 
32
  ---
33
 
34
+ ## Dataset Overview
35
 
36
  Classical Tibetan manuscripts present significant challenges for automatic normalisation: texts are riddled with abbreviations, non-standard spellings, diacritic variation, and scribal idiosyncrasies, while parallel training data — pairs of diplomatic input alongside normalised output — is extremely scarce. This dataset addresses that scarcity through systematic data augmentation, expanding a small gold-standard collection into a training corpus of over 2 million examples.
37
 
38
+ Each row in the dataset is a single line of Tibetan text (UTF-8 encoded). The dataset is structured as a **source–target parallel corpus**: source lines contain diplomatic or non-standard Tibetan, and target lines contain the corresponding Standard Classical Tibetan normalisation. Because the augmentation pipeline generates source-side variation from known target-side text, source and target lines are paired and must be used together during training.
39
 
40
+ The dataset is provided in its non-tokenised form. A tokenised version was also used in experiments (see Meelen & Griffiths 2026) but is not separately released, as tokenisation can be applied at training time using the scripts provided in the [Data_Preparation](https://github.com/pagantibet/normalisation/tree/main/Data_Preparation) directory.
41
 
 
 
 
 
 
 
 
42
 
43
  ## Data Sources
44
 
45
  The dataset draws on three underlying sources:
46
 
47
  **1. Gold-standard parallel data (PaganTibet corpus)**
48
+
49
+ A collection of 7,421 manually normalised line pairs from the PaganTibet corpus, representing diplomatic Tibetan manuscript text alongside its Standard Classical Tibetan normalisation. This is the only portion of the dataset containing genuine diplomatic source text; all other source-side material is synthetically generated from standard text.
50
 
51
  **2. Standard Classical Tibetan — ACTib corpus**
52
+
53
+ The ACTib (>180 million words; [Meelen & Roux 2020](https://zenodo.org/records/3951503)) was used as the target-side basis for augmented examples. Lines were cleaned to remove non-Tibetan content (e.g. page numbers) and split into manuscript-length sequences using the [`createTiblines.py`](https://github.com/pagantibet/normalisation/tree/main/Data_Preparation) script, producing an 8-million-line pool from which training examples were drawn.
54
 
55
  **3. Tibetan abbreviation dictionary**
56
+
57
  A [custom-built abbreviation dictionary](https://huggingface.co/datasets/pagantibet/Tibetan-abbreviation-dictionary) of approximately 10,000 diplomatic abbreviation–expansion pairs, used in the dictionary-based augmentation strategy described below.
58
 
59
+
60
+ *Note: the Hugging Face Dataset Viewer displays the dataset as a single train split — this is a technical default.*
61
+
62
  ---
63
 
64
  ## Data Augmentation
 
75
 
76
  ### 2. OCR-Based Noise Simulation
77
 
78
+ To model errors introduced during optical character recognition (OCR) of Tibetan manuscripts, the [nlpaug](https://github.com/makcedward/nlpaug) library was used to generate OCR-realistic noise patterns. This augmentation strategy targets the specific character confusions and distortions that arise when digitising historical Tibetan documents.
79
 
80
  ```bash
81
  python3 nlpaugtib.py --input <input_file.txt> --type nonsegmented [--aug_prob FLOAT]
 
86
  A targeted rule-based augmentation script applies character replacements reflecting common scribal conventions and variations found in historical Tibetan manuscripts. Transformations are applied stochastically at the character and syllable levels, with adjustable ratios to control the density of introduced variation.
87
 
88
  ```bash
89
+ python3 tibrule-augmentation.py input.txt --char-ratio 0.1 --syllable-ratio 0.05
90
  ```
91
 
92
  ### 4. Dictionary-Based Augmentation
93
 
94
+ Entries from the [Tibetan abbreviation dictionary](https://huggingface.co/datasets/pagantibet/Tibetan-abbreviation-dictionary) are injected into random lines, exposing the model to a wide range of abbreviation–expansion pairs during training. This augmentation is particularly important for teaching the model to resolve the abbreviated forms that are among the most frequent and systematic deviations from standard orthography in diplomatic Tibetan texts.
95
 
96
  ```bash
97
  python3 dictionary-augmentation.py input.txt abbreviation-dictionary.txt
 
144
 
145
  ---
146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
 
148
  ## License
149