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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_skill_wordnet-0.6.2a1.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_skill_wordnet-0.6.2a1-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file ovos_skill_wordnet-0.6.2a1.tar.gz.

File metadata

  • Download URL: ovos_skill_wordnet-0.6.2a1.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_skill_wordnet-0.6.2a1.tar.gz
Algorithm Hash digest
SHA256 6970fb913fff7e5e0d7c3934c0291747984ba0adb0069063aa1ce95750718a8e
MD5 b7a4d79f15fb302796de6acdd4ae0b94
BLAKE2b-256 8bd9d13f64244358577e4f2a4f5176b59886a86127bd3b9ef3a3a21fad142c85

See more details on using hashes here.

File details

Details for the file ovos_skill_wordnet-0.6.2a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_wordnet-0.6.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d45d6c4534c5684791b9b97dfb4bbac7ccb6a6f426b384fa2d5a1af13261c5c8
MD5 a96899e955f625b865a6027840a3dea3
BLAKE2b-256 4b378d5427843975b8540d98ba0ef87d47ef85a911e74b82f4acc7cc22c3056f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page