This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
薛丞宏 edited this page Oct 12, 2016
·
4 revisions
echo 'drop schema public cascade;create schema public;' | psql $USER
gzip -c -d 臺灣言語資料庫20150903.sql.gz | psql $USER
echo "from 臺灣言語服務.模型訓練 import 模型訓練; 模型訓練.走()" | python manage.py shell
python manage.py test -p 'test*單元試驗.py' # 走單元試驗
python manage.py test -p 'test*合成*'
pip install tblib; python manage.py test --parallel # 同齊試驗
python manage.py test # 除錯方便
資料/
├── 合成模型
│ └── 閩南語
│ └── Taiwanese.htsvoice
├── 翻譯模型
│ └── 閩南語
│ ├── model
│ │ ├── moses.ini
│ │ ├── phrase-table.gz
│ │ └── reordering-table.wbe-msd-bidirectional-fe.gz
│ ├── 母語辭典.txt.gz
│ └── 語言模型.lm
└── 翻譯語料
└── 閩南語
├── 加工語料
│ ├── 字詞文本.txt.gz
│ ├── 對齊外語字詞.txt.gz
│ ├── 對齊外語語句.txt.gz
│ ├── 對齊母語字詞.txt.gz
│ ├── 對齊母語語句.txt.gz
│ └── 語句文本.txt.gz
├── 字詞文本.txt.gz
├── 對齊外語字詞.txt.gz
├── 對齊外語語句.txt.gz
├── 對齊母語字詞.txt.gz
├── 對齊母語語句.txt.gz
├── 語句文本.txt.gz
└── 語言模型資料夾
├── 語言模型.lm
└── 語言模型.txt