Description
The InfoBox application enrich annotation with wikipedia infobox information.## Examples
You will need to install the english language module to run the sample. pip install wowool-english
Enrich your data.
using the wow cli:
wow -p "english,entity,infobox.app" -i "I saw Joe Biden in the street."
or the api:
from wowool.sdk import Pipeline
from json import dumps
pipeline = Pipeline("english,entity,infobox.app")
doc = pipeline("I saw Joe Biden in the street.")
for entity in doc.entities:
print(dumps({**entity}, indent=2))
As we see we get all the attributes found in the wikipedia from that person.
results:
{
"uri": "Person",
"literal": "Joe Biden",
"stem": "Joe Biden",
"canonical": "Joe Biden",
"country": "USA",
"descriptor": "President,Democratic President,voter,Democrat,donor,man,candidate,reporter,lead President,President - elect",
"family": "Biden",
"gender": "male",
"given": "Joe",
"political_party": "democratic",
"position": "President,president,vice president,Democratic President,reporters,lead President,President - elect,politician,lawyer,author",
"position_level": "communication",
"shortdescription": "President of the United States since 2021",
"theme": "politics",
"wiki_type": "Person"
}
License
In both cases you will need to acquirer a license file at https://www.wowool.com
Non-Commercial
This library is licensed under the GNU AGPLv3 for non-commercial use.
For commercial use, a separate license must be purchased.
Commercial license Terms
1. Grants the right to use this library in proprietary software.
2. Requires a valid license key
3. Redistribution in SaaS requires a commercial license.
Metadata
Release files for wowool-infobox 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wowool_infobox-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for wowool_infobox-1.2.0-py3-none-any.whl |
Release files / wowool_infobox-1.2.0-py3-none-any.whl
| Download URL | wowool_infobox-1.2.0-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3a7014fa5ffa0cc8896ec573115ae63fdbbc637385c826b381acb6f7183d60c
|
|
BLAKE2b-256 checksum How to use checksums |
5b7c80749fa9fecd4df9065e5c24c307331d5d8497b9d684704d11f812701cf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for wowool-infobox 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.