spraakbanken / korp-frontend

Frontend for Korp, a tool using the IMS Open Corpus Workbench (CWB).
https://spraakbanken.gu.se/en/tools/korp
MIT License
16 stars 8 forks source link

Remove KWIC from interface #285

Open majsan opened 1 year ago

majsan commented 1 year ago

In a mode, it should be possible to remove the KWIC completely, just as it is with statistics and word picture.

There should also be possible to have no links to the KWIC, but that might be a separate setting, (kwic_links?).

We already have: statistics: true/false word_picture: true/false

So I suggest kwic as the name for this setting. If it is too brief, consider also renaming statistics and word_picture.

janiemi commented 1 year ago

I suppose you have some use case for a mode with no KWIC results. But what do you mean by “having no links to the KWIC”? Do you mean that the statistics table, trend diagram and word picture would have no links to example KWICs, or something else?

majsan commented 1 year ago

Yes, exactly.

We have a mode with no context: https://spraakbanken.gu.se/korp/?mode=kubord#?corpus=kubord-gp-2014&cqp=%5B%5D&search=word%7Ctest&page=0 . So the user will mainly be interested in the word picture and statistics. However, the easiest way to see the attributes of a word is in the KWIC, so we might not implement this at all, only the issue where another result tab can be made default (#284).