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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_wikipedia_solver-0.1.4a2.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.4a2.tar.gz
Algorithm Hash digest
SHA256 f19de4ac6e9e20db1ee0a969cc406d476cc8c9f94ae943aa0b607542a7f54a3a
MD5 2a4492d014b1fc9dce56b0a1dbc51077
BLAKE2b-256 9694c1798125f18493c666999a775ca7e66b8acd68100d76c736a183c73a85d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.1.4a2-py3-none-any.whl
Algorithm Hash digest
SHA256 64b8b297bfa764480400da7ee68bdfd2d387265280a21db6fb7fca02e3b98fad
MD5 505e3c44322e04a6ea1da29f6bfaba07
BLAKE2b-256 365d10956d013d62729d7659b7e425cb01707ab23165b3f35009f4b9f7cb9419

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