digitalpalitools / enhanced-digital-pali-dictionary

All infrastructure & work related to dictionaries. Medium term this delivers misc dictionaries such as VRI, DPD. Long term: Enhanced Digital Pāli-LanguageX dictionary.
Other
5 stars 2 forks source link

P0 Dictionary displaying wrong results #20

Closed bdhrs closed 3 years ago

bdhrs commented 3 years ago

These are examples of a class of mistakes that are occurring.

When searching for an inflected form in the dict, it finds an unrelated word, which does not have that inflection in its table.

Most likely culprit is the syn file, but it could be something else.

gāthāyo finds gātha nisīdatu finds nisīdanta seyyo finds seyyā seyyo finds seti seyya finds senta missaṃ finds mi

https://user-images.githubusercontent.com/64521731/117228603-fa8ddc00-ae36-11eb-8bc1-b99dfa7d1a8d.mp4

bdhrs commented 3 years ago

problem is defintely not the .syn file, checked the generated output carefully.

parthopdas commented 3 years ago

ok then the only remaining possibilities are (a) goldendict (b) data

bdhrs commented 3 years ago

this text file output of the .syn file which sumukha gave me also eliminates data as the source of the problem. investigating goldendict.

On Mon, 31 May 2021, 22:15 Partho P. Das, @.***> wrote:

ok then the only remaining possibilities are (a) goldendict (b) data

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/digitalpalitools/enhanced-digital-pali-dictionary/issues/20#issuecomment-851593569, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMIMA3GIMUCOWYRNGNZLITTQO4KTANCNFSM44GBYGSQ .

smkvr98 commented 3 years ago

image Temporary fix.

Relevant Links: https://github.com/goldendict/goldendict/issues/198 and http://goldendict.org/forum/viewtopic.php?f=6&t=2120

bdhrs commented 3 years ago

yes! that works for me. well found ; )

there is one minor implication of that fix. the tiny handful of users who are working with multiple dictionaries in goldendict can no longer use dpd to find declensions of pāli words in other dictionaries. for example with it on, search for dhammaṃ find dhamma in pts dict, with it off, only dpd results. having said that the problem is not on our side, its a known issue with goldendict, and without making changes to the goldendict, cannot be perfectly solved.

i am happy to close if there are no objections.