https://github.com/xi-plus/guess-word
根據詞語解釋來猜測詞語的聊天遊戲機器人
https://github.com/xi-plus/guess-word
facebook-bot game homework kuas line-bot telegram-bot
Last synced: 3 months ago
JSON representation
根據詞語解釋來猜測詞語的聊天遊戲機器人
- Host: GitHub
- URL: https://github.com/xi-plus/guess-word
- Owner: Xi-Plus
- Created: 2017-12-08T10:45:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-07T08:59:36.000Z (over 3 years ago)
- Last Synced: 2025-04-12T12:11:58.294Z (about 1 year ago)
- Topics: facebook-bot, game, homework, kuas, line-bot, telegram-bot
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# guess-word
詞義高手 - 推敲辭義,贏得勝利,提升你的國文造詣
## Installation
1. 下載此專案
2. 建立資料庫,格式於```database.sql```
3. 至 Apache config 設定 WSGIScriptAlias 至 ```guess_word.wsgi``` 的路徑
3. 設定 ```guess_word.wsgi```
4. 複製 ```config.sample.ini``` 至 ```config.ini``` 並設定裡面的內容
5. 複製 ```zhconversion.sample.ini``` 至 ```zhconversion.ini``` 並設定裡面的內容(可從[ZhConversion.php · mediawiki](https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/data/ZhConversion.php)取得)
6. 至[《重編國語辭典修訂本》資料下載](https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/respub/dict_reviseddict_download.html)下載文字資料庫,並解壓縮後將三個 xls 檔另存為 csv 檔
7. 分別對三個 csv 檔執行```python import.py csv檔名.csv```
8. 完成