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

https://github.com/ryu1kn/build-dictionary


https://github.com/ryu1kn/build-dictionary

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# Build Dictionary

## Usage

```sh
$ bin/analyse-article fixtures/article.txt --dictionary fixtures/dictionary.txt
New words: 1/3 (33.3%)
Difficulty: Very difficult

= New words =
unknown
```

Default threshold. Should be customisable.

```
10 - : Very difficult
5 - 10%: Difficult
2 - 5%: Medium
0 - 2%: Easy
```

### Dictionary file

A dictionary is just a file containing list of words you already know. One word per line

```sh
$ cat fixtures/dictionary.txt
word1
word2
```