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.0.3.tar.gz (5.9 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.0.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file ovos-wikipedia-solver-0.0.3.tar.gz.

File metadata

  • Download URL: ovos-wikipedia-solver-0.0.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for ovos-wikipedia-solver-0.0.3.tar.gz
Algorithm Hash digest
SHA256 61ecd7deda0d6d212081f26233820b1a46afa9903d46a0c69698a41cc805edde
MD5 06e1e8f763c9a05e42c221f3c733ddd6
BLAKE2b-256 d9bcb14dcd730c6ce2292f54988bebda32a12963f96e3fdd17924c64654a2274

See more details on using hashes here.

File details

Details for the file ovos_wikipedia_solver-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c6d49ad4c785b37d2ce73ce6f98ba975b9b1be54e42de2fcab5289d912e476eb
MD5 986295cb21c8a457271890fa7a0ad0d2
BLAKE2b-256 a4caa42d6719ca2598e278e31bd666fe87a964d7b3a9536fc68708a42512267f

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