Named Entity Recognition Vetting Environment
This is a javascript web service that allows you to upload an XML document, run Stanford NER to recognize entities, and to look up and add URIs to new or pre-existing entities. The current version supports three schemas: TEI (Text Encoding Initiative); Orlando (the Orlando Project's biography and writing schemas) and CWRC (Canadian Writing Research Collaboratory).
Lookups are currenty limited to geonames, VIAF, and the CWRC (Canadian Writing Research Collaboratory) entity collection.
License and documentation forthcoming soon!
prerequisites: glassfish, ant, git, npm, node
Note: paths are system dependent.
git clone [email protected]:cwrc/NERVE.git (with key)
git clone git://github.com/cwrc/NERVE.git (without key)
First, install the node dependencies. From the NERVE/Server directory, run
npm i
Second, build the war file. The default task in the NERVE/Server/build.xml ant file will output the built server application to NERVE/Server/dist/Server.war.
The task relies upon the j2ee.server.home
property being set to your glassfish server installation.
The task requires the lib
path to be set to the JJJRMI.packed jar file in the NERVE/lib directory.
For example, from the NERVE/Server directory, run
ant -lib ../lib/JJJRMI.packed-0.4.20.jar -D"j2ee.server.home"=/home/glassfish5/glassfish/
asadmin deploy ./dist/Server.war
If already deployed, redeploy to GlassFish Server
asadmin redeploy --name=Server ./dist/Server.war
Requires browserify, and sass.
npm i -g browserify
npm i -g sass
> cd ../NERScriber
> npm i
> cd ../client
> npm i
> npm run build-js
> npm run build-css
> cp -r public_html/ /home/glassfish5/glassfish/domains/domain1/docroot/nerve
In the client side of the app there a file 'assets/serverlocation'. This file contains the location of the web socket, the default value is 'ws://localhost:8080/NERVESERVER/NerveSocket', the 'localhost:8080' needs to be changed to the ip/name of your server.
asadmin start-domain [domain_name]
asadmin stop-domain [domain_name]
asadmin list-applications