-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mvp-HXLTM (#16): _hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.…
…hxlspec.json, exemplum
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# _hxltm/exemplum/README.md | ||
|
||
|
||
```sh | ||
# pip install libhxl | ||
# @see https://github.com/HXLStandard/libhxl-python | ||
cd | ||
|
||
hxlspec _hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.hxlspec.json > _hxltm/out/schemam-un-htcds_eng-Latn--por-Latn.csv | ||
|
||
head -n3 _hxltm/out/schemam-un-htcds_eng-Latn--por-Latn.csv | ||
# Codicem,Lingua Lusitana,Lingua Lusitana (alternātīvum),Lingua Anglica,Lingua Anglica (alternātīvum),Lingua Anglica (meta) | ||
# #item+id,#item+i_pt+i_por+is_latn,#item+i_pt+i_por+is_latn+alt+list,#item+i_en+i_eng+is_latn,#item+i_en+i_eng+is_latn+alt+list,#meta+item+i_en+i_eng+is_latn | ||
# L10N_ego_summarius,Língua portuguesa (alfabeto latino),∅,English language (Latin script),∅,∅ | ||
|
||
``` |
26 changes: 26 additions & 0 deletions
26
_hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.hxlspec.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"input": "https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=1292720422", | ||
"recipe": [ | ||
{ | ||
"filter": "with_rows", | ||
"queries": [ | ||
"#status>-1" | ||
], | ||
"$comment": "_[eng-Latn]Only rows that are ready for translation (including initial metadata per file)[eng-Latn]_" | ||
}, | ||
{ | ||
"filter": "with_columns", | ||
"includes": "#item+id,#item+i_en+i_eng+is_latn,#item+i_pt+i_por+is_latn,#meta+item+i_en+i_eng+is_latn", | ||
"$comment": "_[eng-Latn]Select only some fields[eng-Latn]_" | ||
} | ||
], | ||
"$comments": [ | ||
{ | ||
"$comment": "_[eng-Latn]Only rows that are ready for translation, but still includes the #status=2 (like the initial testing fields)[eng-Latn]_", | ||
"filter": "with_rows", | ||
"queries": [ | ||
"#status=1" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters