takuyaa / kuromoji.js

JavaScript implementation of Japanese morphological analyzer
832 stars 117 forks source link

Allow no option for TokenizerBuilder #41

Open larsdood opened 4 years ago

larsdood commented 4 years ago

In the current version, an option object without dicPath can be passed into the TokenizerBuilder. If so, it will use a default dicPath. However, not passing option is not possible, even though this field is the only prop on option.