The Wowool Infobox Package
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wowool_infobox-1.1.0-py3-none-any.whl.
File metadata
- Download URL: wowool_infobox-1.1.0-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82b496e9e21fc515d78f0d61a6be20bf600b3ebbfb283f576aa4323d63354bb5
|
|
| MD5 |
8a3406f0e13e9d05064716eef9ab1183
|
|
| BLAKE2b-256 |
d1dca00bd07cb06b9ba380ee0f6a7c1c98f3a5e7226ee5960c7d7f42c3a27354
|