Skip to content

Commit

Permalink
Add requirements file
Browse files Browse the repository at this point in the history
- Dependencies for Python script are now listed in the requirements file.
  • Loading branch information
aaronhktan committed Jan 19, 2019
1 parent d08fb4c commit 70343aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ The three text files the script requires are:
In addition, the SQLITE driver must support full-text search on your machine.

Usage:
`python3 script.py <output database filename> <CC_CEDICT file> <CC_CANTO file> <CC_CANTO readings file>`
- To install required packages: `pip install -r requirements.txt`
- To generate database: `python3 script.py <output database filename> <CC_CEDICT file> <CC_CANTO file> <CC_CANTO readings file>`

### jyut-dict

Expand Down
7 changes: 7 additions & 0 deletions src/cedict_to_sqlite/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
jieba==0.39
langcodes==1.4.1
marisa-trie==0.7.5
msgpack==0.6.0
regex==2018.2.21
virtualenv==16.2.0
wordfreq==2.2.0

0 comments on commit 70343aa

Please sign in to comment.