--- license: apache-2.0 dataset_info: features: - name: hotel_id dtype: int64 - name: user_id dtype: string - name: title dtype: string - name: text dtype: string - name: overall dtype: float64 - name: cleanliness dtype: float64 - name: value dtype: float64 - name: location dtype: float64 - name: rooms dtype: float64 - name: sleep_quality dtype: float64 - name: stay_year dtype: int64 - name: post_date dtype: timestamp[ns] - name: freq dtype: int64 - name: review dtype: string - name: char dtype: int64 - name: lang dtype: string splits: - name: train num_bytes: 368237342 num_examples: 201295 download_size: 220909380 dataset_size: 368237342 configs: - config_name: default data_files: - split: train path: data/train-* task_categories: - text-classification language: - en pretty_name: sentiment size_categories: - 10K - **Repository:** [https://nlp.stanford.edu/~bdlijiwei/Code.html](https://nlp.stanford.edu/~bdlijiwei/Code.html) - **Paper:** Li et al. (2023) (Details are shown in `Citation` section) ## Uses You can load data using datasets package as: ```python from datasets import load_dataset df = load_dataset("jniimi/tripadvisor") ``` ### Direct Use This data is suitable for Aspect-based Sentiment Analysis (AbSA), as the same way that TripAdvisor data has already been used in many previous studies. ### Out-of-Scope Use Please follow the policy of the [original data source](https://nlp.stanford.edu/~bdlijiwei/Code.html). ## Dataset Structure The dataset includes the following columns in each line: - `hotel_id`: Unique identifier for hotels. - `user_id`: Unique identifier for users. - `title`: Heading of the user review. - `text`: Actual text of the review. - `review`: reviews combined as follows: `title` \n `text` - `overall`: The rating given by the user. - `cleanliness`: The rating regarding the cleanliness. - `value`: The rating regarding the value. - `location`: The rating regarding the location. - `rooms`: The rating regarding the rooms. - `sleep_quality`: The rating regarding the sleep quality. - `date_stayed`: The date when the user stayed. - `date`: The date when the review was posted. ## Dataset Creation ## Citation **BibTeX:** @misc{tripadvisor_dataset, author = {Junichiro, Niimi}, title = {Hotel Review Dataset (English)}, year = {2024}, howpublished = {\url{https://github.com/jniimi/tripadvisor_dataset}} } **APA:** Original paper: - Li, J., Ott, M., & Cardie, C. (2013, October). Identifying manipulated offerings on review portals. In Proceedings of the 2013 conference on empirical methods in natural language processing (pp. 1933-1942). [https://aclanthology.org/D13-1199/](https://aclanthology.org/D13-1199/) ## Dataset Card Authors jniimi (@JvckAndersen)