Open thuraucsy opened 5 years ago
Hello thuraucsy. I gave a try with you test sentence but nothing error happened and the result was right. What error message did you get?
@hexenq I got the following error.
UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object at Function.from (native)
@thuraucsy Still cannot reproduce the error. I think full error stacks or a runnable demo (such as jsbin) might be helpful.
Cannot convert the following text to okurigana. But if I remove "・" from the sentence, the error disappear.
await kuroshiro.convert(' 次にあげる「ブラック・ユーモア」の例を見れば、自分で判断を下すことができるだろう。', {mode:'okurigana', to:'hiragana'});
I'm using