Skip to content

Commit 70343aa

Browse files
committed
Add requirements file
- Dependencies for Python script are now listed in the requirements file.
1 parent d08fb4c commit 70343aa

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ The three text files the script requires are:
6363
In addition, the SQLITE driver must support full-text search on your machine.
6464

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

6869
### jyut-dict
6970

src/cedict_to_sqlite/requirements.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
jieba==0.39
2+
langcodes==1.4.1
3+
marisa-trie==0.7.5
4+
msgpack==0.6.0
5+
regex==2018.2.21
6+
virtualenv==16.2.0
7+
wordfreq==2.2.0

0 commit comments

Comments
 (0)