NNexus - Procedural API for NNexus indexing, auto-linking and annotation.
use NNexus; $annotated_text = linkentry($text,%options); $invalidated_urls = indexentry($url,%options);
This class provides a high-level user-facing procedural API for NNexus processing. Useful for Perl scripting, for example:
perl -MNNexus -e 'print linkentry(join("",<>))' < example.html > linked_example.html
Wikifies/auto-links the provided $text against the default NNexus database, unless otherwise specified. The accepted %options are all accepted options of the NNexus::Job new constructor.
$invalidated_urls = indexentry($url,%options);
Indexes a new entry located at the provided $url, invalidates the current auto-link jobs known to the default database and returns the entries to be invalidated. The accepted %options are all accepted options of the NNexus::Job new constructor.
Deyan Ginev <email@example.com>
Research software, produced as part of work done by the KWARC group at Jacobs University Bremen. Released under the MIT License (MIT)