Skip to content

Aspect Based Sentiment Analysis for Hotel Review in Bahasa Indonesia (Focused on Aspect-Sentiment Pairing)

Notifications You must be signed in to change notification settings

arnoalexander/Final-Project-Pairwise-ABSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pairwise Aspect-Based Sentiment Analysis

Extracting pairs of aspect and sentiment expression from Indonesian hotel reviews.

The approach is to identify all possible candidate pairs and then classify them into valid or invalid class.

Project Structure

.
├── ner
├── pairing
└── utility
  • ner : Classify tokens whether they are aspect term, sentiment term, or not both. This is only a sandbox, we won't focus on it.
  • pairing : Main module, containing file reader, feature extractor, and pair classifier.
  • utility : Helper for main module.

How to Run

Create directories to store data and save trained model. Put train and test dataset to data/labelled.

.
├── data
|   ├── labelled
|   |   ├── train-pair.txt
|   |   └── test-pair.txt
|   └── raw
└── model
    ├── ner
    ├── pairing
    └── utility

Then, run demo.ipynb for demonstration or any other jupyter notebook files.

About

Aspect Based Sentiment Analysis for Hotel Review in Bahasa Indonesia (Focused on Aspect-Sentiment Pairing)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages