Tools for Shogi Commentary Corpus
Get Shogi game records with comments from http://www.meijinsen.jp. Games are played by human experts and comments are written by human.
-
Become a paid member of http://www.meijinsen.jp. (In Japanese)
-
Export cookies.txt and overwrite cookies.txt in this directory.
-
Remove tmp/ and kif/ if exist.
-
Run get.sh. Game records are saved to kif/ directory.
Convert characters in comments to ones in JISX 0208. Converted files are saved to kif_clean/ directory. If you want to customize, edit jisx/replace.
This script requires mojimoji module.
pip install mojimoji