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.4a5.tar.gz (7.5 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.4a5-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file ovos_wikipedia_solver-0.1.4a5.tar.gz.

File metadata

  • Download URL: ovos_wikipedia_solver-0.1.4a5.tar.gz
  • Upload date:
  • Size: 7.5 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.4a5.tar.gz
Algorithm Hash digest
SHA256 908ae2c8edcf3676645e89e83ef24b558dc1cc61a15f9e6af0609f56fd0b7e93
MD5 9dd7ef753e53c1c233f4f635483987fc
BLAKE2b-256 8f9645e12237c4ec8ad984c82c87ff4dc60459300b6c634a5278b8487a9f7f72

See more details on using hashes here.

File details

Details for the file ovos_wikipedia_solver-0.1.4a5-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.1.4a5-py3-none-any.whl
Algorithm Hash digest
SHA256 07a5bad45a3494d11398cb632f21f446695bc071c3739db66a82c1bb23aeee9f
MD5 1c44398d4f0f9d1c7c35da3dd888b7cd
BLAKE2b-256 5c3c0ff179f8a2117b0126792660d98e5de14b5082d784f9703aa4022727f2c3

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