Giter Club home page Giter Club logo

kontext's People

Contributors

dependabot[bot] avatar dlukes avatar kira-d avatar kosarko avatar lenoch avatar michkren avatar msklvsk avatar mzimandl avatar petrduda avatar tomachalek avatar tomazerjavec avatar vidiecan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kontext's Issues

empty result - no message

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.

Kontext dont display last page in koncordance

transform "concache" into a plug-in

... 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).

sorting of shuffled concordances

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:

NoSkE: https://korpus.cz/corpora/run.cgi/sortx?q=aword%2C[word%3D%22%28%3Fi%29ano%22]&q=f&corpname=oral2008&attrs=word&attr_allpos=kw&ctxattrs=word&structs=&refs=%3Ddoc.id%2C%3Dsp.pohlavi&iquery=ano&sattr=sp.pohlavi&skey=rc&spos=3

Kontext: https://korpus.cz/kontext/run.cgi/sortx?q=aword%2C[word%3D%22%28%3Fi%29ano%22]&q=f&corpname=oral2008&attrs=word&ctxattrs=word&structs=doc%2Csp&refs=%3Ddoc.id%2C%3Dsp.pohlavi&iquery=ano&sattr=sp.pohlavi&skey=rc&spos=3

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.

Implement searchable keywords for configured corpora

  1. in config.xml, it should be possible to add 0..n keywords (or "tags") to any corpus
  2. corpora archive should be able to filter corpora list using these keywords

This may replace tree-like structure in the corpus selection widget.

Implement searchable keywords for configured corpora

  1. in config.xml, it should be possible to add 0..n keywords (or "tags") to any corpus
  2. corpora archive should be able to filter corpora list using these keywords

This may replace tree-like structure in the corpus selection widget.

Background calculation error: Unknown action: ~

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: ~

implement KonText set-up validator

What should be checked:

  1. XML validity
  2. references (i.e. a string value referring to an element with specific attribute)
  3. basic plug-ins configuration (especially whether there are required modules present)
  4. paths - whether they exist and whether the web server has proper access rights

Conc. persistence - store persistence level flag

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.

Manatee cache size

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.