An open API service indexing awesome lists of open source software.

https://github.com/truemedia/lemme-lex

A library for creating dictionaries that can be utilised by NLP tools
https://github.com/truemedia/lemme-lex

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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

## Installation

NPM
```bash
npm i --save lemme-lex
```

Yarn
```bash
yarn add lemme-lex
```

## Usage

```js
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
```