czcorpus / kontext Goto Github PK
View Code? Open in Web Editor NEWAn advanced, extensible web front-end for the Manatee-open corpus search engine
License: GNU General Public License v2.0
An advanced, extensible web front-end for the Manatee-open corpus search engine
License: GNU General Public License v2.0
e.g. anonymous user displays a concordance then she logs in and then she should be redirected back to the concordance list, not the homepage
In the development version - in case no result is found no message is provided.
Maybe this is more general problem - it must be further investigated.
see the title
flagship corpus will be defined using new XML attribute
see the title
A normal KonText page should appear with some warning.
In given query when you try to go for the page 12/12 with next page button Kontext reports error:
Failed to process your request. Please try again later or contact system support.
The thing is we should be able to (optionally) obtain all the data we see in a typical Apache log (IP, user agent, url,...) from a single log - KonText's application log.
... because not all of them are needed on all the pages
You can find more in the screenshot attached.
Something like this:
@exposed(http_method='POST')
def foo(req):
pass
Such method should be invoked iff the request is POST.
see the title
how to replicate:
... and the full query should be visible on mouseover or something like that
E.g. - if you enter the "view" section without having a concordance active, concordance-related menu items are available which is wrong.
see the title
The corpus selection menu in the English interface is now correctly in English (thanks!), but the mouse hovering action brings out Czech descriptions.
see the title
see the title
... for anonymous users
This means also getting rid of supports_password_change() method.
... and implement a Redis-based solution. This should bring automatic record locking and simplify related code. Current solution should be still available (though as a plug-in).
...e.g. by setting font to italic
Vasek has discovered a strange bug when Kontext behaves a bit differently from NoSkE. Search for "ano" (query type "basic") in ORAL2008, shuffle the concordandce (if not shuffled as default) and then sort according to sp.pohlavi. This will get you to the following screens:
Both screens look the same, the concordances are in the same order. But: when you use the "Collocation is sorted: Jump to:" feature and jump to "Z", NoSkE seems to work correctly as it takes you to the beginning of Z's, while kontext will show you a screen where one Z is in the middle of M's!
However, the difference seems to be caused by the way "Jump to" is implemented, because the ordering of concordances in both interfaces is the same (at least I didn't notice any difference) and by browsing through the pages you can see one more such "missorted" Z.
Can you please track down the problem and confirm whether this issue is caused by Manatee?
NB: when applying the same procedure on non-shuffled concordances, the output of sort is OK.
This may replace tree-like structure in the corpus selection widget.
how to replicate:
There should be a 2-level solution:
1st level: fast access with short TTL (shorter for anonymous users)
2st level: slow(er) access with infinite TTL (probably sqlite3-based)
This may replace tree-like structure in the corpus selection widget.
... as it is used no more
2015-02-22 18:37:31,990 [conclib] ERROR: Background calculation error: Unknown action: ~
2015-02-22 18:37:32,093 [controller] ERROR: Traceback (most recent call last):
File "/opt/noske/share/kontext/public/../lib/controller.py", line 818, in process_method
self._invoke_action(method, pos_args, named_args, tpl_data))
File "/opt/noske/share/kontext/public/../lib/controller.py", line 490, in _invoke_action
ans = apply(action, args[1:], na)
File "/opt/noske/share/kontext/public/../lib/actions.py", line 184, in view
conc = self.call_function(conclib.get_conc, (self._corp(),))
File "/opt/noske/share/kontext/public/../lib/controller.py", line 513, in call_function
return apply(func, args, na)
File "/opt/noske/share/kontext/public/../lib/conclib.py", line 415, in get_conc
samplesize=samplesize, fullsize=fullsize, minsize=minsize)
File "/opt/noske/share/kontext/public/../lib/conclib.py", line 362, in _get_async_conc
raise e
Exception: Unknown action: ~
What should be checked:
how to replicate:
See the title.
... instead of paginated result
plus it looks slightly different
... and the full query should be visible on mouseover or something like that
... and the full query should be visible on mouseover or something like that
The original Bonito code does not count with two different paginators per page which is the case of the mentioned actions where "concordance" and "current page" paginations are always present.
... and the full query should be visible on mouseover or something like that
Currently, only initial TTL distincts between short and long persistence which may (and it already does) easily confuse archivation script. In other words - there is no clear sign of when a conc. persistence record should be archived.
The format must be able to allow reconstructing of a specific sub-corpus.
Manatee cache takes up too much space now, a query that matches every corpus position (e.g. "[]") in SYN needs more than 50 GB that are stored there uless the cache is explicitly deleted.
It would be desirable to evaluate the usefulness of caching in general, and especially in cases when the concordance size is extremely large. It should be possible to come up with a better solution then, or we could also consider turning the caching off altogether. For the time being, more disk space will be reserved for the cache.
... to be able to run the command again automatically
how to replicate:
to match current bonito-open
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.