OVOS WordNet skill — dictionary definitions and lexical relations
Project description
ovos-skill-wordnet
WordNet skill for OpenVoiceOS. Adds a voice interface on top of ovos-wordnet-plugin, which handles all WordNet lookups, intent detection, and translation.
Supports three answer modes:
- Explicit intent — handles utterances that target WordNet directly (e.g. "ask wordnet about dog"). These always go to this skill. The plugin's built-in intent parser detects the relation type (definition, antonym, hypernym, …) and returns a spoken-language response.
- Common Query — handles dictionary-style questions via the OVOS Common Query pipeline. Competes with other knowledge skills; returns confidence 0.6 for definition matches.
- Fallback — if no other skill answers, the fallback handler intercepts utterances that match
WordnetQuery.voc(dictionary/thesaurus keywords) and queries the plugin for an answer before OVOS says "I don't know".
Installation
pip install ovos-skill-wordnet
No API key required. WordNet data is downloaded automatically on first use (~30–60 MB for English) and cached locally. Non-English definitions are translated via the system translation plugin where no native gloss is available.
Answer modes
Explicit intent
These always route to this skill because they name WordNet explicitly:
- "Ask wordnet about dog"
- "Search word net for happy"
- "What does wordnet say about bank?"
The plugin detects which relation was asked (definition, antonym, hypernym, hyponym, holonym, lemma) and returns a natural-language response.
Common Query pipeline
When the Common Query pipeline plugin is active, this skill competes against other knowledge skills (e.g. Wolfram Alpha, Wikipedia). Any bare definition query can win:
- "What is a dog?"
- "What does melancholy mean?"
Fallback
Registered at priority 90. Only intercepts utterances containing dictionary/thesaurus keywords (definition, antonym, synonym, meaning, opposite, hypernym, hyponym, …). All other utterances pass through immediately so unrelated fallbacks are not affected.
Supported languages
31 languages are supported. Definitions are native for English (Open English WordNet 2024) and German (ODENet). All other languages use OMW 1.4 lemmas; where native definitions are unavailable the English definition is translated via the configured OVOS translation plugin.
| BCP-47 | Language |
|---|---|
ar |
Arabic |
bg |
Bulgarian |
ca |
Catalan |
cmn |
Mandarin Chinese |
da |
Danish |
de |
German |
el |
Greek |
en |
English |
es |
Spanish |
eu |
Basque |
fi |
Finnish |
fr |
French |
gl |
Galician |
he |
Hebrew |
hr |
Croatian |
id |
Indonesian |
is |
Icelandic |
it |
Italian |
ja |
Japanese |
lt |
Lithuanian |
nb |
Norwegian Bokmål |
nl |
Dutch |
nn |
Norwegian Nynorsk |
pl |
Polish |
pt |
Portuguese |
ro |
Romanian |
sk |
Slovak |
sl |
Slovenian |
sv |
Swedish |
th |
Thai |
zsm |
Standard Malay |
License
Apache 2.0 — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_skill_wordnet-0.4.0a1.tar.gz.
File metadata
- Download URL: ovos_skill_wordnet-0.4.0a1.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8a9ba22d1d0fab7fa4560ac4d135a1b1b28b292a991af6bc9ee1586982f8ff6
|
|
| MD5 |
f913db6eada5dd2b49a52f0261e3a521
|
|
| BLAKE2b-256 |
e70473cc4d329dbe6f21b754bbda1466eae6f6801062ee520c59cc3030020601
|
File details
Details for the file ovos_skill_wordnet-0.4.0a1-py3-none-any.whl.
File metadata
- Download URL: ovos_skill_wordnet-0.4.0a1-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a4d2585d76ecf4812d9758637098b208867e55e615f103f74b5380a22431520
|
|
| MD5 |
397d26f003cdb8dafc9da1a33b1bf659
|
|
| BLAKE2b-256 |
f494b9bca1d7865717d82deb1e075f4b452df88c45fc20ce2e2c3efc86baf967
|