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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos-wikipedia-solver-0.0.3a1.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.3a1.tar.gz
Algorithm Hash digest
SHA256 cb0e855eadaf7c8f803c1c18933616add3a629ed1a16efa5bb5a9a1fa046d9b5
MD5 e12e46454203b27582b38141789333fd
BLAKE2b-256 b8d62ce023bf83e745506742fb8e1fe0c450ad3ed4753c4f126ba9aa25ecaae8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef9b462b0cc0b3f43e8f11ca5019b9c18718f5ce6889e534814c0bbbca035a29
MD5 db56aee28783ed42fecd7f124d8d021f
BLAKE2b-256 2e17d5c7e62d93526bba2b6e10f993857b857ad4e33bc9bf2e0e239e206d0f90

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