Skip to main content

ovos wikipedia plugin

Project description

Wikipedia Plugin

from ovos_wikipedia_solver import WikipediaSolver

s = WikipediaSolver()
print(s.get_spoken_answer("quem é Elon Musk", "pt"))

query = "who is Isaac Newton"
print(s.extract_keyword(query, "en-us"))
assert s.extract_keyword(query, "en-us") == "Isaac Newton"

print(s.get_spoken_answer("venus", "en"))
print(s.get_spoken_answer("elon musk", "en"))
print(s.get_spoken_answer("mercury", "en"))

Project details


Download files

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

Source Distribution

ovos_wikipedia_solver-0.1.2a1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

ovos_wikipedia_solver-0.1.2a1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file ovos_wikipedia_solver-0.1.2a1.tar.gz.

File metadata

  • Download URL: ovos_wikipedia_solver-0.1.2a1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ovos_wikipedia_solver-0.1.2a1.tar.gz
Algorithm Hash digest
SHA256 d4351bdf20cff6f2429b64396a415651e8e697fdb4da4313bea2254b2c0d489c
MD5 66f9899b3dd4d509b4f6aaa542c27dfb
BLAKE2b-256 33a53f883243bc36c311bf6f89c45bf442ef3fb64a25b275210bf65113cbb4a7

See more details on using hashes here.

File details

Details for the file ovos_wikipedia_solver-0.1.2a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.1.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 de870cfec4ad5cb5c4a2cd011b3c22dbdeafaa02d150dba2d7eea7b2012c1a62
MD5 5126a80058d781cc664555ef82516b52
BLAKE2b-256 e8759a2fd593dfbce9fcb0ce4d50d564b931aca1af7bcc4f12e4be8ff5bfeaa0

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 Pingdom Monitoring Sentry Error logging StatusPage Status page