From 472b7916a19bf4781cb8748529ee34fb11b96894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E8=89=BA=E6=AC=A3?= <2509165020@student.example.com> Date: Tue, 23 Jun 2026 11:17:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- q2_1.py | 2 ++ reviews.json | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 reviews.json diff --git a/q2_1.py b/q2_1.py index b0369c3..e3e1f8a 100644 --- a/q2_1.py +++ b/q2_1.py @@ -32,3 +32,5 @@ for row in rows: movies.append(movie) with open("movies.json", "w", encoding="utf-8") as f: json.dump({"data_id": 1, "movies": movies}, f, ensure_ascii=False, indent=4) +#数据标注要下载pip install label-studio +# 第二步打开 label-studio start \ No newline at end of file diff --git a/reviews.json b/reviews.json new file mode 100644 index 0000000..161ff31 --- /dev/null +++ b/reviews.json @@ -0,0 +1,7 @@ +[ + {"id": 1, "text": "外卖小哥送得超快,餐盒还是热的,炸鸡酥脆多汁,酸辣粉也很正宗,分量足,五星好评!"}, + {"id": 2, "text": "等了一个半小时才送到,汤全洒了,面坨成一坨,联系客服也不回,太让人失望了。"}, + {"id": 3, "text": "奶茶是用料很扎实的现煮茶,珍珠Q弹有嚼劲,配送员态度也好,下次还会再点。"}, + {"id": 4, "text": "配送速度一般,但披萨味道不错,芝士拉丝效果好,性价比高,值得推荐。"}, + {"id": 5, "text": "点的麻辣烫食材不新鲜,有股怪味,吃完拉肚子,商家推卸责任,再也不点了。"} +]