entity-linking-test


Nameentity-linking-test JSON
Version 0.1 PyPI version JSON
download
home_pageNone
SummaryA library for entity linking
upload_time2024-11-25 09:23:39
maintainerNone
docs_urlNone
authorNikolas
requires_python==3.11
licenseNone
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"

navia(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-test",
    "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\nnavia(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": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33890a5f602c450ad8292fa88d0dd007b341922b0753aa0bfe126982bdd9d5b1",
                "md5": "d6b3512a7a6ea92a10586a1b6d116757",
                "sha256": "dd25d0abf98c6246170110c17cefff2de52fd44d4a1bac5a72911f8fe54a5bde"
            },
            "downloads": -1,
            "filename": "entity_linking_test-0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d6b3512a7a6ea92a10586a1b6d116757",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "==3.11",
            "size": 14129,
            "upload_time": "2024-11-25T09:23:39",
            "upload_time_iso_8601": "2024-11-25T09:23:39.121083Z",
            "url": "https://files.pythonhosted.org/packages/33/89/0a5f602c450ad8292fa88d0dd007b341922b0753aa0bfe126982bdd9d5b1/entity_linking_test-0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-25 09:23:39",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "entity-linking-test"
}
        
Elapsed time: 0.55315s