lemme-lex

0.4.1 • Public • Published

Lemme Lex

A library for creating dictionaries that can be utilised by NLP tools

Installation

NPM

    npm i --save lemme-lex

Yarn

    yarn add lemme-lex

Usage

const {Lexicon, Lexeme} = require('lemme-lex');
let phrase = new Lexeme('hello there', ['ArrivalSalutation']);
let lex = new Lexicon();
lex.addEntry(phrase);
console.log(lex.toJson()); // Should output an object

Package Sidebar

Install

npm i lemme-lex

Weekly Downloads

3

Version

0.4.1

License

ISC

Unpacked Size

14 kB

Total Files

14

Last publish

Collaborators

  • truemedia