-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simple search with Exact ID #22
Comments
Only a robot can use SLP1, so we do not care a lot about bots, do we?
Agree.
Good example.
All I ask is without the As per
Fully agree. Pedagogical use is what I keep in mind all the time.
Yes, yes and yes!
Yes, or give preference to Nomen proprium in meanings? |
The current url assumptions are that the 3rd argument (simple/1/2/3) (e.g. 'slp1' in the above) refers to Now we COULD change the url assumptions (That is, how the program interprets the parameters) In that case, the 'output' and 'accent' parameters would not be settable by the url; rather, they would have Should the 'output' and 'accent' parameters be settable by the url? My snap opinion, no -- let 'output' and 'accent' be set only by the user (via cookies), and not by the url. What do you think? |
To continue the thought, with the change in url assumptions,
|
Yes, cookie setting is enough.
Agree. And agree with all the assumptions as well. |
@funderburkjim is there something from myside that can be done, to move ir forward? |
From #21, this question arose:
One of the current problems with simple search is that we don't know what spelling system the user has in
mind. If the user is inputting directly generally english phonetic spellings and is using common English
sibilants and nasals, things work fine.
But if we assume the user already is using a citation based SLP1 or HK, then problems can arise.
I've been thinking that we should make some API provision for the user to say that he is intentionally using
HK or SLP1, if that is what he's doing.
example 1 SLP
Currently https://sanskrit-lexicon.uni-koeln.de/simple/mw/gaRa gives (in IAST)
gara ghāra garā gāra
,none of which is right if the user was thinking slp1, where the word (in IAST) is
gaṇa
.So, maybe we could allow https://sanskrit-lexicon.uni-koeln.de/simple/mw/gaRa?in=slp1.
This probably could be parsed, and then some of the simple-search algorithm would be altered to take into
account that the user was thinking slp1.
This would be especially useful if someone was making ahead of time a specialized vocabulary;
such as a vocabulary for some pedagogical story.
Default would allow handling of capital letters.
Suppose I'm reading an article in Wikipedia, such as https://en.wikipedia.org/wiki/Ramayana.
This article has many Sanskrit words, usually in IAST, but sometimes almost in IAST.
It would be nice to be able to cut and paste such a word into a simple search to get a dictionary reference.
For example, https://sanskrit-lexicon.uni-koeln.de/simple/mw/Lanka . But this result currently gives no
information.
The problem is with the capital letter. Also, suppose you try
https://sanskrit-lexicon.uni-koeln.de/simple/mw/GURU . You get the wrong answers currently:
muru mūru
.The reason is that capital 'G' is (in HK transliteration) a nasal (guttural nasal), and the search procedure
says we should try other nasals, hence the 'm'.
The default search should, instead, I think, ignore capitalization (as does IAST).
The text was updated successfully, but these errors were encountered: