Coder Social home page Coder Social logo

charactergo's Introduction

CharacterGo

Highlights

img

Background

Identifying relationships between people is fundamental for the understanding of literatures. Main characters may have very certain strong relationship such as love, family, enemy, friend with others.

CharacterGo is a character interpretation system that be able to guide the interpretation of narrative events, explain character behaviors and steer the reader’s expectation about the plot using self-generated character relationship graphs. As such, it can have value for applications such as document summarization and machine reading.

Framework

  • Python 2.7
  • Stanford CoreNLP
  • book-nlp
  • Spacy
  • scikit-learn
  • Bash Shell
  • Flask
  • vis.js

Name Clustering

  • Name Entity Recognition
  • Pronominal Reference Resolve img
  • Name Normalization/ Clustering
    • "Tom", "Tom Sawyer", "Mr. Sawyer", "Thomas Sawyer" -> TOM_SAWYER

Pipeline

  1. Use book-nlp parse raw text to get tokenizers as well as name clusters
  2. Load and parse html output from book-nlp in Python
  3. Build supervised models including random forest, boosting, SVM and unsupervised representation using sklearn, plotly in Python
  4. Wrap all the functionalities in Flask framework, and set up local host server to handle raw input and output predictions and visualizations.

img

Results & Future Works

  • Good performance (Accruacy 0.70) of character relationship extraction on plot summary
  • Explore use more comprehensive NLP annotations in modeling (e.g. Action, noun chunks)
  • Improve web app performance

img

img

charactergo's People

Contributors

zfsang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

charactergo's Issues

Step of installation and use

Hello sir
i am unable to run your program in my laptop, i had install all dependency which you write on read me .
when i open flask app and put txt file it show the location error.
Kindly tell me all step of installing your repo and also run your code.

Thank you sir

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.