Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Fix not generating userdic
Browse files Browse the repository at this point in the history
  • Loading branch information
Pusnow committed Feb 10, 2018
1 parent 85dfc45 commit 2fa7fd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/add-userdic-win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ function Get-Cost {
function Compile {
Remove-Item .\mecab-ko-dic\*.bin
Remove-Item .\mecab-ko-dic\*.txt
Remove-Item .\mecab-ko-dic\user-*.csv
& mecab-dict-index.exe -d mecab-ko-dic -o mecab-ko-dic -f UTF-8 -t UTF-8

}

function main {
Write-Output "generating userdic..."

Remove-Item .\mecab-ko-dic\user-*.csv

Get-Userdics | ForEach-Object {
Get-Cost $_
Expand Down

0 comments on commit 2fa7fd5

Please sign in to comment.