ufal / lindat-kontext

An alternative web front-end for the Manatee corpus search engine
GNU General Public License v2.0
5 stars 1 forks source link

syntax highlighting of CQL queries: claims structure does not exist (but in fact it does) #224

Open Ansa211 opened 5 years ago

Ansa211 commented 5 years ago

This is on production, I tested with the summa_la_a corpus (Summa theologiae) While entering a CQL type query, the <s>, <i> and <p> structures are not recognized as existing structures; on the other hand, <h> is recognized (so it's not one-letter structures that are problematic). For <s> and <p>, it could be related to the fact that there are structures with longer names that start with these letters (<seg> and <pars>); for <i>, however, there is no such structure, only an attribute named id. Possibly related: https://github.com/ufal/lindat-kontext/issues/195

complaints

tomachalek commented 5 years ago

Please see https://github.com/czcorpus/kontext/pull/2802. Should by solved by now in the master branch of the upsteam.