/skos2excel

Converts Arches thesaurus files to an excel spreadsheet and optionally translates them using deep_translate

Primary LanguagePythonDo What The F*ck You Want To Public LicenseWTFPL

SKOS <---> Excel

A tool to assist Arches translators.

Previous work:

This script is currently in development. Its purpose is to take an Arches thesaurus in SKOS(RDF/XML) format and spit out an Excel file, optionally translating into an additional language, much like po2excel did.

The reverse scriptwhich takes the checked spreadsheet and recreate the thesaurus for importing back into Arches.

Install dependencies

pip3 install -r requirements.txt

From XML to XLSX

Convert EAMENA.xml to French, as XLSX

py skos2excel.py ./data/EAMENA.xml ./data/EAMENA_fr.xlsx -lang fr -f xlsx 

From XLSX to XML

py excel2skos.py ./data/EAMENA_fr.xlsx ./data/EAMENA_fr.xml -b ./data/EAMENA.xml