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"))
Metadata
Release files for ovos-wikipedia-solver 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ovos_wikipedia_solver-0.1.3.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ovos_wikipedia_solver-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / ovos_wikipedia_solver-0.1.3.tar.gz
| Download URL | ovos_wikipedia_solver-0.1.3.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70d1f932a6d85cf02a624f643a2bcd91aa652de89c8fbb067e75189b871a1010
|
|
BLAKE2b-256 checksum How to use checksums |
7873aae3445b0d8fc16a86b8014ff8e14c8e94c402fbda2970d119ac2e12a9a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / ovos_wikipedia_solver-0.1.3-py3-none-any.whl
| Download URL | ovos_wikipedia_solver-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cae999ae3755397fabaab9b64ad10ac8b459d7cef7692ed880420644019a9fb
|
|
BLAKE2b-256 checksum How to use checksums |
1c2cd45bb15bf27725da6df48eb16a638ee14b06cf4df09a26d8c7a4918a79ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|