Skip to main content

A collection of python utilities and scripts for identifying named entities in text and XML

Project description

name-dropper scripts

current build status for namedropper-py

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

namedropper-0.3.1.tar.gz (38.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page