Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Hotel Sentiment Dataset [resolves #249] #254

Merged
merged 11 commits into from Apr 14, 2021

Conversation

onatyap
Copy link
Contributor

@onatyap onatyap commented Apr 14, 2021

Implemented Hotel Sentiment Dataset mentioned in #249.

  • Dataset implementation can be found in sadedegel/dataset/hotel_sentiment
  • Dataset explanation can be found in sadedegel/dataset/README.md
  • Dataset tests can be found in tests/datasets/test_hotel_sentiment.py

onatyap and others added 7 commits April 13, 2021 12:02
…set](http://humirapps.cs.hacettepe.edu.tr/tsad.aspx) based on movie_sentiment dataset implementation.

__main__.py
* download: Downloads product sentiment corpus from cloud with key.
* validate: Sanity check on corpus

_core.py
* check_directory_structure: Checks and validates directory structure
* load_hotel_sentiment_train: Loads train data for hotel_sentiment
* load_hotel_sentiment_test: Loads test data for hotel_sentiment
* load_hotel_sentiment_test_label: Loads test labels for hotel_sentiment

__init__.py
context.py
* Add hotel_sentiment import
test_hotel_sentiment.py
* Add hotel_sentiment dataset tests for train, test, and label
@onatyap onatyap added documentation Improvements or additions to documentation dataset labels Apr 14, 2021
@onatyap onatyap requested a review from dafajon April 14, 2021 10:36
sadedegel/dataset/README.md Outdated Show resolved Hide resolved
sadedegel/dataset/hotel_sentiment/_core.py Outdated Show resolved Hide resolved
tests/datasets/test_hotel_sentiment.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataset documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Hotel Sentiment Dataset Hybrid Sentiment Analysis
3 participants