Kawazu icon indicating copy to clipboard operation
Kawazu copied to clipboard

Words with kana in the middle fail to divide correctly

Open berichan opened this issue 1 year ago • 2 comments

https://github.com/Cutano/Kawazu/blob/master/Kawazu/Division.cs#L131-L154

This fails to correctly segment the readings for words without kanji in the middle. Eg 言い方 and 当たり前 both fail.

berichan avatar Feb 13 '24 04:02 berichan

Thanks for the feedback, this is one of the konwn issues. Unfortunately, I am no longer able to maintain the library. This library was created as a part of other project which I was working on during my freshman period in university years ago. Because of the naive algorithm and implementation, it may even have other hidden issues. Plese only treat is lib as an experimental project. If you still want to use this library, you can try to fix it in your own branch or check if other people's forks fixed this issue.

Cutano avatar Feb 13 '24 04:02 Cutano

👍 https://github.com/berichan/Kawazu/commit/43c0bfd4408e98f8000fa76623d77c16daaebe32

Hopefully one day someone will write something better than this.

berichan avatar Feb 13 '24 06:02 berichan