-
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, v1.1a #27
Comments
Wonder if it could be used for offline desktop version of the dictionaries as well. devena works, wow, @funderburkjim
Is there a list out there what can, and what not? Pronominals I did not found. New case: Should we suppose, that if I search for |
New case: |
@funderburkjim agree with |
Haven't thought about sradha example. Thanks for reminder. Can you think of a generalization of this? Is it only 'dD' (slp1)? or is this one instance of a more comprehensive pattern? |
like tT?
I believe |
I entered aṃśumāna and found out it should have been actually aṃśumat. https://archive.org/details/in.ernet.dli.2015.308381/page/n147/mode/2up |
@funderburkjim people still mix Almost full match names should come higher in the list than even popular, but variations, agree with this case? |
I agree this is confusing. Suggestion: Get rid of the menu called 'input'. Worth a try? |
If simple is the default, let's go for it. |
@funderburkjim
|
@gasyoun The 'm-dot-above' is now handled in 'simple' |
@gasyoun However, the '1.1a' version does not catch this. This is an unexpected difference between /simple1.1a/ and /simple/. |
@funderburkjim if we want to use the same SIMPLE page for English to Sanskrit translations, it becomes troublesome. If you type anything from a phone, the first letter in the input box will become Capital by default. Nothing will be found. But even if we type an English word without capital letters, the result will be found, but will not be counted as such, remaining 0. |
I hadn't really thought about 'simple' for MWE, AE, etc. Probably the current logic is The code base of 'simple' has become complicated enough to be difficult to manage. And the UI needs to be rethought as the interactions among the user choices has I currently almost always use 'input=slp1' setting -- that way the 'Suggestion' list is available but the spelling change features of 'input=simple' are not present at all. Perhaps this |
Yap, not working. Input devanagari in this /simple does not work as well. Worked well before. Stopped working lately.
Should not be that much code to get lost. Is it?
Like to test on different scenarios? I've proposed one a student has asked me for lately.
So you're like a robot. There are 5 people on the Earth who think in SLP1.
I agree. But do not see an issue with leaving it as well. |
|
and |
Searching for |
v1.1a of simple-search is quite different under the hood that v1.1 and previous versions.
It may currently be used with 'simple1.1a' instead of 'simple'.
e.g. https://sanskrit-lexicon.uni-koeln.de/simple1.1a/mw/munih
The performance should be more uniform across words.
The program depends heavily on sqlite fts, which is a full text search (a.k.a. inverted index) capability of sqlite. Making and querying inverted indices underpin most
search applications, but usually (as with those based on java Lucene) require a separate server.
However, sqlite's inverted indexes can be installed and queried much like any other sqlite database.
This functionality (using fts4 version) is available via the version 3.6 of Python at
Cologne. It is not natively available in the sqlite version of PHP at Cologne. However, a PHP
program can query an fts table via python by using 'shell_exec'. That's what is being used
in simple1.1a.
There's a lot more to say, technically, about this approach. But first, use it some and let me
know if any important features have been missed. You can still get at the prior 1.1 version by 'simple'.
Also, as a teaser, try searching for some declined forms (e.g. muniBiH, devena, sisunAm) -- this
is one area where v1.1a might be able to be extended much more readily than prior versions.
The text was updated successfully, but these errors were encountered: