Fix compilation (use the new UserDictionary.open)

Relates to #59
This commit is contained in:
Robert Muir 2015-05-13 12:22:32 -04:00
parent 22601a477f
commit a3dce667b1
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public class KuromojiTokenizerFactory extends AbstractTokenizerFactory {
return null;
} else {
try {
return new UserDictionary(reader);
return UserDictionary.open(reader);
} finally {
reader.close();
}