Lod-lite - npm package

Published on December 22, 2020

See the reuse

Roberto Entringer

Focusing primarily on simplicity, I develop powerful, clean, smart, efficient, web apps, responsive websites, WordPress themes and plugins. I am practiced in the areas of hosting, SEO, progressive web apps, back-end and front-end development. ROBERTO ENTRINGER - Full-stack Web Developer @ Luxembourg

1 datasets

4 reuses

  • audio
  • extract
  • letzebuerger-online-dictionnaire
  • lod
  • lod-lu
  • mp3
  • parse

Informations

Type
Application
Topic
Others
ID
5fe224faad8d9f5edd34d631

Publication

Embed

Permalink

Description

Lod-lite

A NPM package to extract data of the Lëtzebuerger Online Dictionnaire (LOD).

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

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']
}

Used datasets 0

Discussion between the owner and the community about this reuse.

More reuses

Discover more reuses.