Coder Social home page Coder Social logo

fkunneman / product_review_summary Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 11 KB

This repository harbours scripts that were used for the study described in the Coling 2018 paper 'Aspect-based summarization of pros and cons in unstructured product reviews'

Python 100.00%

product_review_summary's Introduction

Product_review_summary

This repository harbours scripts that were used for the study described in the Coling 2018 paper 'Aspect-based summarization of pros and cons in unstructured product reviews'.

The scripts 'baseline.py' and 'synpat.py' are implementations of two of the systems that are evaluated in the paper. The script 'evaluation1.py' is the implementation of the first evaluation, that matches system output to the pros and cons that are put forward by the authors of the reviews. All scripts can be applied with python 3.x, and take json-formatted review text as basic input. These files can not be shared publicly. Please contact Florian Kunneman ([email protected]) if you are interested in the data or have questions about the code.

Usage of baseline.py

python baseline.py train.json dev.json test.json baseline_predictions.json

Usage of synpat.py

python synpat.py test.json duoman.txt synpat_predictions.txt synpat_predictions.json

Usage of evaluation1.py

python evaluation1.py synpat_predictions.json human_gold_standard.json 70 pattern_pros pattern_cons pattern_results.json pattern_results_summary.csv

product_review_summary's People

Contributors

fkunneman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.