Code Monkey home page Code Monkey logo

elemento's Introduction

Elemento

Stanford CoreNLP installation

Requirements

  • graphviz
wget http://nlp.stanford.edu/software/stanford-corenlp-full-2018-10-05.zip
unzip stanford-corenlp-full-2018-10-05.zip
cd stanford-corenlp-full-2018-10-05
nano run.sh

Create an executable file run.sh within

java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer \
-preload tokenize,ssplit,pos,lemma,ner,parse,depparse \
-status_port 9000 -port 9000 -timeout 15000 &

Some examples require summarize

Examples execution examples

Example 1: Getting Idea's dictionary from text

Where "thepiratemodi" is the name of the text which must be available in books folder.

python example1.py "thepiratemodi"

Example 2: Generating questions from text

Where "thepiratemodi" is the name of the text which must be available in books folder.

python example2.py "thepiratemodi"

Example 3: Getting Idea's dictionary from summarized text

Where "thepiratemodi" is the name of the text which must be available in books folder and 0.4 the ratio of summarization.

python example3.py "thepiratemodi" 0.4

Example 4: Generating questions from summarized text

Where "thepiratemodi" is the name of the text which must be available in books folder and 0.4 the ratio of summarization.

python example3.py "thepiratemodi" 0.4

elemento's People

Contributors

gamendez98 avatar

Stargazers

 avatar Valentina Feruere avatar

Watchers

James Cloos avatar Valentina Feruere 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.