lod-lite

1.0.3 • Public • Published

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)

screenshot.png

Package Sidebar

Install

npm i lod-lite

Weekly Downloads

10

Version

1.0.3

License

MIT

Unpacked Size

12.1 kB

Total Files

4

Last publish

Collaborators

  • rentringer