-
Notifications
You must be signed in to change notification settings - Fork 5
Query syntax
rowanseymour edited this page Oct 25, 2011
·
4 revisions
Kumva supports partial matching using the * character, e.g.
-
ama*will match all words beginning with 'ama' -
*gurawill match all words ending with 'gura' -
*kinya*will match all words containing 'kinya'
| Parameter | Description | Example |
|---|---|---|
match |
What to match (i.e. what tag type) |
match:form (matches against form tags) |
wclass |
Which word class (i.e. part-of-speech) |
wclass:adv (return only adverbs) |
nclass |
Which noun class |
nclass:7 (return only noun class 7 entries) |
lang |
Which language (i.e. of the tags to match) |
lang:en (matches against English tags) |
verified |
Whether entries must be verified or unverified |
verified:yes (matches only verified entries) |
has |
Whether entries have media (audio, image) |
has:audio (matches only entries with audio) |
order |
How to order the results (entry, stem or relevance) |
order:stem (orders the results by stem) |
| Query | Matches |
|---|---|
wclass:adj |
All adjectives |
go wclass:v |
Verbs with a tag matching 'go' |
ku* wclass:n |
Nouns with a tag starting 'ku' |
two lang:rw |
Entries with a Kinyarwanda tag matching 'two' |
gukora match:root |
Entries with a root tag matching 'gukora' |
gukora match:root wclass:n |
Nouns with a root tag matching 'gukora' |