Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/p-adams/parsnips

An interactive NLP sandbox
https://github.com/p-adams/parsnips

chartjs clojure compojure javascript natural-language-processing ring stanford-corenlp vue vue-chartjs

Last synced: 5 days ago
JSON representation

An interactive NLP sandbox

Awesome Lists containing this project

README

        

# parsnips
> parse and analyze text snippets using CoreNLP

An interactive NLP sandbox.

Parnips is a web application built upon Stanford's state-of-the-art NLP toolkit CoreNLP.

Stanford CoreNLP's site describes CoreNLP as:

`A set of human language technology tools. It can give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize dates, times, and numeric quantities, mark up the structure of sentences in terms of phrases and syntactic dependencies, indicate which noun phrases refer to the same entities, indicate sentiment, extract particular or open-class relations between entity mentions, get the quotes people said, etc.`

The backend of parsnips is built in Clojure, which offers an concise and expressive syntax for working with CoreNLP tools; Ring and Compojure are used to create the RESTful web service. On the frontend, Vue.js is used to build out the user interface, while Chart.js and vue-chart.js are utilized for creating various charts and graphs, such as the word frequency distribution chart.

The target language is currently English; however, there are plans to incorporate as many languages as CoreNLP supports (for instance, Arabic, Chinese, French, German, and Spanish).

### Supported natural language processing features:


  • Tokenization

  • Word Frequency Distribution

  • Named-Entity Recognition

  • Lemmatization

  • Part of Speech Tagging

  • Constituency Parsing

#### Usage
Clone repo

`git clone https://github.com/p-adams/parsnips`

##### Start server:

`cd parsnips/server`

With lein installed, run `lein ring server`

Starts server on port 3000

##### Start client dev server:

Install dependencies: `cd parsnips/client && npm install`

Start server: `npm run dev`

### Todo


  • Create tree hierarchy interface for parser feature