Skip to content

Instantly share code, notes, and snippets.

@masayu-a
Last active August 29, 2015 14:15
Show Gist options
  • Save masayu-a/215027b69a22312e0ab3 to your computer and use it in GitHub Desktop.
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
for %F in (*.cabocha) do "c:\Program Files\NAIST\ChaKi.NET\CreateCorpusSLA.exe" -e=SHIFT_JIS -C %F %~nF.db
for %F in (*.cabocha) do "c:\Program Files\NAIST\ChaKi.NET\CreateCorpusSLA.exe" -e=UTF8 -C %F %~nF.db
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