1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

複数のCaboChaファイルを個別に ChaKi.NET ファイルで読み込める sqlite db ファイルに変換する

Last updated at Posted at 2015-02-23

コマンドプロンプトを開く

  • SJIS ファイルに対する整形
for %F in (*.cabocha) do "c:\Program Files\NAIST\ChaKi.NET\CreateCorpusSLA.exe" -e=SHIFT_JIS -C %F %~nF.db
  • UTF-8 ファイルに対する整形
for %F in (*.cabocha) do "c:\Program Files\NAIST\ChaKi.NET\CreateCorpusSLA.exe" -e=UTF8 -C %F %~nF.db

そもそも複数の CaboChaファイルを作成する方法

for %f in (*.txt) do "c:\Program Files (x86)\CaboCha\bin\cabocha.exe" -f1 %F > %~nF.cabocha
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?