July
7th, 9.00 - 18.00
New, 10 July: lecture slides including input
from you ... and some more comments from me on your input :) ...
further feedback rounds are more than welcome!
- Introduction to Text Mining,
Alexandra Preitschopf's presentation
- Introduction to Sentiment Analysis and Opinion Mining
- Thoughts on Engaging Critically with Data
- (content from the above slides, just compiled differently, the same as uploaded on July 8th)
sources, tools, datasets
(PPT)
For those of you who got the hang of Voyant:
Build your own Voyant with the functionalities you need (= pick and mix from
the tools described
in the documentation):
Introduction
to text mining, sentiment analysis and opinon mining, and thoughts on
critical engagement with data
Bettina
Berendt
Dear
participants,
welcome
and thanks for coming to this Summer School! I have seen your
self-descriptions and look forward to meeting you! I have tried to
think of a way of adapting my content so there's something in it for
everyone, but please do write to me if you have specific questions.
Also please let me know if there are any problems with the links, if
things are unclear, etc.
This
web page is for your preparation
and afterwards.
Texts in green are what I would like
to ask you to do before Vienna, prioritized. Of course, all other links
are possible preparations too.
Abstract
The
objective of this day is to make you familiar with basic assumptions
and techniques of text analysis as it is done in "text mining", an area
in Computer Science. Text mining is about finding patterns in and
models of text corpora. It overlaps with many other areas such as
corpus linguistics, and thus is being used a lot in the Digital
Humanities already. We will focus on techniques and tools (rather than
on an overview of research in the area), with the aim of giving you
hands-on experience on a number of techniques for exploring the
contents, the sentiment, and (sentential) argument structure in texts.
As a third, equally important part we will investigate some problems
that we have encountered during the first parts: Can we, and may we,
"just take the data as they are and expect insights from them"? What
problems arise? How can we engage critically and ethically with data
(with texts being just one, albeit a very important type of data)? I
will strive for generality, but, where applicable, focus on online
textual data, in particular blogs and microblogs as well as news.
The
day will be
structured into an opening discussion, three pairs of lecture plus lab
session, and a closing discussion. Of course, we can adapt this plan
according to your needs.
My
plan for the
lab sessions and closing discussion is to use and draw on a real-life
dataset of tweets on a recent (and still ongoing) controversy:
Gamergate. On the one hand, this is a nice text corpus; on the other
hand, the debate itself is complex and touches on many issues that are
potentially relevant to many disciplines: gender, journalism,
economics, online worlds, and last but not least: ethics. This part is
very much open research: While we can draw on the work of the team
around Geoffrey Rockwell and Todd Suomela who have compiled these data
and already performed a range of analyses on it (and who I thank for
providing the dataset), the data are new to me as well, so together
we'll be venturing into uncharted territory when analysing them further!
Preparatory reading
Of course please feel free to bring and use your own texts in the lab
sessions, but I have prepared a dataset for all of us, and we will
refer to it throughout the day, so everybody should have some idea of
it.
- This dataset is based on a collection of 6 months of tweets
on #gamergate. If you don't know what this is, I recommend reading https://en.wikipedia.org/wiki/Gamergate_controversy
as a comprehensive introduction.
To get current tweets, search on Twitter. To get current news, search
on Google News or similar, using "gamergate" as a search term.
- The dataset itself will be provided on the day itself. It
is:
Rockwell, Geoffrey; Suomela, Todd, 2015, "Gamergate Reactions",
http://dx.doi.org/10.7939/DVN/10253 V5 [Version]. Please note that the
full dataset is not available publicly (so you cannot look at all of it
beforehand, nor do you need to) - in fact, why and how this is
restricted will be a topic of our Summer School course. (I hope to have
gotten you interested now :) )
- I would like to ask you to think of a (research)
question you might have towards this tweets collection. Be
subjective, base yourself on your prior or future work - the more
diverse, the better!
- I will not assume any prior knowledge on text mining or
sentiment analysis etc.
- The part "critical engagement with data" is again quite
reflective, so you may want to have a look at two papers I will draw on
a lot:
Tools we will use
It
is
impossible to teach the use of all of these tools in the limited time
we have - but luckily, you have very different backgrounds, IT
experience, and interests, so I want to provide a little more choice!
The first tool was/is created by Digital Humanists for Digital
Humanists, the second and third are text-mining centric, and the fourth
is a general machine-learning/data-mining tool. Tools #5 and #6 are
sentiment-analysis tools based on a dictionary and machine learning
resp. discourse analysis and semantic background knowledge.
All
six were
chosen because they are easy to set up and enable you to produce and
see some results fast. Also, they have a comparatively high degree of
interactivity.
(Links
to further tools that enable you to do more, but that require
substantially more time investment, will be provided.)
Please
have a look at these and install Voyant plus any others that you are
interested in!
- Voyant (word frequencies, context, and many related
analytics): online tool
(please do NOT use in class), tool
for download, documentation
- DocumentAtlas (visualization of corpora) (Windows only) download,
description and publications
- Ontogen (based on DocumentAtlas: clustering for concept
learning) (Windows
only) download,
description and publications
- Weka (classification): tool
for download, documentation:
- Sentistrength: online
tool, tool
for download,
alternative source,
documentation
- Sentilo: online
tool
The time plan
9.00 - 9.30 Introductory discussion
9.30 - 10.30 Lecture 1: Introduction to text mining
11.00 - 12.00 Lab session 1
13.30 - 14.30 Lecture 2: Introduction to sentiment analysis and opinion mining
14.30 - 15.30 Lab session 2
16.00 - 16.45 Lecture 3: Engaging critically with data
17.00 - 17.30 Lab Session 3
17.30 - 18.00 Closing discussion
The dataset
The
versions as well as the Ethics Appendix will be explained in class! And
because they are not generally open data, and complying with the ethics guidelines is a prerequisite for
using the data, I made the data available only for the
class. (If you are a participant of the summer school and would like to have access to the data,
please contact me by mail.) Thanks for your understanding.
- The
ethics appendix (PDF) - bibliographical references see slideset 1, to be uploaded