issues
search
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
Context view broken in example search
#386
Closed
arildm
closed
2 months ago
arildm
commented
2 months ago
Make a comparison (I did
framtid..nn.1
vs
jämlikhet..nn.1
in
vivill
)
This doesn't only happen when coming from the comparison view, but seemingly in all example searches, e.g.
https://spraakbanken.gu.se/korplabb/#?lang=eng&cqp=%5B%5D&corpus=vivill&result_tab=2&show_stats&search=lemgram%7Cframtid%5C.%5C.nn%5C.1
Click a row to get examples
Click "Show context"
Expected:
The KWIC layout is replaced with tall rows with wrapped lines suitable for reading
Actual:
The KWIC layout remains, but context sentences are added to the sides and the corpus name is ugly large, see screenshot.
Make a comparison (I didThis doesn't only happen when coming from the comparison view, but seemingly in all example searches, e.g. https://spraakbanken.gu.se/korplabb/#?lang=eng&cqp=%5B%5D&corpus=vivill&result_tab=2&show_stats&search=lemgram%7Cframtid%5C.%5C.nn%5C.1framtid..nn.1
vsjämlikhet..nn.1
invivill
)