0.4.1 • Published 6 years ago
lemme-lex v0.4.1
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