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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_wikipedia_solver-0.1.4a4.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.4a4.tar.gz
Algorithm Hash digest
SHA256 df0989440b4b0ffc0e03dc032ca30125f2f4ff968219b9f289658bf6529da1d3
MD5 3795798afa86ed119fa4695c2a34900c
BLAKE2b-256 3e4d9c6bc3eebb4fa0fe3529170f4b39db59284fc6fdda7168a6c7d05c768052

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_wikipedia_solver-0.1.4a4-py3-none-any.whl
Algorithm Hash digest
SHA256 4987a2e673ae30668621a4e0f69c9f6113adf60ac492eef496c0657f3e2ddead
MD5 1ad8a467dd2a9f57ab98e728d55c99de
BLAKE2b-256 331014e848804e98181992db604c5cbd1b13023c00ead809bec85f7b9798dad4

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