A collection of python utilities and scripts for identifying named entities in text and XML
Project description
name-dropper scripts
Python scripts and utilities for looking up names and linking them to authoritative identifiers. See the top-level namedropper repository for more information.
Currently uses DBpedia Spotlight for recognition of named entities in text, with support for matching identified DBpedia resources (currently only for Persons) with the equivalent resource in VIAF (Virtual International Authority File).
Installation
We recommend the use of pip to install the latest released version of this package and its dependencies:
pip install namedropper
This will also make the lookup-names and count-nametags scripts available.
More detailed documentation, including script usage information, is available at http://namedropper.readthedocs.org/
License
NameDropper Python module and scripts are distributed under the Apache 2.0 License.
Developer notes
To install dependencies for your local check out of the code, run pip install in the namedropper-py directory (the use of virtualenv is recommended):
pip install -e .
If you want to run unit tests or build sphinx documentation, you will also need to install development dependencies:
pip install namedropper[dev]
To run all unit tests:
nosetests # for normal development nosetests --with-coverage --cover-package=namedropper --cover-xml --with-xunit # for continuous integration
To run unit tests for a specific module, use syntax like this:
nosetests test/test_spotlight.py
To generate sphinx documentation:
cd doc make html
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file namedropper-0.3.1.tar.gz
.
File metadata
- Download URL: namedropper-0.3.1.tar.gz
- Upload date:
- Size: 38.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8273b6021c26b4e6406e5038c696b317448f6e5b8544db8b784b1659d1ec19f |
|
MD5 | 8b3bf2f18b8c9a2233ae84632676c0a8 |
|
BLAKE2b-256 | 308cafbd62e8911d3df498c676803c6ba27d7b559bb80cc78cac3cb38c6eaceb |