Datasets:

Modalities:
Text
Formats:
json
Size:
< 1K
ArXiv:
License:
miwytt commited on
Commit
8b17fb9
·
verified ·
1 Parent(s): 64d6cdb

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +146 -0
README.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Document-Level Word Alignment
3
+ license: other
4
+ license_name: mixed-per-subset
5
+ license_link: LICENSE.md
6
+ language:
7
+ - en
8
+ - fr
9
+ - ro
10
+ - ja
11
+ - zh
12
+ - grc
13
+ - la
14
+ - pt
15
+ - cs
16
+ multilinguality: multilingual
17
+ task_categories:
18
+ - token-classification
19
+ task_ids: []
20
+ size_categories:
21
+ - 1K<n<10K
22
+ configs:
23
+ - config_name: en-fr
24
+ data_files:
25
+ - split: dev
26
+ path: documents/en-fr/dev.json
27
+ - split: test
28
+ path: documents/en-fr/test.json
29
+ - config_name: en-ro
30
+ data_files:
31
+ - split: dev
32
+ path: documents/en-ro/dev.json
33
+ - split: test
34
+ path: documents/en-ro/test.json
35
+ - config_name: en-ja
36
+ data_files:
37
+ - split: dev
38
+ path: documents/en-ja/dev.json
39
+ - split: test
40
+ path: documents/en-ja/test.json
41
+ - config_name: en-zh
42
+ data_files:
43
+ - split: dev
44
+ path: documents/en-zh/dev.json
45
+ - split: test
46
+ path: documents/en-zh/test.json
47
+ - config_name: la-gr
48
+ data_files:
49
+ - split: dev
50
+ path: documents/la-gr/dev.json
51
+ - split: test
52
+ path: documents/la-gr/test.json
53
+ - config_name: en-cz
54
+ data_files:
55
+ - split: test
56
+ path: documents/en-cz/test.json
57
+ ---
58
+
59
+ # Document-Level Word Alignment
60
+
61
+ Document-level word alignment data for six language pairs — English–French (en-fr), English–Romanian (en-ro), English–Japanese (en-ja), English–Chinese (en-zh), Latin–Greek (la-gr), and English–Czech (en-cz) — reconstructed from existing sentence-level, human-annotated word alignment gold standards.
62
+
63
+ Document-level examples are built by grouping sentence-level annotations by document membership and sentence order; the dataset does not contain new human annotation beyond what already exists in the source corpora (see [Sources & Licensing](#sources--licensing)). A matching sentence-level version of this data is used in the accompanying paper but is not included in this release.
64
+
65
+ This dataset accompanies the paper *"Scaling Unsupervised Word Alignment to Documents with Structural Constraints"* (\[citation TODO\]).
66
+
67
+ > **Draft / unpublished:** this repository is currently private and not part of any public release. Remove this notice once finalized for public/camera-ready release.
68
+
69
+ ## Dataset Structure
70
+
71
+ Each configuration corresponds to a language pair, e.g. `en-ja`. Each row is one document pair (sentences concatenated in original order). Splits are `dev` and `test`, except `en-cz`, which is **test-only** (the source corpus has no dev partition).
72
+
73
+ ### Data Fields
74
+
75
+ | Field | Type | Description |
76
+ |---|---|---|
77
+ | `sent_id` | string | Unique identifier for the document |
78
+ | `doc_id` | string | Identifier of the parent document |
79
+ | `lang` | string | Language pair code, e.g. `"en-ja"` |
80
+ | `text_a` | string | Source-language text (whitespace-tokenized) |
81
+ | `text_b` | string | Target-language text (whitespace-tokenized) |
82
+ | `sure_align` | string | Space-separated `i-j` sure alignment links (0-indexed word positions, `i` in `text_a`, `j` in `text_b`) |
83
+ | `possible_align` | string | Space-separated `i-j` possible alignment links |
84
+
85
+ ### Example
86
+
87
+ ```json
88
+ {"sent_id": "trial", "doc_id": "trial", "lang": "en-fr",
89
+ "text_a": "source document text ...", "text_b": "target document text ...",
90
+ "sure_align": "0-0 3-5", "possible_align": "1-1"}
91
+ ```
92
+
93
+ ### Dataset Statistics (dev / test)
94
+
95
+ | Lang pair | Docs (dev/test) | Sentences (dev/test) | Mean doc length (chars) | Mean sent. length (chars) |
96
+ |---|---|---|---|---|
97
+ | en-fr | 1 / 1 | 37 / 447 | 22,408 | 92 |
98
+ | en-ro | 1 / 10 | 17 / 248 | 2,901 | 119 |
99
+ | en-ja | 8 / 7 | 653 / 582 | 5,516 | 66 |
100
+ | en-zh | 47 / 52 | 450 / 450 | 646 | 70 |
101
+ | la-gr | 1 / 1 | 25 / 75 | 5,837 | 116 |
102
+ | en-cz | — / 33 | — / 1,636 | 6,318 | 126 |
103
+
104
+ Lengths are target-side (`text_b`) character counts. `la-gr`'s dev/test split is a **custom 25%/75% split** created for this release (the original Ugarit gold standard is not pre-split). `en-fr` and `la-gr` test sets each consist of a **single document pair** — treat document-level, per-language-pair results for these two pairs as illustrative rather than statistically robust (see Limitations).
105
+
106
+ ## Sources & Licensing
107
+
108
+ This is a derived/reconstructed dataset. Each language pair originates from a separate, independently licensed source. **License terms are per-subset, not uniform across the dataset** — check the table below before reusing a given configuration.
109
+
110
+ | Lang pair | Original source | License | Required attribution |
111
+ |---|---|---|---|
112
+ | en-ja | KFTT alignment data (Neubig, Kyoto Free Translation Task) | CC BY-SA 3.0 | Graham Neubig, [phontron.com/kftt](http://www.phontron.com/kftt) |
113
+ | la-gr, en-gr, pt-gr\* | Ugarit Alignment Gold Standards (Palladino, Shamsian, Yousef et al.) | CC BY-SA 4.0 | Palladino, C., Shamsian, F., Yousef, T., Wright, D.J., d'Orange Ferreira, A. and dos Reis, M.F., 2023. *Translation Alignment for Ancient Greek: Annotation Guidelines and Gold Standards.* Journal of Open Humanities Data, 9(1), p.22. |
114
+ | en-fr, en-ro | Mihalcea & Pedersen, HLT-NAACL 2003 Workshop *"Building and Using Parallel Texts"* shared task | Not formally specified by the source; \[maintainer note: confirm redistribution terms with original organizers before release\] | Mihalcea, R. and Pedersen, T., 2003. *An evaluation exercise for word alignment.* Proceedings of the HLT-NAACL 2003 Workshop on Building and Using Parallel Texts. |
115
+ | en-zh | Tsinghua Aligner evaluation set (Liu, Xue et al.) | Not formally specified by the source; \[maintainer note: confirm redistribution terms with original authors before release\] | Liu, Y. and Xue, X. |
116
+ | en-cz | Word alignment gold data based on Mareček's diploma thesis, distributed via LINDAT | \[maintainer note: verify exact LINDAT license before release\] | Mareček, D., 2011. *Automatic Alignment of Tectogrammatical Trees from Czech-English Parallel Corpus.* Diploma thesis. |
117
+
118
+ \* `en-gr` and `pt-gr` are included in the raw data but excluded from the paper's evaluation and from `en-gr`/`pt-gr`-specific processing in the accompanying pipeline; included here for completeness under the same CC BY-SA 4.0 terms as `la-gr`.
119
+
120
+ By using any configuration of this dataset, you agree to comply with the license and attribution terms of that configuration's original source, in addition to any terms stated here.
121
+
122
+ **If you are the maintainer preparing this for release:** the three subsets marked "not formally specified" above should not be republished as raw text without either (a) written permission from the original authors, or (b) reducing that configuration to alignment indices only, with `text_a`/`text_b` reconstructed locally by users via the existing `scripts/preprocessing.py` download-and-build pipeline. Resolve this before making the repository public.
123
+
124
+ ## Dataset Creation
125
+
126
+ Document-level examples were constructed by concatenating sentence-level source/target texts within a document in their original order and re-indexing `sure_align`/`possible_align` accordingly. No new annotation was performed; annotation quality, guidelines, and inter-annotator agreement are inherited from each original source (see citations above for details on each). Full preprocessing code is available at \[code repository TODO\].
127
+
128
+ ## Limitations
129
+
130
+ - Document structures in this dataset are reconstructed from sentence-level annotations and are consequently near-monotonic; they do not reflect reordering, insertion, or deletion phenomena that occur in naturally-authored document pairs.
131
+ - Sentence-level annotation may not capture document-level phenomena such as long-range reordering, cross-sentence dependencies, or omissions/additions spanning multiple sentences.
132
+ - Some splits contain very few document pairs (`en-fr` test: 1 document; `la-gr` test: 1 document), limiting the statistical reliability of document-level, per-language-pair evaluation on these pairs.
133
+ - `en-cz` has no dev split; hyperparameter selection for this pair in the accompanying paper was transferred from other language pairs rather than tuned directly.
134
+
135
+ ## Citation
136
+
137
+ If you use this dataset, please cite both this work and the original source(s) listed in [Sources & Licensing](#sources--licensing) for the language pair(s) you use.
138
+
139
+ ```bibtex
140
+ @inproceedings{TODO,
141
+ title = {Scaling Unsupervised Word Alignment to Documents with Structural Constraints},
142
+ author = {TODO},
143
+ booktitle = {TODO},
144
+ year = {2026}
145
+ }
146
+ ```