#!/bin/sh

PATH="/bin:/usr/local/libexec/mecab:/usr/lib/mecab"
export PATH

rm -f sys.dic

mecab-dict-index -f utf-8 -t utf-8

mecab-cost-train -c 1.0 corpus model

mecab-dict-gen -o ../final -m model

mecab-dict-index -f utf-8 -t utf-8 -d ../final -o ../final
