Update README.md
Browse files
README.md
CHANGED
|
@@ -122,34 +122,9 @@ Each data file includes standardized columns:
|
|
| 122 |
|
| 123 |
---
|
| 124 |
|
| 125 |
-
##
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
This script loads a dataset in CSV, TSV, JSONL, or Excel format and outputs a standardized parsed file under parsed_data/.
|
| 132 |
-
|
| 133 |
-
What the Script Automatically Handles
|
| 134 |
-
- Detects common text columns (e.g., text, tweet, post, content)
|
| 135 |
-
- Detects common label columns (e.g., label, class, ground_truth, stance)
|
| 136 |
-
- Standardizes output columns to: `Text`, `id`, `source`, and `ground_truth` (only included if the dataset has labels).
|
| 137 |
-
|
| 138 |
-
### Example
|
| 139 |
-
|
| 140 |
-
```bash
|
| 141 |
-
python script/script_parse_dataset.py \
|
| 142 |
-
--input_file example.csv \
|
| 143 |
-
--dataset_name example_data \
|
| 144 |
-
--text_col text
|
| 145 |
-
```
|
| 146 |
-
|
| 147 |
-
(Optional) Manually specifying ununsual column names:
|
| 148 |
-
|
| 149 |
-
```bash
|
| 150 |
-
python script/script_parse_dataset.py \
|
| 151 |
-
--input_file example.tsv \
|
| 152 |
-
--dataset_name example_data \
|
| 153 |
-
--text_col text \
|
| 154 |
-
--label_col category
|
| 155 |
-
```
|
|
|
|
| 122 |
|
| 123 |
---
|
| 124 |
|
| 125 |
+
### Yelp Reviews
|
| 126 |
+
- **Text content**: Yelp restaurant reviews
|
| 127 |
+
- **Dataset**: [Data](https://www.yelp.com/dataset)
|
| 128 |
+
- **Annotation goal**:
|
| 129 |
+
- Sentiment Task: Classify the overall evaluation expressed in a Yelp restaurant review.
|
| 130 |
+
- **Ground truth**: Provided
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|