All Projects → yardstick17 → AspectBasedSentimentAnalysis

yardstick17 / AspectBasedSentimentAnalysis

Licence: other
Aspect Based Sentiment Analysis is a special type of sentiment analysis. In an explicit aspect, opinion is expressed on a target(opinion target), this aspect-polarity extraction is known as ABSA.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to AspectBasedSentimentAnalysis

MemNet ABSA
No description or website provided.
Stars: ✭ 20 (-67.21%)
Mutual labels:  absa, aspect-based-sentiment-analysis
Transferable-E2E-ABSA
Transferable End-to-End Aspect-based Sentiment Analysis with Selective Adversarial Learning (EMNLP'19)
Stars: ✭ 62 (+1.64%)
Mutual labels:  absa, aspect-based-sentiment-analysis
HAST
Aspect Term Extraction with History Attention and Selective Transformation (IJCAI 2018)
Stars: ✭ 53 (-13.11%)
Mutual labels:  aspect-based-sentiment-analysis, opinion-target-extraction
ABSADatasets
Public & Community-shared datasets for Aspect-based sentiment analysis and Text Classification
Stars: ✭ 49 (-19.67%)
Mutual labels:  absa
PBAN-PyTorch
A Position-aware Bidirectional Attention Network for Aspect-level Sentiment Analysis, PyTorch implementation.
Stars: ✭ 33 (-45.9%)
Mutual labels:  aspect-based-sentiment-analysis
ACSA
Papers, models and datasets for Aspect-Category Sentiment Analysis.
Stars: ✭ 50 (-18.03%)
Mutual labels:  aspect-based-sentiment-analysis
PyABSA
Open Framework for Aspect-based Sentiment Analysis based on state-of-the-art Models
Stars: ✭ 398 (+552.46%)
Mutual labels:  aspect-based-sentiment-analysis
extra-model
Code to run the ExtRA algorithm for unsupervised topic/aspect extraction on English texts.
Stars: ✭ 43 (-29.51%)
Mutual labels:  aspect-based-sentiment-analysis
Scon-ABSA
[CIKM 2021] Enhancing Aspect-Based Sentiment Analysis with Supervised Contrastive Learning
Stars: ✭ 17 (-72.13%)
Mutual labels:  aspect-based-sentiment-analysis
Position-Aware-Tagging-for-ASTE
Code and models for the paper " Position-Aware Tagging for Aspect Sentiment Triplet Extraction", EMNLP 2020.
Stars: ✭ 70 (+14.75%)
Mutual labels:  aspect-based-sentiment-analysis
Covolution over Dependency Tree EMNLP2019
Here is the code for the paper ``Aspect-Level Sentiment Analysis via Convolution over Dependency Tree'' accepted by EMNLP2019.
Stars: ✭ 17 (-72.13%)
Mutual labels:  aspect-based-sentiment-analysis
SA-DL
Sentiment Analysis with Deep Learning models. Implemented with Tensorflow and Keras.
Stars: ✭ 35 (-42.62%)
Mutual labels:  aspect-based-sentiment-analysis
RoBERTaABSA
Implementation of paper Does syntax matter? A strong baseline for Aspect-based Sentiment Analysis with RoBERTa.
Stars: ✭ 112 (+83.61%)
Mutual labels:  absa
MGAN
Exploiting Coarse-to-Fine Task Transfer for Aspect-level Sentiment Classification (AAAI'19)
Stars: ✭ 44 (-27.87%)
Mutual labels:  aspect-based-sentiment-analysis

Aspect Based Sentiment Analysis

Paper

Dataset

ABSA-15_Restaurants_Train_Final.xml

Approach

Natural Language Processing based. Multilabel classifier on top of syntactic extraction rules.

Results

100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 582/582 [02:18<00:00,  3.10it/s]
For Data-set:  dataset/ABSA15_Restaurants_Test.json
              precision    recall  f1-score   support

          0       0.00      0.00      0.00        54
          1       0.83      0.50      0.63       542

avg / total       0.76      0.46      0.57       596

[root] [2017-09-27 17:59:03,966] INFO : Shape of array for dataset:  X:(582, 13635) , Y:(582, 31)
/Users/Amit/anaconda/lib/python3.5/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: Precision and F-score are ill-defined and being set to 0.0 in labels with no predicted samples.
  'precision', 'predicted', average, warn_for)
Classification report on testing_data
              precision    recall  f1-score   support

          0       0.97      0.93      0.95       101
          1       1.00      1.00      1.00         2
          2       1.00      0.54      0.70        54
          3       1.00      1.00      1.00         2
          4       1.00      1.00      1.00         3
          5       1.00      1.00      1.00         2
          6       1.00      0.74      0.85        23
          7       1.00      1.00      1.00         1
          8       0.00      0.00      0.00         1
          9       1.00      0.83      0.91         6
         10       1.00      0.33      0.50         3
         11       1.00      1.00      1.00         1
         12       1.00      1.00      1.00        14
         13       0.94      0.79      0.86        19
         14       1.00      1.00      1.00         1
         15       0.00      0.00      0.00         1
         16       1.00      1.00      1.00         2
         17       1.00      1.00      1.00         5

avg / total       0.97      0.80      0.87       241

[root] [2017-09-27 17:59:19,624] INFO : Dataset: dataset/ABSA15_Restaurants_Test.json
582it [00:00, 628.15it/s]
NO PREDICTION FOR RULE:  397  out of:  582
Task: ONLY_ASPECT_PREDICTION False
Accuracy:  80.96885813148789
Total:  289 , Correct:  234
::::::::::::::::::   TESTING   ::::::::::::::::::
 dataset/ABSA15_Restaurants_Test.json
              precision    recall  f1-score   support

          0       0.00      0.00      0.00        55
          1       0.81      0.43      0.56       542

avg / total       0.74      0.39      0.51       597

Setup

# From project root, execute this command:

pip install -r requirements.txt

Commands

# From project root, execute this command:
PYTHONPATH='.' python3 training/train_top_classifier.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].