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

Uploaded Python 3

File details

Details for the file ovos-wikipedia-solver-0.1.1.tar.gz.

File metadata

  • Download URL: ovos-wikipedia-solver-0.1.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for ovos-wikipedia-solver-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9be711b15c2e428c865ec054efe442660dae1f1c6de7502a822ee19c3b0c0e7b
MD5 7e263793c877da4cf9db0aaa6844fcc0
BLAKE2b-256 71ecaaf2549c3b166479b40403472562094da1e59f44ad71e99f42c6b3340eab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43046dfe67cb4f6ecb240e6b74113b8620593c511574f14bbe944315f9400749
MD5 9fed6b4640e39bd7e83c727e3f4b4e93
BLAKE2b-256 c629e22466d503911415e91a31714b47b51f68e2efa5ef14c36ff43878db0dd2

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