semvec/pypi-packages huggingface dataset:
namedropper 0.3.1
A collection of python utilities and scripts for identifying named entities in text and XML
License: Apache License, Version 2.0

name-dropper scripts
====================

.. image:: https://travis-ci.org/emory-libraries-disc/namedropper-py.png?branch=develop
  :alt: current build status for namedropper-py
  :target: https://travis-ci.org/emory-libraries-disc/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.

.. _namedropper: https://github.com/emory-libraries-disc/name-dropper

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).

.. _DBpedia Spotlight: http://spotlight.dbpedia.org/
.. _VIAf: http://viaf.org

Installation
------------

We recommend the use of `pip <http://www.pip-installer.org/en/latest/index.html>`_
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 <http://www.apache.org/licenses/LICENSE-2.0>`_.


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 .

.. _virtualenv: http://www.virtualenv.org/en/latest/

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