Skip to content

Commit

Permalink
Add combined dictionaries and meta files
Browse files Browse the repository at this point in the history
  • Loading branch information
catusf committed Jan 5, 2023
1 parent 9a6c7e5 commit 21e162f
Show file tree
Hide file tree
Showing 13 changed files with 521,799 additions and 8 deletions.
24 changes: 16 additions & 8 deletions ext-dict/gen_dfo_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,32 @@ print_to_file() {

# From OVDP Project
print_to_file "star_phapviet.dfo" "Từ điển Pháp - Việt" "Từ điển Pháp - Việt với các dạng từ" "fr" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-fra.tab"
print_to_file "star_ngaviet.dfo" "Từ điển Nga - Việt" "Từ điển Nga - Việt với các dạng từ" "ru" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-rus.tab"
print_to_file "star_tbnviet.dfo" "Từ điển Tây Ban Nha - Việt" "Từ điển Tây Ban Nha - Việt với các dạng từ" "es" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-spa.tab"
print_to_file "star_ducviet.dfo" "Từ điển Đức - Việt" "Từ điển Đức - Việt với các dạng từ" "de" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-deu.tab"

print_to_file "star_phapvietphap.dfo" "Từ điển Pháp - Việt - Pháp" "Từ điển Pháp - Việt - Pháp với các dạng từ" "fr" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-fra.tab"
print_to_file "star_ngavietnga.dfo" "Từ điển Nga - Việt - Nga" "Từ điển Nga - Việt - Nga với các dạng từ" "ru" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-rus.tab"
print_to_file "star_tbnviettbn.dfo" "Từ điển Tây Ban Nha - Việt - Tây Ban Nha" "Từ điển Tây Ban Nha - Việt - Tây Ban Nha với các dạng từ" "es" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-spa.tab"
print_to_file "star_ducvietduc.dfo" "Từ điển Đức - Việt - Đức" "Từ điển Đức - Việt - Đức với các dạng từ" "de" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-deu.tab"
print_to_file "star_hanviethan.dfo" "Từ điển Hàn - Việt - Hàn" "Từ điển Hàn - Việt - Hàn" "ko" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_nhatvietnhat.dfo" "Từ điển Nhật - Việt - Nhật" "Từ điển Nhật - Việt - Nhật" "ja" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""

print_to_file "star_bdnviet.dfo" "Từ điển Bồ Đào Nha - Việt" "Từ điển Bồ Đào Nha - Việt với các dạng từ" "pt" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-por.tab"
print_to_file "star_secviet.dfo" "Từ điển Séc - Việt" "Từ điển Séc - Việt với các dạng từ" "cs" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-ces.tab"
print_to_file "star_yviet.dfo" "Từ điển Ý - Việt" "Từ điển Ý - Việt với các dạng từ" "it" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-ita.tab"
print_to_file "star_anhviet.dfo" "Từ điển Anh - Việt" "Từ điển Anh - Việt với các dạng từ" "en" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-eng.tab"
print_to_file "star_nauyviet.dfo" "Từ điển Na Uy - Việt" "Từ điển Na Uy - Việt với các dạng từ" "no" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-nno.tab"
print_to_file "star_viethan.dfo" "Từ điển Việt - Hàn" "Từ điển Việt - Hàn" "vi" "ko" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_vietanh.dfo" "Từ điển Việt - Anh" "Từ điển Việt - Anh" "vi" "en" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_ngaviet.dfo" "Từ điển Nga - Việt" "Từ điển Nga - Việt với các dạng từ" "ru" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-rus.tab"
print_to_file "star_vietphap.dfo" "Từ điển Việt - Pháp" "Từ điển Việt - Pháp" "vi" "fr" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_tbnviet.dfo" "Từ điển Tây Ban Nha - Việt" "Từ điển Tây Ban Nha - Việt với các dạng từ" "es" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-spa.tab"
print_to_file "star_viettbn.dfo" "Từ điển Việt - Tây Ban Nha" "Từ điển Việt - Tây Ban Nha" "vi" "es" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_nauyviet.dfo" "Từ điển Na Uy - Việt" "Từ điển Na Uy - Việt với các dạng từ" "no" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-nno.tab"
print_to_file "star_vietduc.dfo" "Từ điển Việt - Đức" "Từ điển Việt - Đức" "vi" "de" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_trungviet.dfo" "Từ điển Trung - Việt" "Từ điển Trung - Việt" "zh" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_bdnviet.dfo" "Từ điển Bồ Đào Nha - Việt" "Từ điển Bồ Đào Nha - Việt với các dạng từ" "pt" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-por.tab"
print_to_file "star_nhatviet.dfo" "Từ điển Nhật - Việt" "Từ điển Nhật - Việt" "ja" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_ducviet.dfo" "Từ điển Đức - Việt" "Từ điển Đức - Việt với các dạng từ" "de" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-deu.tab"
print_to_file "star_vietnga.dfo" "Từ điển Việt - Nga" "Từ điển Việt - Nga" "vi" "ru" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_secviet.dfo" "Từ điển Séc - Việt" "Từ điển Séc - Việt với các dạng từ" "cs" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-ces.tab"
print_to_file "star_vietnhat.dfo" "Từ điển Việt - Nhật" "Từ điển Việt - Nhật" "vi" "ja" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_hanviet.dfo" "Từ điển Hàn - Việt" "Từ điển Hàn - Việt" "ko" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" ""
print_to_file "star_yviet.dfo" "Từ điển Ý - Việt" "Từ điển Ý - Việt với các dạng từ" "it" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-ita.tab"
print_to_file "star_anhviet.dfo" "Từ điển Anh - Việt" "Từ điển Anh - Việt với các dạng từ" "en" "vi" "1.0" "OVDP" "https://github.com/catusphan/dictionary" "inflection-eng.tab"

# From SuperDict (SPDict)
print_to_file "SPDict-Anh-Viet-Anh.dfo" "Từ diển Anh-Việt-Anh SPDict" "Từ diển Anh-Việt-Anh SPDict với các dạng từ tiếng Anh" "en" "vi" "1.0" "SPDict" "https://github.com/catusphan/dictionary" "english_inflections.tab"
Expand Down
8 changes: 8 additions & 0 deletions ext-dict/star_ducvietduc.dfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Name = Từ điển Đức - Việt - Đức v1.0
Description = Từ điển Đức - Việt - Đức với các dạng từ
Source = de
Target = vi
Version = 1.0
Owner/Editor = OVDP
URL = https://github.com/catusphan/dictionary
Inflections = inflection-deu.tab
Loading

0 comments on commit 21e162f

Please sign in to comment.