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

External search not always working #229

Open kosarko opened 5 years ago

kosarko commented 5 years ago

With the following corplist:

<?xml version="1.0"?>
  <corplist name="root">
    <corplist name="LINDAT speech corpora">
            <keywords>
                <keyword ident="teitok" color="#ff4800">
                        <label lang="cs">TeiTok</label>
                        <label lang="en">TeiTok</label>
                </keyword>
            </keywords>
      <corpus ident="ovm_cs_w" sentence_struct="seg" num_tag_pos="16" keyboard_lang="cs" repo="http://hdl.handle.net/11858/00-097C-0000-000D-EC98-3" speech_segment="seg.soundfile" features="words only"/>
      <!-- features attribute is needed! -->
      <corpus ident="tt_mycorpus" sentence_struct="text" num_tag_pos="16" keyboard_lang="cs" features="words only">
              <metadata>
                      <keywords>
                              <item>teitok</item>
                      </keywords>
              </metadata>
         <token_connect>
                        <provider>wiktionary_example</provider>
         </token_connect>
      </corpus>
    </corplist>
  </corplist>

I can see that the keyword is assigned correctly: image

It filters correctly if I click the keyword, but shows nothing when I use the url param keyword=teitok image