sanskrit-lexicon / COLOGNE

Development of http://www.sanskrit-lexicon.uni-koeln.de/
18 stars 3 forks source link

Use csl-lnum links for individual correction submission #375

Open drdhaval2785 opened 3 years ago

drdhaval2785 commented 3 years ago

To help interested user to submit correction via stardict (as suggested at https://github.com/indic-dict/stardict-sanskrit/issues/122), a repository was created https://github.com/sanskrit-lexicon/csl-lnum .

Organization of that repository is in the following manner. https://github.com/sanskrit-lexicon/csl-lnum/blob/main/v02/snp/10.txt gives the text of entry number 10 of snp dictionary.

I used this link for giving correction facility to stardict-user.

Can we do the same thing in Cologne website in search facility? I intend to use the space highlighted by yellow.

Selection_062

funderburkjim commented 3 years ago

Can we do the same thing in Cologne website in search facility? I intend to use the space highlighted by yellow.

Please explain further -- I'm not understanding what you are envisioning

drdhaval2785 commented 3 years ago

I am asking you to modify csl-websanlexicon to give links for correction, just like the one you experimented with in stardict.

Whenever you feel comfortable with the pipeline of correction.

gasyoun commented 2 years ago

give links for correction

Inside each ID? It works on web for a year by selecting a word and Ctrl + Enter.

mistake

drdhaval2785 commented 2 years ago

I am faintly aware about the facility. It is kind of good for non technical peole. Only difference I am asking for is that correction can occur directly on github for tech savvy people.

I am OK with either of the facility, but every user should have a convenient way of submitting correction, which would reduce manual work on part of maintainers i.e. us.

funderburkjim commented 2 years ago

The facility mentioned by Gasyoun is available only in simple search. To make use of it, the user

This brings up the dialogue.

This facility is almost never used, probably because there is no UI to alert the user to its existence. @gasyoun We should add some unobtrusive mention of this facility in the simple-search display, so users will know of its existence. Note that there is also the 'standard' Corrections link available in simple-search.

Perhaps a good way to experiment with @drdhaval2785's 'tech-savvy' error-submission idea is to add it somehow in simple search. UI design not clear to me -- need suggestions.

SergeA commented 2 years ago

some unobtrusive mention of this facility

It is an important function, and must be mentioned in the main page before the dic list. And also perhaps in the Corrections dialogue should be added something like "An easy way to send corrections is ... ".

The facility mentioned by Gasyoun is available only in simple search.

Will it be available in other interfaces? I usually don't use the simple search, nor recommend it's using to people.

And I can say the simple search input field has some weird behavior: it has a delay with dropping the list of words, and if I type too fast it sometimes cannot get my input correctly, today I had some moments fighting against this field.

Also lately the site became horribly slow: it takes few seconds to show each article, and sometimes after 5-10 sec I think the server to be down, but it is not, it is just slow.

And yet another problem in MW with the pop-up tips for grammatical abbreviations - they do not work. The sources tips work and the grammatical do not. Also I think it would be great to add a direct link for the users to the list of all grammatical and source abbreviations for the dic they are using.

(Sorry for off-top, but I don't know where to question those problems.)

funderburkjim commented 2 years ago

pop-up tips for grammatical abbreviations don't work

I confirm this as a problem for MW. Recent work must have introduced a bug. Will investigate now.

funderburkjim commented 2 years ago

lately the site became horribly

@SergeA Please indicate the url where you notice this problem, so I can try to confirm.

funderburkjim commented 2 years ago

@SergeA The 'pop-up tips for grammatical abbreviations now work for MW.

The problem was the presence of two duplicate abbreviations. Interestingly, the Cologne installation of grammatical abbreviations for mw failed, but the local installation did not fail (although it mentioned the duplicates) -- this is a difference in the sqlite3 program on the cologne server and the one in the xampp server used locally.

See this commit for mwab for changes.

SergeA commented 2 years ago

grammatical abbreviations now work for MW<

@funderburkjim You are the best! Thanks!

url where you notice this problem

I have this problem here - https://sanskrit-lexicon.uni-koeln.de/scans/MWScan/2020/web/webtc1/index.php Articles of few strokes are displaying at once or in a sec, but long articles (e.g. verb kṛ) have quite significant delay.

funderburkjim commented 2 years ago

I just tried webtc1 display with kf, with Devanagari output (using Edge browser). Saw a delay, of maybe 1-2 seconds at most. Not enough to confirm the delay that @SergeA and @drdhaval2785 have found.

Will continue this discussion in #379.