-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmake-kobo-dict.sh
executable file
·24 lines (20 loc) · 1.67 KB
/
make-kobo-dict.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# Generate all the yale dictionaries.
bundle exec ruby make-dict.rb
bundle exec ruby make-dict.rb -c
bundle exec ruby make-dict.rb -n
bundle exec ruby make-dict.rb -c -n
# Generate all the jyutping dictionaries.
bundle exec ruby make-dict.rb -j
bundle exec ruby make-dict.rb -j -c
bundle exec ruby make-dict.rb -j -n
bundle exec ruby make-dict.rb -j -c -n
# dictgen binary from https://pgaskin.net/dictutil/dictgen/
dictgen-darwin-64bit -o output/cantodict-jyutping-no-incomplete-no-vulgar/dicthtml-yue-en-jyutping.zip output/cantodict-jyutping-no-incomplete-no-vulgar/kobo-cantodict-jyutping-no-incomplete-no-vulgar.df
dictgen-darwin-64bit -o output/cantodict-jyutping-no-incomplete/dicthtml-yue-en-jyutping.zip output/cantodict-jyutping-no-incomplete/kobo-cantodict-jyutping-no-incomplete.df
dictgen-darwin-64bit -o output/cantodict-jyutping-no-vulgar/dicthtml-yue-en-jyutping.zip output/cantodict-jyutping-no-vulgar/kobo-cantodict-jyutping-no-vulgar.df
dictgen-darwin-64bit -o output/cantodict-jyutping/dicthtml-yue-en-jyutping.zip output/cantodict-jyutping/kobo-cantodict-jyutping.df
dictgen-darwin-64bit -o output/cantodict-yale-no-incomplete-no-vulgar/dicthtml-yue-en-yale.zip output/cantodict-yale-no-incomplete-no-vulgar/kobo-cantodict-yale-no-incomplete-no-vulgar.df
dictgen-darwin-64bit -o output/cantodict-yale-no-incomplete/dicthtml-yue-en-yale.zip output/cantodict-yale-no-incomplete/kobo-cantodict-yale-no-incomplete.df
dictgen-darwin-64bit -o output/cantodict-yale-no-vulgar/dicthtml-yue-en-yale.zip output/cantodict-yale-no-vulgar/kobo-cantodict-yale-no-vulgar.df
dictgen-darwin-64bit -o output/cantodict-yale/dicthtml-yue-en-yale.zip output/cantodict-yale/kobo-cantodict-yale.df