The Leolani Language module for identifying instances
Project description
cltl-knowledgelinking
The Leolani instance identification package. Module for entity linking.
Description
This package takes in a capsule and returns it with assigned URIs for the entities and/or predicates.
Getting started
Prerequisites
This repository uses Python >= 3.7
Be sure to run in a virtual python environment (e.g. conda, venv, mkvirtualenv, etc.)
Installation
-
In the root directory of this repo run
pip install -e .
Usage
For using this repository as a package different project and on a different virtual environment, you may
-
install a published version from PyPI:
pip install cltl.entity_linking
-
or, for the latest snapshot, run:
pip install git+git://github.com/leolani/cltl-knowledgelinking.git@main
Then you can import it in a python script as:
import cltl.entity_linking
Examples
Please take a look at the example scripts provided to get an idea on how to run and use this package. Each example has a comment at the top of the script describing the behaviour of the script.
For these example scripts, you need
-
To change your current directory to ./examples/
-
Run some examples (e.g. python label_based.py)
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Authors
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 Distribution
Hashes for cltl.entity_linking-0.0.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03552deeb3de7f7f05ed440992267c68b3b6bc61760a44ebbc2e83a00474db13 |
|
MD5 | 49eb705403816ee4e4b48b8933e807fa |
|
BLAKE2b-256 | 105c0ce9e53e2771c02cac1ed1e58abbdc40dbf13b6d98d0d4e8631f872036e1 |