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.2.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.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_wikipedia_solver-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1c1afc78f5696f8e9ba3bd9e030ec931aa40408d5b5b4634b4f07a21be760ab4
MD5 9a1adcafedbd6d332b6a31fd236b290f
BLAKE2b-256 7746b885e3fa90d9bce7e36a20607f11eb7518b6dfd48b30b66594bfdd338742

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a34799bd75696b1b568276628bc5933de0dafdd829226bfab5c8674ec14c5310
MD5 512e26ff7a1f428ac03465e6209dffbe
BLAKE2b-256 6ace15efd81bc3be68cf91f6b3fce7adca192696284b2dbdd5a53d5abb71a496

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