Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ovos-skill-wordnet

PyPI License Python

WordNet skill for OpenVoiceOS. It adds a voice interface on top of ovos-wordnet-plugin, which handles all WordNet lookups, intent detection, and translation.

The skill supports three answer modes:

  • Explicit intent handles utterances that name WordNet directly (for example, "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 more) and returns a spoken-language response.
  • Common Query handles dictionary-style questions through the OVOS Common Query pipeline. It competes with other knowledge skills and returns confidence 0.6 for definition matches.
  • Fallback catches utterances that no other skill answers. The fallback handler intercepts utterances that match WordnetQuery.voc (dictionary and 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 is required. WordNet data downloads automatically on first use (about 30-60 MB for English) and stays cached locally. When no native gloss is available, the system translation plugin translates non-English definitions.


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 (for example, Wolfram Alpha or Wikipedia). Any bare definition query can win:

  • "What is a dog?"
  • "What does melancholy mean?"

Fallback

The fallback handler registers at priority 90. It only intercepts utterances that contain dictionary or thesaurus keywords (definition, antonym, synonym, meaning, opposite, hypernym, hyponym, and more). All other utterances pass through immediately, so unrelated fallbacks stay unaffected.


Supported languages

The skill supports 31 languages. Definitions are native for English (Open English WordNet 2024) and German (ODENet). All other languages use OMW 1.4 lemmas. Where a native definition is unavailable, the configured OVOS translation plugin translates the English definition.

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

Related projects


License

Apache 2.0. See LICENSE.

Release files for ovos-skill-wordnet 0.6.4a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-skill-wordnet 0.6.4a1
File Size Uploaded
ovos_skill_wordnet-0.6.4a1.tar.gz 24.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-wordnet 0.6.4a1
File Interpreter ABI Platform
ovos_skill_wordnet-0.6.4a1-py3-none-any.whl Python 3 none any Details

Total release size: 73.8 kB

Release files / ovos_skill_wordnet-0.6.4a1.tar.gz

Download URL ovos_skill_wordnet-0.6.4a1.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
57658b23fd3e127c0a10d9e3e63f5174f65f3790353290a1f00dee7f62989ee2
BLAKE2b-256 checksum
How to use checksums
72b3e7445a56352b4808b85f0e76cf73cdeb59d2509e60d4dcdcbdaeeded3f4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_skill_wordnet-0.6.4a1-py3-none-any.whl

Download URL ovos_skill_wordnet-0.6.4a1-py3-none-any.whl
Size 49.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33af6b29485add20d8e55cbca94abb362b73156c53bdd2314b2f2a286ea2d00e
BLAKE2b-256 checksum
How to use checksums
6fc646ea23c9b4c7c17b6e069413f8c282b0c2013b40e61d19d105037d5c6094
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.6.4a1 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page