salutation-lex
v1.2.0
Published
A lexicon for arrival and departure salutations
Downloads
10
Maintainers
Readme
Salutation lex
A lexicon for arrival and departure salutations
This module can be used as both a function and via the command line
As a module it exports a Lexicon instance using the package Lemme lex
Supported languages
- English (British)
- Japanese (Fork and commit if you would like to contribute to the list)
Installation
NPM
npm i --save salutation-lex
Yarn
yarn add salutation-lex
CLI
npm i -g salutation-lex
Usage
Code
const SalutationLex = require('salutation-lex');
let lex = new SalutationLex();
console.log(lex); // Will output class instance using lemme-lex
CLI
salutation-lex --locale=en_GB
(Will output lexicon as text file called salutation.lex)