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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_wikipedia_solver-0.1.4a1.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.4a1.tar.gz
Algorithm Hash digest
SHA256 1fe3d516ad56d26f619fae5472cc7ab058b3bca290b55d89ece46a03e2ce8718
MD5 3f4e58c8bd3cd5370327502932c071e8
BLAKE2b-256 e2ca9ebbcadae50761846d02a15cec688f8ed411ca5f8b9b5703009d040a4d0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.1.4a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ce8c1fd311c23be00259398c5251a42cb83829256ce8ced46c71e9996ffb392
MD5 9a83fbe5fc4da3a99a110c4686c5bace
BLAKE2b-256 0b884157afd5160ab3613b0e4267e0439de5e473e3435f502e51387a3d0436c3

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