HappyPeng2x / SumatoraDictionary

An offline Japanese dictionary for Android.
GNU General Public License v3.0
22 stars 1 forks source link

Reading and writing mixed search #15

Open Kohoshi12 opened 3 years ago

Kohoshi12 commented 3 years ago

Can't search for a written word like 小せつ, but I can search for しょうせつ and 小説. The same occurs to a written word like 体じゅう and 体重. This is very strange.

HappyPeng2x commented 3 years ago

Thanks for noticing the issue.

It is due to the fact that the search term is being matched with the readings and writings, but those you mention don't work actually mix part of a writing (小 or 体) with part of a reading (せつ or じゅう), so they are not present in the dictionary.

I will try to think of a way to make it work.

Kohoshi12 commented 3 years ago

Thanks.

Kohoshi12 commented 3 years ago

It's interesting to add that the user can search 黄いろい, maybe the user can do this because of 色 counting as a single word, with the same pronunciation of course.