GithubHelp home page GithubHelp logo

jefferya / nerve Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cwrc/nerve

0.0 1.0 0.0 175.32 MB

Named Entity Recognition Vetting Environment

License: GNU General Public License v2.0

HTML 73.59% CSS 3.70% JavaScript 20.35% ANTLR 0.06% Java 2.31%

nerve's Introduction

NERVE

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!

Building from source.

prerequisites: glassfish, ant, git, npm, node
Note: paths are system dependent.

1. Checkout repository

git clone [email protected]:cwrc/NERVE.git (with key)
git clone git://github.com/cwrc/NERVE.git (without key)

2. Build server

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/

3. Deploy to GlassFish Server

asadmin deploy ./dist/Server.war

If already deployed, redeploy to GlassFish Server

asadmin redeploy --name=Server ./dist/Server.war

4. Build client

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

5. Link Client to Server

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.

Notes

Other commands of note

asadmin start-domain [domain_name]
asadmin stop-domain [domain_name]
asadmin list-applications

nerve's People

Contributors

ajmacdonald avatar thaerious avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.