haukex / de-en-dict

German-English Dictionary
https://dict.zero-g.net/
GNU General Public License v2.0
10 stars 1 forks source link

Refine search results by specifying part of speech #25

Open frituc opened 1 month ago

frituc commented 1 month ago

[Report from an active (former Beolingus) contributor]

In Beolingus one could search for translations that are nouns, verbs and adjectives only:

query n = look up query and show only results where query is a noun query v = … verb query adj = … adjective

haukex commented 4 weeks ago

Thanks for this suggestion, I think this would be possible. What the best user interface for this is depends on a few things:

I see that in addition to nouns, verbs, and adjectives, there are quite a few other annotations, like {prp}, {pron}, or {conj}. Is it desired to filter for all of these, or only the general three categories of noun, verb, adjective?

Is it desired to filter for more than one annotation at a time? I.e. "nouns and verbs" or "everything except adjectives"?

haukex commented 2 weeks ago

Ok, looks like it was just "Nouns" and "Verbs", please correct me if I'm wrong:

Screenshot 2024-08-31 104634