lemme-lex
v0.4.1
Published
A library for creating dictionaries that can be utilised by NLP tools
Downloads
16
Maintainers
Readme
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