Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent word picture search if config doesn't support the lemgram's POS #421

Open
arildm opened this issue Jan 16, 2025 · 0 comments
Open
Labels
bug ux "A user interface is like a joke. If you have to explain it, it’s not that good.” – Martin LeBlanc

Comments

@arildm
Copy link
Member

arildm commented Jan 16, 2025

Our word picture config doesn't support proper nouns pm. When searching for a proper-noun lemgram, the result is currently just empty:

https://spraakbanken.gu.se/korplabb/#?corpus=abounderrattelser2012&word_pic&search=lemgram|Helsingfors\.\.pm\.1&result_tab=3

Image

We know ahead that we won't be able to show any of the results (even though the /relations call may have hits), so we should show a warning and not perform the call.

@arildm arildm added bug ux "A user interface is like a joke. If you have to explain it, it’s not that good.” – Martin LeBlanc labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ux "A user interface is like a joke. If you have to explain it, it’s not that good.” – Martin LeBlanc
Projects
None yet
Development

No branches or pull requests

1 participant