Name | entity-linking JSON |
Version |
0.1
JSON |
| download |
home_page | None |
Summary | A library for entity linking |
upload_time | |
maintainer | None |
docs_url | None |
author | Nikolas |
requires_python | ==3.11 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Lightweight entity linking solution.
**Please consider citing our works if you use code from this repository.**
## Main dependencies
* python==3.11
* numpy==1.26.4
* SPARQLWrapper==2.0.0
* sentence_transformers==3.1.1
* aiohttp==3.9.5
* openai==1.54.2
* beautifulsoup4==4.12.2
* fake-useragent==1.5.1
## Examples & Usage
```
from main import navia
# Your API token which can be found here (https://github.com/marketplace/models/azure-openai/gpt-4o)
api_token = "YOUR_API_TOKEN"
EL(api_token=api_token, sentence="We used PCA and FA for our experiments.", mention="PCA", single="No", combination="No", disambiguation="No", embedding_model="Lajavaness/bilingual-embedding-large")
```
```
Wikipedia: https://en.wikipedia.org/wiki/Principal_component_analysis
Wikidata: https://www.wikidata.org/wiki/Q2873
DBpedia: http://dbpedia.org/resource/Principal_component_analysis
Execution Time: 00:00:18
```
## Licence
This library is licensed under the CC-BY-NC 4.0 license.
Raw data
{
"_id": null,
"home_page": null,
"name": "entity-linking",
"maintainer": null,
"docs_url": null,
"requires_python": "==3.11",
"maintainer_email": null,
"keywords": null,
"author": "Nikolas",
"author_email": null,
"download_url": null,
"platform": null,
"description": "Lightweight entity linking solution.\r\n\r\n**Please consider citing our works if you use code from this repository.**\r\n\r\n## Main dependencies\r\n* python==3.11\r\n* numpy==1.26.4\r\n* SPARQLWrapper==2.0.0\r\n* sentence_transformers==3.1.1\r\n* aiohttp==3.9.5\r\n* openai==1.54.2\r\n* beautifulsoup4==4.12.2\r\n* fake-useragent==1.5.1\r\n\r\n## Examples & Usage\r\n\r\n```\r\nfrom main import navia\r\n\r\n# Your API token which can be found here (https://github.com/marketplace/models/azure-openai/gpt-4o)\r\napi_token = \"YOUR_API_TOKEN\"\r\n\r\nEL(api_token=api_token, sentence=\"We used PCA and FA for our experiments.\", mention=\"PCA\", single=\"No\", combination=\"No\", disambiguation=\"No\", embedding_model=\"Lajavaness/bilingual-embedding-large\")\r\n```\r\n\r\n```\r\nWikipedia: https://en.wikipedia.org/wiki/Principal_component_analysis\r\n\r\nWikidata: https://www.wikidata.org/wiki/Q2873\r\n\r\nDBpedia: http://dbpedia.org/resource/Principal_component_analysis\r\n\r\nExecution Time: 00:00:18\r\n```\r\n\r\n## Licence\r\nThis library is licensed under the CC-BY-NC 4.0 license.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A library for entity linking",
"version": "0.1",
"project_urls": null,
"split_keywords": [],
"urls": [],
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "entity-linking"
}