Last active
August 29, 2015 14:15
-
-
Save masayu-a/215027b69a22312e0ab3 to your computer and use it in GitHub Desktop.
複数のCaboChaファイルを個別に ChaKi.NET ファイルで読み込める sqlite db ファイルに変換する ref: http://qiita.com/masayu-a/items/5e61dcf0ed7068c01f62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for %F in (*.cabocha) do "c:\Program Files\NAIST\ChaKi.NET\CreateCorpusSLA.exe" -e=SHIFT_JIS -C %F %~nF.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for %F in (*.cabocha) do "c:\Program Files\NAIST\ChaKi.NET\CreateCorpusSLA.exe" -e=UTF8 -C %F %~nF.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for %f in (*.txt) do "c:\Program Files (x86)\CaboCha\bin\cabocha.exe" -f1 %F > %~nF.cabocha |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment