From 719052cde8dce4135d80af811e08ab44debf1445 Mon Sep 17 00:00:00 2001 From: riccimason99 <144854189+riccimason99@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:05:15 -0500 Subject: [PATCH 1/4] test push --- .idea/vcs.xml | 4 +++- Sentiment Analysis and Classification.py | 4 ++-- ~$ssertation_Final.docx | Bin 162 -> 0 bytes 3 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 ~$ssertation_Final.docx diff --git a/.idea/vcs.xml b/.idea/vcs.xml index d843f34..35eb1dd 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,4 +1,6 @@ - + + + \ No newline at end of file diff --git a/Sentiment Analysis and Classification.py b/Sentiment Analysis and Classification.py index 473df42..ed2736c 100644 --- a/Sentiment Analysis and Classification.py +++ b/Sentiment Analysis and Classification.py @@ -32,11 +32,11 @@ # Import data all_text = pd.read_csv('...') -############ +############# ######################## # Sentiment Analysis ######################## -############ +############# # first untokenize text so it can be used easily for sentiment analysis all_text['untokenized'] = all_text['tokens'].apply(lambda tokens: ''.join(tokens).replace("', '", ' ').replace("['", '').replace("']", '')) diff --git a/~$ssertation_Final.docx b/~$ssertation_Final.docx deleted file mode 100644 index a44602dc4672d537747d94f8e073b1c10f380f9a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 162 xcmd<~O)SpOQwYjTPR?W?8gMiCG9)q-GvqVmF(@zuF=R3%10e|p5N#6!0{{c02qypl From 580264eb39f79fbaf9c2b3bec33a9a7e8dec713d Mon Sep 17 00:00:00 2001 From: riccimason99 <144854189+riccimason99@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:05:33 -0500 Subject: [PATCH 2/4] test push --- .idea/Dissertation_Project.iml | 8 ++++++++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/misc.xml | 7 +++++++ .idea/modules.xml | 8 ++++++++ 4 files changed, 29 insertions(+) create mode 100644 .idea/Dissertation_Project.iml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml diff --git a/.idea/Dissertation_Project.iml b/.idea/Dissertation_Project.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/.idea/Dissertation_Project.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..db8786c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..8301634 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file From bb928f78059cc4d094300c627a11c890f89283dc Mon Sep 17 00:00:00 2001 From: riccimason99 <144854189+riccimason99@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:06:48 -0500 Subject: [PATCH 3/4] test push --- Sentiment Analysis and Classification.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sentiment Analysis and Classification.py b/Sentiment Analysis and Classification.py index ed2736c..b312370 100644 --- a/Sentiment Analysis and Classification.py +++ b/Sentiment Analysis and Classification.py @@ -32,11 +32,11 @@ # Import data all_text = pd.read_csv('...') -############# +############## ######################## # Sentiment Analysis ######################## -############# +############## # first untokenize text so it can be used easily for sentiment analysis all_text['untokenized'] = all_text['tokens'].apply(lambda tokens: ''.join(tokens).replace("', '", ' ').replace("['", '').replace("']", '')) From 029825ab21324514e2ab09e82182c5d184a7c4eb Mon Sep 17 00:00:00 2001 From: riccimason99 <144854189+riccimason99@users.noreply.github.com> Date: Thu, 5 Dec 2024 12:06:46 -0500 Subject: [PATCH 4/4] test push --- Sentiment Analysis and Classification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sentiment Analysis and Classification.py b/Sentiment Analysis and Classification.py index b312370..e646f7f 100644 --- a/Sentiment Analysis and Classification.py +++ b/Sentiment Analysis and Classification.py @@ -45,7 +45,7 @@ # Set sentminet analizer analyzer = SentimentIntensityAnalyzer() -# get scores for each piece of text and append to list +## get scores for each piece of text and append to list compounds = [] neg = [] pos = []