https://github.com/ryu1kn/build-dictionary
https://github.com/ryu1kn/build-dictionary
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryu1kn/build-dictionary
- Owner: ryu1kn
- Created: 2016-06-02T14:08:41.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T10:00:25.000Z (almost 2 years ago)
- Last Synced: 2026-01-19T21:09:57.856Z (5 months ago)
- Language: TypeScript
- Size: 431 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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
```