Skip to content

Commit

Permalink
mvp-HXLTM (#16): _hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.…
Browse files Browse the repository at this point in the history
…hxlspec.json, exemplum
  • Loading branch information
fititnt committed Jun 27, 2021
1 parent 4d50e7f commit dc3f8a7
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _hxltm/exemplum/README.md
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 _hxltm/exemplum/schemam-un-htcds_eng-Latn--por-Latn.hxlspec.json
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"
]
}
]
}
1 change: 1 addition & 0 deletions _systema/programma/hxltm-exportandum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# @see https://github.com/HXL-CPLP/forum/issues/58
# To manually test, via cli
# sh /opt/okapi/tikal.sh --info
# sh /opt/okapi/tikal.sh -listconf
# To manually test, via gui
# sh /opt/okapi/rainbow.sh
# To get started with Okapi:
Expand Down

0 comments on commit dc3f8a7

Please sign in to comment.