Skip to content

Commit

Permalink
ontologia-multi-writing-system (#7): cor.hxltm.215.yml, 36.77.995.yml…
Browse files Browse the repository at this point in the history
… ,❤️.____.993.yml
  • Loading branch information
fititnt committed Nov 15, 2021
1 parent bc01701 commit 57207a1
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 10 deletions.
38 changes: 36 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,46 @@
# hxltm
**[monorepo split not finished] See https://github.com/EticaAI/HXL-Data-Science-file-formats/issues/25**
# Multilingual Terminology in Humanitarian Language Exchange (HXLTM) - Ontologia and reference implementation by EticaAI
[![Site](https://img.shields.io/badge/Site-hxltm.etica.ai-blue[Site] "Site")](https://hxltm.etica.ai/)
[![GitHub](https://img.shields.io/badge/GitHub-EticaAI%2Fhxltm-lightgrey?logo=github&style=social[EticaAI/hxltm] "GitHub")](https://github.com/EticaAI/hxltm)
[![Pypi: hxltm-eticaai](https://img.shields.io/badge/python%20pypi-hxltm--eticaai-brightgreen[Python]
"Pypi: hxltm-eticaai")](https://pypi.org/project/hxltm-eticaai/)

The _Multilingual Terminology in Humanitarian Language Exchange_
(abbreviation: _HXLTM_) is an HXLated valid tabular format (stricly, a
documented subset of [HXL Standard](https://hxlstandard.org/[HXL]) started by
[HXL-CPLP](https://github.com/HXL-CPLP) with strong focus to store community
contributed translations and multilingual terminology while maximizing
portability for implementers.

<!--
---
Quickstart
- <https://hxltm.etica.ai/>
```bash
pip install hxltm-eticaai
```
---
(like via use of `+hxltmcli+` to export to
Excel, +++<abbr title="XML Localization Interchange File Format">XLIFF</abbr>+++,
+++<abbr title="Translation Memory eXchange">TMX</abbr>+++,
+++<abbr title="TermBase eXchange">TBX</abbr>+++,
+++<abbr title="Universal Terminology eXchange">UTX</abbr>+++, JSON, CSV,
link:archivum/[and more!]
**[monorepo split not finished] See https://github.com/EticaAI/HXL-Data-Science-file-formats/issues/25**
- <https://hxltm.etica.ai/>
```bash
pip install hxltm-eticaai
```
-->

<!--
Expand Down
4 changes: 2 additions & 2 deletions bin/hxltmcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# cat un-htcds.tm.hxl.csv | hxltmcli > un-htcds.xliff
#
# DESCRIPTION: _[eng-Latn] The HXLTM reference implementation in python.
# While this can installed with hdp-toolchain:
# pip install hdp-toolchain
# While this can installed with hxltm-eticaai:
# pip install hxltm-eticaai
# The one--big-file hxltmcli.py (along with the
# cor.hxltm.yml) can be customized as single
# python script. But on this case, you will need
Expand Down
10 changes: 5 additions & 5 deletions docs/eng-Latn/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ also tooling for bilingual
`+hxltmcli+` file and install manually dependencies, like the
https://github.com/HXLStandard/libhxl-python[HXLStandard/libhxl-python],
you can install with the
https://pypi.org/project/hdp-toolchain/[hdp-toolchain].
https://pypi.org/project/hxltm-eticaai/[hxltm-eticaai].

[source,bash]
----
# hxltmcli is installed with the hdp-toolchain, no extras required.
# @see https://pypi.org/project/hdp-toolchain/
pip install hdp-toolchain[hxltm]
# hxltmcli is installed with the hxltm-eticaai, no extras required.
# @see https://pypi.org/project/hxltm-eticaai/
pip install hxltm-eticaai
hxltmcli --help
Expand Down Expand Up @@ -236,7 +236,7 @@ possible by, instead of `hxltmcli input.hxl.csv output.hxl.csv` use
[source,bash]
----
# libhxl already is installed with hdp-toolchain
# libhxl already is installed with hxltm-eticaai
hxlselect --help
# Filter rows in a HXL dataset. (...)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= HXLM index
= HXLTM index


////
Expand Down
28 changes: 28 additions & 0 deletions ontologia/36.77.995.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# ontologia/36.77.995.yml
# @seee https://github.com/EticaAI/hxltm/issues/7
___0: 995 # 995 = Zmth, Mathematical notation
___1: 77 # hxltm; h + x +l + t + m = 77 (if modern latin alphabet)
___2: 36 # cor; 36 (if modern latin alphabet)


# h = 8
# x = 24
# l = 12
# t = 20
# m = 13
# h + x +l + t + m = 77 (if modern latin alphabet)
# c = 3
# o = 15
# r = 18
# c + o + r = = 36 (if modern latin alphabet)


# - https://en.wikipedia.org/wiki/History_of_the_Latin_script#Archaic_Latin_alphabet
# - Original Latin alphabet, in the modern equivalent letters
# - A B C D E F Z H I K L M N O P Q R S T V X
# h = 8
# x = 21 (not 24)
# l = 11 (not 12)
# t = 19 (not 20)
# m = 12 (not 13)
# h + x +l + t + m = 71 (if old latin alphabet)
5 changes: 5 additions & 0 deletions ontologia/cor.hxltm.215.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ontologia/cor.hxltm.215.yml
# https://github.com/EticaAI/hxltm/issues/7
___0: 215 # 215 = Latn
___1: hxltm # hxltm
___2: cor # cor, "heart" in english
6 changes: 6 additions & 0 deletions ontologia/❤️.____.993.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ontologia/❤️.____.993.yml
# @see https://github.com/EticaAI/hxltm/issues/7
___0: 993 # 993 = Symbols (Emoji variant)
___1: ____ # hxltm; ???
___2: ❤️ # heart

0 comments on commit 57207a1

Please sign in to comment.