Repository navigation
Expand file tree
/
Copy pathtext-analytics.html
More file actions
214 lines (188 loc) · 9.17 KB
/
Copy pathtext-analytics.html
File metadata and controls
214 lines (188 loc) · 9.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!doctype html>
<html><head>
<title>Allison Robbins | Natural Language Processing</title>
<link rel="stylesheet" href="assets/style/project-style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel='stylesheet'>
<!-- CSS -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,600">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
<link rel="stylesheet" href="assets/style/animate.css">
<link rel="stylesheet" href="assets/style/style.css">
<link rel="stylesheet" href="assets/style/media-queries.css">
<link rel="stylesheet" href="assets/style/carousel.css">
<!-- Favicon and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<div id="header">
<h1><a href="https://allisonrobbins.github.io/index.html">Allison Robbins</a></h1>
<div class="navigation-bar">
<ul>
<li><a href="https://allisonrobbins.github.io/index.html#about-me">About Me</a></li>
<li><a href="https://allisonrobbins.github.io/index.html#projects">Projects</a></li>
<li><a href="https://allisonrobbins.github.io/index.html#contact">Contact Me</a></li>
</ul>
</div>
</div>
<div id="main">
<div id="content">
<section>
<h1>Text Analytics Project</h1>
<h2 class="course">Big Data & Analytics</h2>
<h3 class="date">Fall 2020</h3>
<br>
<figure class="wp-block-image size-large"><img loading="lazy" width="364" height="707" src="assets/images/text-analysis/wc.png" alt="" class="wp-image-49" ></figure>
<p>This is a Text Analysis project from my Big Data & Analytics class focusing on Natural Language Processing and Sentiment Analysis. Given the entire text of Tarzan, my partner and I cleaned the texts and analyzed it using the programming language R, looking for specific pieces of information. Cleaning the text included filtering out stop words, removing punctuation, and removing sparse words. The image on the right shows a wordcloud of all the most common words in the book, a helpful visualization of the data. We found the longest sentences and words in the entire book and marked the parts of speech for the words in those sentences. Next, we analyzed the frequency distribution of the words in the longest sentences. Lastly, we used the SentimentAnalysis package to analyze the sentiment of each chapter, which we then plotted. This project gave me an understanding of text analysis and provided a valuable foundation in data science.</p>
</section>
<br>
</div>
<section id="carousel-section">
<div class="top-content">
<div class="container-fluid">
<div id="carousel-example" class="carousel slide" data-ride="carousel">
<div class="carousel-inner row w-100 mx-auto" role="listbox">
<div class="carousel-item col-12 col-sm-6 col-md-4 col-lg-3 active">
<img src="assets/images/text-analysis/dtm.png" alt="img1">
</div>
<div class="carousel-item col-12 col-sm-6 col-md-4 col-lg-3">
<img src="assets/images/text-analysis/analyse-sentiment-2.png" class="img-fluid mx-auto d-block" alt="img2">
</div>
<div class="carousel-item col-12 col-sm-6 col-md-4 col-lg-3">
<img src="assets/images/text-analysis/freq-spectrum.png" class="img-fluid mx-auto d-block" alt="img3">
</div>
<div class="carousel-item col-12 col-sm-6 col-md-4 col-lg-3">
<img src="assets/images/text-analysis/plot-sentiment.png" class="img-fluid mx-auto d-block" alt="img4">
</div>
<div class="carousel-item col-12 col-sm-6 col-md-4 col-lg-3">
<img src="assets/images/text-analysis/Screen Shot 2020-12-22 at 3.45.01 PM.png" class="img-fluid mx-auto d-block" alt="img5">
</div>
<div class="carousel-item col-12 col-sm-6 col-md-4 col-lg-3">
<img src="assets/images/text-analysis/vocab-plot.png" class="img-fluid mx-auto d-block" alt="img6">
</div>
<div class="carousel-item col-12 col-sm-6 col-md-4 col-lg-3">
<img src="assets/images/text-analysis/sentiment-analysis-1.png" class="img-fluid mx-auto d-block" alt="img6">
</div>
<div class="carousel-item col-12 col-sm-6 col-md-4 col-lg-3">
<img src="assets/images/text-analysis/Screen Shot 2020-12-22 at 3.46.42 PM.png" class="img-fluid mx-auto d-block" alt="img6">
</div>
</div>
<a class="carousel-control-prev" href="#carousel-example" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carousel-example" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</section>
<section id="projects">
<h3>Projects</h3>
<div id="proj-grid">
<div class="column">
<div class="container">
<img src="assets/images/Screen%20Shot%202020-12-09%20at%203.05.58%20PM.png" alt="Day Trip Planner" class="image">
<div class="overlay">
<div class="text"><a href="day-trip-project.html"><h4>Day Trip Planner</h4></a>
<p>Android Application</p>
</div>
</div>
</div>
<div class="mobile-label">
<a href="day-trip-project.html"><h4>Day Trip Planner</h4></a>
<p>Android Application</p>
</div>
<div class="container">
<img src="assets/images/text-squares-photos/sansSerif-sq.png" alt="Grids" class="image">
<div class="overlay">
<div class="text"><a href="grids-project.html"><h4>Grids</h4></a>
<p>Graphic Design</p>
</div>
</div>
</div>
<div class="mobile-label">
<a href="grids-project.html"><h4>Grids</h4></a>
<p>Graphic Design</p>
</div>
</div>
<div class="column">
<div class="container">
<img src="assets/images/gestalt/blackWhite.png" alt="Gestalt" class="image">
<div class="overlay">
<div class="text"><a href="gestalt.html"><h4>Gestalt</h4></a>
<p>Graphic Design</p>
</div>
</div>
</div>
<div class="mobile-label">
<a href="gestalt.html"><h4>Gestalt</h4></a>
<p>Graphic Design</p>
</div>
<div class="container">
<img src="assets/images/text-analysis/wc.png" alt="Text Analytics" class="image">
<div class="overlay">
<div class="text"><a href="text-analytics.html"><h4>Text Analytics</h4></a>
<p>Data Science</p>
</div>
</div>
</div>
<div class="mobile-label">
<a href="text-analytics.html"><h4>Text Analytics</h4></a>
<p>Data Science</p>
</div>
</div>
<div class="column">
<div class="container">
<img src="assets/images/dn-app-photos/main-img-sq.png" alt="Daily News Application" class="image">
<div class="overlay">
<div class="text"><a href="daily-news-project.html"><h4>Daily News App</h4></a>
<p>Android Application</p>
</div>
</div>
</div>
<div class="mobile-label">
<a href="daily-news-project.html"><h4>Daily News</h4></a>
<p>Android Application</p>
</div>
<div class="container">
<img src="assets/images/cal-photos/main-img.png" alt="Calendar" class="image">
<div class="overlay">
<div class="text"><a href="calendar.html"><h4>2019 Calendar</h4></a>
<p>Typography Project</p>
</div>
</div>
</div>
<div class="mobile-label">
<a href="calendar.html"><h4>2019 Calendar</h4></a>
<p>Typography Project</p>
</div>
</div>
</div>
</section>
<div id="delimiter">
</div>
<div id="footer">
<div class="navigation-bar">
<ul>
<li><a href="https://allisonrobbins.github.io/index.html#about-me">About Me</a></li>
<li><a href="https://allisonrobbins.github.io/index.html#projects">Projects</a></li>
<li><a href="https://allisonrobbins.github.io/index.html#contact">Contact Me</a></li>
</ul>
</div>
</div>
</div>
<!-- Javascript -->
<script src="assets/js/jquery-3.3.1.min.js"></script>
<script src="assets/js/jquery-migrate-3.0.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
<script src="assets/js/jquery.backstretch.min.js"></script>
<script src="assets/js/wow.min.js"></script>
<script src="assets/js/scripts.js"></script>
</body></html>