https://github.com/truemedia/salutation-lex
A lexicon for arrival and departure salutations
https://github.com/truemedia/salutation-lex
Last synced: 3 months ago
JSON representation
A lexicon for arrival and departure salutations
- Host: GitHub
- URL: https://github.com/truemedia/salutation-lex
- Owner: Truemedia
- License: mit
- Created: 2018-10-28T14:05:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-19T18:48:09.000Z (about 6 years ago)
- Last Synced: 2024-12-18T12:02:41.060Z (5 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Salutation lex
A lexicon for arrival and departure salutationsThis 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](https://www.npmjs.com/package/lemme-lex)
## Supported languages
* English (British)
* Japanese
(Fork and commit if you would like to contribute to the list)## Installation
NPM
```bash
npm i --save salutation-lex
```Yarn
```bash
yarn add salutation-lex
```CLI
```bash
npm i -g salutation-lex
```## Usage
### Code
```js
const SalutationLex = require('salutation-lex');
let lex = new SalutationLex();
console.log(lex); // Will output class instance using lemme-lex
```### CLI
```bash
salutation-lex --locale=en_GB
```
(Will output lexicon as text file called salutation.lex)