lod-lite
v1.0.3
Published
A NPM package to extract data of the Lëtzebuerger Online Dictionnaire (LOD)
Downloads
11
Maintainers
Readme
Lod-lite
A NPM package to extract data of the Lëtzebuerger Online Dictionnaire (LOD).
Author: Roberto Entringer License: MIT Npm package: https://www.npmjs.com/package/lod-lite Github: https://github.com/robertoentringer/lod-lite#readme
Installation
$ npm install lod-lite
Usage
Call script from the package.json:
"scripts": {
"extract": "lod-lite"
}
Call script from the terminal:
$ npx lod-lite
XML Schema
Schema: https://www.lod.lu/schema/lod-opendata.xsd
Example of schema file
module.exports = {
target: [
'lod:renvoi-adj',
'lod:renvoi-adv',
'lod:renvoi-art',
'lod:renvoi-conj',
'lod:renvoi-int',
'lod:renvoi-part',
'lod:renvoi-prep',
'lod:renvoi-pron',
'lod:renvoi-subst',
'lod:renvoi-vrb'
],
id: ['lod:id'],
lu: ['lod:item-adresse'],
de: [
'lod:trad-all-domin',
'lod:equiv-trad-all',
'lod:trad-all-subord',
'lod:eta-explicite',
'lod:rs-eta-presente'
],
fr: [
'lod:trad-fr-domin',
'lod:equiv-trad-fr',
'lod:trad-fr-subord',
'lod:etf-explicite',
'lod:rs-etf-presente'
],
pt: [
'lod:trad-pt-domin',
'lod:equiv-trad-po',
'lod:trad-pt-subord',
'lod:etp-explicite',
'lod:rs-etp-presente'
],
en: [
'lod:trad-en-domin',
'lod:equiv-trad-en',
'lod:trad-en-subord',
'lod:ete-explicite',
'lod:rs-ete-presente'
],
audio: ['lod:audio']
}
Data source
Data from the "Lëtzebuerger Online Dictionnaire" (LOD)
Website: http://www.lod.lu Source: https://data.public.lu/fr/datasets/letzebuerger-online-dictionnaire/ Licence: Creative Commons Zero (CC0)