matejklemen
commited on
Commit
•
d7406d5
1
Parent(s):
e2a549a
Update README.md
Browse files
README.md
CHANGED
@@ -121,7 +121,7 @@ The instance represents a correction in the document 'solar1' (`id_doc`), which
|
|
121 |
- `idx_tgt_sent`: a uint32 containing the index of the target sentence inside its paragraph (`-1` if there is no target sentence);
|
122 |
- `id_tgt_tokens`: identifiers of words in the target sentence (`[]` if there is no target sentence);
|
123 |
- `tgt_tokens`: words in the target sentence (`[]` if there is no target sentence);
|
124 |
-
- `corrections`: a list of the corrections, with each correction represented with a dictionary, containing the indices of the source tokens involved (`idx_src`), target tokens involved `idx_tgt
|
125 |
|
126 |
Note: `idx_src_par`, `idx_src_sent`, `idx_tgt_par`, `idx_tgt_sent` can be used to reconstruct the order of the sentences in the document (although in the above code snippet for grouping by documents, the instances are assumed to be listed in order of appearance).
|
127 |
|
|
|
121 |
- `idx_tgt_sent`: a uint32 containing the index of the target sentence inside its paragraph (`-1` if there is no target sentence);
|
122 |
- `id_tgt_tokens`: identifiers of words in the target sentence (`[]` if there is no target sentence);
|
123 |
- `tgt_tokens`: words in the target sentence (`[]` if there is no target sentence);
|
124 |
+
- `corrections`: a list of the corrections, with each correction represented with a dictionary, containing the indices of the source tokens involved (`idx_src`), target tokens involved (`idx_tgt`), and the categories of the corrections made (`corr_types`). Please note that there can be multiple assigned categories for one annotated correction, in which case `len(corr_types) > 1`.
|
125 |
|
126 |
Note: `idx_src_par`, `idx_src_sent`, `idx_tgt_par`, `idx_tgt_sent` can be used to reconstruct the order of the sentences in the document (although in the above code snippet for grouping by documents, the instances are assumed to be listed in order of appearance).
|
127 |
|