https://github.com/gitrust/book-dictionary
Project contains all source and work files for creating a novell book dictionary.
https://github.com/gitrust/book-dictionary
python python3 translation
Last synced: 5 days ago
JSON representation
Project contains all source and work files for creating a novell book dictionary.
- Host: GitHub
- URL: https://github.com/gitrust/book-dictionary
- Owner: gitrust
- Created: 2018-01-15T18:43:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T12:23:13.000Z (over 5 years ago)
- Last Synced: 2023-11-01T19:33:08.918Z (about 2 years ago)
- Topics: python, python3, translation
- Language: Python
- Size: 328 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Description
Project contains all work files for creating a novell book dictionary.
The idea behind this project was to have a lookup dictionary while reading a book in english.
# How To
1. adapt Makefile (Title, URL)
2. make all
## Simple steps explained
1. Download raw book
2. Preprocess raw version of book text
3. Split by words
4. Sort and uniq words
5. Translate each word
6. make a browsable HTML version
# Requirements
* python 3.5
* python module googletrans 2.2.0
* python module beautifulsoup
* make
* Unix tools (wget, cat, mv, sort, grep)
# References
* https://pypi.python.org/pypi/googletrans
* http://www.gutenberg.org/files/18857/18857-h/18857-h.htm
* https://pypi.python.org/pypi/nltk
# Screenshot
