From 5d4ec549c084607cd57c465235c5f9fc18c123c6 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Wed, 1 Apr 2026 11:39:20 -0400 Subject: [PATCH] added train.json --- TextBlob/test.json | 0 TextBlob/text_classifier.py | 0 TextBlob/train.json | 12 ++++++++++++ 3 files changed, 12 insertions(+) create mode 100644 TextBlob/test.json create mode 100644 TextBlob/text_classifier.py create mode 100644 TextBlob/train.json diff --git a/TextBlob/test.json b/TextBlob/test.json new file mode 100644 index 0000000..e69de29 diff --git a/TextBlob/text_classifier.py b/TextBlob/text_classifier.py new file mode 100644 index 0000000..e69de29 diff --git a/TextBlob/train.json b/TextBlob/train.json new file mode 100644 index 0000000..f6a3bbc --- /dev/null +++ b/TextBlob/train.json @@ -0,0 +1,12 @@ +[ + {"text": "I love this sandwich.", "label": "pos"}, + {"text": "This is an amazing place!", "label": "pos"}, + {"text": "I feel very good about these beers.", "label": "pos"}, + {"text": "This is my best work.", "label": "pos"}, + {"text": "What an awesome view", "label": "pos"}, + {"text": "I do not like this restaurant", "label": "neg"}, + {"text": "I am tired of this stuff.", "label": "neg"}, + {"text": "I can't deal with this", "label": "neg"}, + {"text": "He is my sworn enemy!", "label": "neg"}, + {"text": "My boss is horrible.", "label": "neg"} +] \ No newline at end of file