bksubhuti / tipitaka-pali-reader

A Pali Reading app made in Flutter
21 stars 5 forks source link

" Double quote breaks DPD recognition #225

Closed bdhrs closed 8 months ago

bdhrs commented 9 months ago

A double (") quote character breaks DPD recognition.

To reproduce, search for byādhayissasī, (you can find it in sagāthāvaggasaṃyuttapāḷi) and click on the word. It is not recognized because the word in DPD is byādhayissasīti, so the " character needs to be removed in exactly the same way that the single quote character (') is currently being handled.

For an example of correct behaviour search for oghamatarī in the same book. oghamatarī’ti is being recognised correctly as oghamatari + iti, as the single quote is being removed.

bdhrs commented 8 months ago

here's another example, search for tatthevantaradhāyathā. The word in DPD is tatthevantaradhāyathāti which is not being recognised cos of the "ti

bksubhuti commented 8 months ago

okay, that is better.

bksubhuti commented 8 months ago

I added the fix.. result is in the dictionary lookup textfield.

image

image