https://github.com/miikka/simple-thesaurus
Thesaurus that suggests only common words.
https://github.com/miikka/simple-thesaurus
dictionary reasonml thesaurus
Last synced: 8 months ago
JSON representation
Thesaurus that suggests only common words.
- Host: GitHub
- URL: https://github.com/miikka/simple-thesaurus
- Owner: miikka
- Created: 2018-10-04T15:56:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T02:30:34.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T17:49:41.481Z (10 months ago)
- Topics: dictionary, reasonml, thesaurus
- Language: Reason
- Homepage:
- Size: 9.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-thesaurus
This is a thesaurus that suggests only the top 1000 most common English words. Based on [a blog post by Morten Just](https://medium.com/@mortenjust/sentenced-to-rewriting-7c8bf45680b5), who thinks that it is a poor idea. (I agree.) Uses [Moby Thesaurus](https://en.wikipedia.org/wiki/Moby_Project) and [Peter Norvig's word lists](https://norvig.com/ngrams/) that are derived from Google Web Trillion Word Corpus. Implemented in [Reason](https://reasonml.github.io/) and styled with [Tachyons](http://tachyons.io/). Built to try out these two technologies.
## Run Project
```sh
npm install
npm start
# in another tab
npm run webpack
```
## Build for Production
```sh
npm run build
npm run webpack:production
```
This will replace the development artifact `build/Index.js` for an optimized version.
**To enable dead code elimination**, change `bsconfig.json`'s `package-specs` `module` from `"commonjs"` to `"es6"`. Then re-run the above 2 commands. This will allow Webpack to remove unused code.