Skip to content
Snippets Groups Projects
Select Git revision
  • 26e9d4d5090274bc3b466f304a611536692a6842
  • master default protected
  • argument-mining-twitter-3
  • argument-mining-twitter-2
  • argument-mining-twitter
  • ethics-of-ai
  • conflict-of-interest
7 results

master.tex

Blame
  • Marc Feger's avatar
    Marc Feger authored
    26e9d4d5
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    master.tex 16.37 KiB
        % !TeX program = pdflatex
    \pdfoptionpdfminorversion=5
    
    \documentclass[9pt]{beamer}
    
    \mode<presentation> {
        \usetheme{HHUD}
        \setbeamercovered{invisible}
    }
    \usepackage[english]{babel}
    \usepackage[utf8x]{inputenc}
    \usepackage{times}
    \usepackage{amsmath}
    \usepackage{subfigure}
    \usepackage{graphicx}
    \usepackage{hyperref}
    \usepackage{xmpmulti}
    \usepackage{multirow}
    \usepackage{appendixnumberbeamer}
    \usepackage[normalem]{ulem}
    \usepackage{mathabx}
    \usepackage[linesnumbered,algoruled,boxed,lined]{algorithm2e}
    \usepackage{amssymb}
    \usepackage[longnamesfirst, authoryear]{natbib}
    \usepackage{textcomp}
    \usepackage{listings}
    \usepackage{color}
    \usepackage{tabularx}
    \usepackage{tcolorbox}
    
    \usepackage{graphicx}% http://ctan.org/pkg/graphicx
    \usepackage{booktabs}% http://ctan.org/pkg/booktabs
    
    \usepackage[absolute,overlay]{textpos}
    \usepackage{subfigure}
    
    \usepackage{tikz}
    \usepackage{pgfplots}
    \pgfplotsset{
    	width=.8\textwidth,
    	%	compat=1.13,
    	height=3.0cm,
    	xbar stacked,
    	xmin=0,
    	enlarge y limits=0.5,
    	symbolic y coords={Haskell,Frege},
    	ytick=data,
    	%	nodes near coords,
    }
    
    
    %%%%% https://github.com/cebe/pdfpc-latex-notes
    % create a new file handle
    \newwrite\pdfpcnotesfile
    
    % open file on \begin{document}
    \AtBeginDocument{%
    	\immediate\openout\pdfpcnotesfile\jobname.pdfpc\relax
    	\immediate\write\pdfpcnotesfile{[notes]}
    }
    % define a # http://tex.stackexchange.com/a/37757/10327
    \begingroup
    \catcode`\#=12
    \gdef\hashchar{#}%
    \endgroup
    % define command \pnote{} that works exactly like not but
    % additionally writes notes to file in pdfpc readable format
    \newcommand{\pnote}[1]{%
    	% keep normal notes working
    	\note{#1}%
    	% write notes to file
    	\begingroup
    	\let\#\hashchar
    	\immediate\write\pdfpcnotesfile{\#\#\# \theframenumber}%
    	\immediate\write\pdfpcnotesfile{\unexpanded{#1}}%
    	\endgroup
    }
    % close file on \begin{document}
    \AtEndDocument{%
    	\immediate\closeout\pdfpcnotesfile
    }
    
    % background image
    \usebackgroundtemplate{\includegraphics[width=\paperwidth]
        {fig/background_small}} % für den schiefen blauen Streifen _small entfernen
    % commands for low and high decoration in frame foot
    \newcommand{\footdecorationlow}{\usebackgroundtemplate{
        \includegraphics[width=\paperwidth]{fig/background_small}}}
    \newcommand{\footdecorationhigh}{\usebackgroundtemplate{
        \includegraphics[width=\paperwidth]{fig/background_small}}} % für den schiefen blauen Streifen _small entfernen
    
    % Own commands:
    
    \newcommand{\TODO}{\colorbox{yellow}{\color{red}todo}}
    \newcommand{\CSPM}{CSP$_M$}
    \newcommand{\code}[1]{\texttt{#1}}
    
    \newcommand{\la}[1]{{\fontsize{6pt}{8pt}\selectfont\color{gray}\textit{#1}}}
    
    \usepackage{listings} % Alternative: minted
    \lstset{
    	captionpos=b,
    	language=haskell,
    	basicstyle=\footnotesize\ttfamily,
    	morekeywords={derive,pure,native,private,throw,throwIO},
    	moredelim=**[is][\btHL]{@@}{@@},
    	escapeinside={\%*}{*)},
    	postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{gray}\hookrightarrow\space}},
    	breakindent=10pt,
    	keywordstyle=\bfseries\color{black!40!black},
    	commentstyle=\itshape\color{green!40!black},
    	identifierstyle=\color{hhuUniBlau},
    	alsoother=@\$,
    %	classstyle=\color{black},
    	stringstyle=\color{red},
    	showstringspaces=false,
    }
    
    \lstdefinestyle{prompt}{
    	breaklines=true,
    	language=bash,
    	morecomment=[l]{hs>},
    	morecomment=[l]{fr>},
    	commentstyle=\color{black!40!black},
    	basicstyle=\footnotesize\ttfamily\color{darkgray!40!darkgray},
    	identifierstyle=\color{darkgray!40!darkgray},
    	keywordstyle=\color{darkgray!40!darkgray},
    %	classstyle=\color{darkgray!40!darkgray},
    	stringstyle=\color{darkgray!40!darkgray}
    }
    
    
    % \AtBeginSection[] {
    %   \footdecorationhigh
    %   \begin{frame}<beamer>
    %     \thispagestyle{empty}
    %     %\frametitle{Gliederung}
    %     \vspace{-5mm}
    %     \tableofcontents[currentsection]
    %   \end{frame}
    %   \footdecorationlow
    % }
    
    % % % % % % % %  CHANGE TOPIC AND AUTHOR INFORMATION HERE % % % % % % %
    % HIER DEN TITEL DER ARBEIT EINTRAGEN                                                   
    \title{Argument Mining and Twitter}
    % HIER DEN NAMEN UND VORNAMEN EINTRAGEN
    \author{Marc Feger} 
    % HIER DAS PRÄSENTATIONSDATUM EINTRAGEN                                           
    \date{\today}
    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
    \institute{Heinrich-Heine-University Düsseldorf\\Institute of Computer Science\\
    Department for Computer-Networks and Communication-Systems}
    
    % % % % % % % % % % Own commands % % % % % % % %
    
    %
    % Hier beginnt das Dokument
    %
    \begin{document}
      \footdecorationhigh
       \footdecorationhigh
       \footdecorationlow
    
    % Ab hier werden die LaTeX-Dateien der einzelnen Abschnitte eingefügt
    \begin{frame}
        \thispagestyle{empty}
        \titlepage
    	\frametitle{Overview}
    \end{frame}
    
    % % % % % % % % % Ende der eingefügten LaTeX-Dateien % % % % % % % % %
    \section{Past}
    \begin{frame}{Recap}
    	\begin{itemize}
    		\item [1] Finding argumentive Tweets
    		\begin{itemize}
    			\item \textbf{Argument}: Motivated (reasoned) conclusion
    			\item \textbf{Argumentive}: At least one \textbf{Argument}
    		\end{itemize}
    		\item [2] Few works, lesser data
    		\begin{itemize}
    			\item Mostly different definitions
    			\item Random selected Tweets
    			\item Supervised
    		\end{itemize}
    	\end{itemize}
    \end{frame}
    
    \begin{frame}
    	\begin{center}
    		\includegraphics[width=0.8\textwidth]{bilder/Overview.png}
    
    		Overview by \cite{SchaeferStede2021}.
    		CA = Corpus Annotation,
    		AD = Argument Detection,
    		SD = Stance Detection,
    		CD = Claim Detection.
    	\end{center}
    \end{frame}
    
    \begin{frame}
    	\begin{center}
    		\includegraphics[width=0.75\textwidth]{bilder/AnnotationSchema.png}
    
    		Overview by \cite{SchaeferStede2021}.
    	\end{center}
    \end{frame}
    
    \begin{frame}
    	\begin{center}
    		\begin{columns}
    			\column{0.5\textwidth}
    				\begin{center}
    					\includegraphics[width=0.8\textwidth]{bilder/Corpus.png}
    	
    					Corpora + IAA reported \cite{SchaeferStede2021}.
    					ADU = Argument Discourse Unit,
    					cx = Cohens Kappa
    				\end{center}
    			\column{0.5\textwidth}
    				\begin{center}
    					\includegraphics[width=0.8\textwidth]{bilder/PrevResults.png}
    		
    					Results reported by \cite{SchaeferStede2021}.
    					ADU = Argument Discourse Unit,
    					cx = Cohens Kappa
    				\end{center}
    			\end{columns}
    	\end{center}
    
    \end{frame}
    
    
    \section{Current}
    \begin{frame}
    	\begin{center}
    		\includegraphics[scale=0.3]{bilder/Pipeline}
    	\end{center}
    \end{frame}
    
    \begin{frame}{\#abortion}
    	\begin{center}
    		\begin{columns}
    			\column{0.5\textwidth}
    				\begin{center}
    					\includegraphics[scale=0.2]{bilder/Abortion_WordCloud.png}
    				\end{center}
    			\column{0.5\textwidth}
    				\begin{center}
    					\begin{itemize}
    						\item Topic: Abortion
    						\item Time: 2021-08-15 - 2021-10-15
    						\item Root-Tweets: 15.273
    						\begin{itemize}
    							\item Conversation-Starter: 2.250
    						\end{itemize}
    						\item Conversation-Tweets: 14.569
    					\end{itemize}
    				\end{center}
    			\end{columns}
    	\end{center}
    \end{frame}
    
    \begin{frame}{\#abortion}
    	\begin{center}
    		\includegraphics[scale=0.3]{bilder/Abortion_Time.png}
    	\end{center}
    \end{frame}
    
    \begin{frame}{\#brexit}
    	\begin{center}
    		\begin{columns}
    			\column{0.5\textwidth}
    				\begin{center}
    					\includegraphics[scale=0.2]{bilder/Brexit_WordCloud.png}
    				\end{center}
    			\column{0.5\textwidth}
    				\begin{center}
    					\begin{itemize}
    						\item Topic: Brexit
    						\item Time: 2020-01-01 - 2020-03-01
    						\item Root-Tweets: 151.090
    						\begin{itemize}
    							\item Conversation-Starter: 24.806
    						\end{itemize}
    						\item Conversation-Tweets: 275.968
    					\end{itemize}
    				\end{center}
    			\end{columns}
    	\end{center}
    \end{frame}
    
    \begin{frame}{\#brexit}
    	\begin{center}
    		\includegraphics[scale=0.3]{bilder/Brexit_Time.png}
    	\end{center}
    \end{frame}
    
    \begin{frame}{POS-Tagging}
    	\begin{center}
    		\begin{columns}
    			\column{0.4\textwidth}
    				\begin{center}
    					\begin{table}[]
    						\resizebox{0.8\textwidth}{!}{%
    						\begin{tabular}{@{}lll@{}}
    							\toprule
    							\textbf{Open} & \textbf{Closed} & \textbf{Other} \\ \midrule
    								ADJ & \textbf{AUX} & PUNCT \\
    								ADV & \textbf{CCONJ} & SYM \\
    								INTJ & DET & X \\
    								NOUN & NUM &  \\
    								PROPN & PART &  \\
    								\textbf{VERB} & PRON &  \\
    						 		& \textbf{SCONJ} &  \\ \bottomrule
    							\end{tabular}%
    						}
    						\end{table}
    				\end{center}
    			\column{0.6\textwidth}
    				\begin{itemize}
    					\item Universal POS Tagging
    					\item spaCy: en\_core\_web\_sm
    					\item Open v. Closed $\approx$ Content v. Function
    					\item Selection supposed by \cite{Knott1993}.
    				\end{itemize}
    			\end{columns}
    	\end{center}
    \end{frame}
    
    \begin{frame}{POS-Tagging}
    	\begin{center}
    		\begin{columns}
    			\column{0.4\textwidth}
    				\begin{center}
    					\begin{table}[]
    						\resizebox{0.8\textwidth}{!}{%
    						\begin{tabular}{@{}lll@{}}
    							\toprule
    							\textbf{Open} & \textbf{Closed} & \textbf{Other} \\ \midrule
    								ADJ & \textbf{AUX} & PUNCT \\
    								ADV & \textbf{CCONJ} & SYM \\
    								INTJ & DET & X \\
    								NOUN & NUM &  \\
    								PROPN & PART &  \\
    								\textbf{VERB} & PRON &  \\
    						 		& \textbf{SCONJ} &  \\ \bottomrule
    							\end{tabular}%
    						}
    						\end{table}
    				\end{center}
    			\column{0.6\textwidth}
    				\begin{itemize}
    					\item \textbf{VERB}: \\
    						typically signal events and actions
    					\item \textbf{AUX}: \\
    						adds funct. or gramma. meaning
    					\item \textbf{CCONJ}: \\ 
    						links words or larger constituents,\\
    						expresses a semantic relationship
    					\item \textbf{SCONJ}:\\
    						making one construction part of the other,\\
    						join independent and a dependent clause
    				\end{itemize}
    			\end{columns}
    	\end{center}
    \end{frame}
    
    \begin{frame}{POS-Tagging Conversation Starter}
    	\begin{center}
    		\includegraphics[scale=0.3]{bilder/Abortion_POS.png}
    	\end{center}
    \end{frame}
    
    \begin{frame}{POS-Tagging Conversation Starter}
    	\begin{center}
    		\includegraphics[scale=0.3]{bilder/Brexit_POS.png}
    	\end{center}
    \end{frame}
    
    \begin{frame}{POS-Tagging Words (PWords)}
    	\begin{table}[]
    		\centering
    		\resizebox{\textwidth}{!}{%
    			\begin{tabular}{@{}llllllll@{}}
    				\toprule
    				\multicolumn{2}{c}{\textbf{SCONJ}} & \multicolumn{2}{c}{\textbf{CONJ}} & \multicolumn{2}{c}{\textbf{AUX}} & \multicolumn{2}{c}{\textbf{VERB}} \\ \midrule
    				\textit{\textbf{Brexit}} & \multicolumn{1}{l|}{\textit{\textbf{Abortion}}} & \textit{\textbf{Brexit}} & \multicolumn{1}{l|}{\textit{\textbf{Abortion}}} & \textit{\textbf{Brexit}} & \multicolumn{1}{l|}{\textit{\textbf{Abortion}}} & \textit{\textbf{Brexit}} & \textit{\textbf{Abortion}} \\ \midrule
    				that & \multicolumn{1}{l|}{that} & and & \multicolumn{1}{l|}{and} & is & \multicolumn{1}{l|}{is} & have & have \\
    				if & \multicolumn{1}{l|}{if} & but & \multicolumn{1}{l|}{but} & will & \multicolumn{1}{l|}{are} & get & get \\
    				how & \multicolumn{1}{l|}{how} & or & \multicolumn{1}{l|}{or} & be & \multicolumn{1}{l|}{be} & going & do \\
    				as & \multicolumn{1}{l|}{when} & + & \multicolumn{1}{l|}{+} & are & \multicolumn{1}{l|}{will} & know & want \\
    				when & \multicolumn{1}{l|}{why} & plus & \multicolumn{1}{l|}{yet} & have & \multicolumn{1}{l|}{can} & \textbf{leave} & know \\
    				why & \multicolumn{1}{l|}{because} & so & \multicolumn{1}{l|}{nor} & can & \multicolumn{1}{l|}{do} & \textbf{voted} & make \\
    				because & \multicolumn{1}{l|}{as} & both & \multicolumn{1}{l|}{both} & has & \multicolumn{1}{l|}{should} & want & \textbf{need} \\
    				where & \multicolumn{1}{l|}{where} & yet & \multicolumn{1}{l|}{neither} & was & \multicolumn{1}{l|}{was} & \textbf{see} & think \\
    				since & \multicolumn{1}{l|}{while} & either & \multicolumn{1}{l|}{so} & do & \multicolumn{1}{l|}{have} & think & let \\
    				for & \multicolumn{1}{l|}{since} & nor & \multicolumn{1}{l|}{either} & am & \multicolumn{1}{l|}{would} & let & \textbf{has} \\
    				after & \multicolumn{1}{l|}{after} & n & \multicolumn{1}{l|}{n} & would & \multicolumn{1}{l|}{has} & \textbf{done} & \textbf{say} \\
    				while & \multicolumn{1}{l|}{\textbf{until}} & • & \multicolumn{1}{l|}{plus} & \textbf{been} & \multicolumn{1}{l|}{am} & do & going \\
    				\textbf{so} & \multicolumn{1}{l|}{for} & neither & \multicolumn{1}{l|}{•} & were & \multicolumn{1}{l|}{\textbf{does}} & \textbf{go} & \textbf{had} \\
    				\textbf{like} & \multicolumn{1}{l|}{\textbf{before}} & \textbf{minus} & \multicolumn{1}{l|}{} & \textbf{could} & \multicolumn{1}{l|}{\textbf{being}} & \textbf{leaving} & \textbf{support} \\
    				\textbf{despite} & \multicolumn{1}{l|}{\textbf{whether}} & \textbf{daythe} & \multicolumn{1}{l|}{} & should & \multicolumn{1}{l|}{were} & make & \textbf{said} \\ \bottomrule
    				\end{tabular}%
    			}
    	\end{table}
    \end{frame}
    
    \begin{frame}{Pre-Selection}
    	\begin{itemize}
    		\item Conditions:
    		\begin{itemize}
    			\item [1] At least one word in PWords
    			\item [2] At least 200 characters long
    		\end{itemize}
    		\item \#Abortion: $\Rightarrow$ 1.400 Candidates
    		\item \#Brexit: $\Rightarrow$ 11.842 Candidates
    	\end{itemize}
    \end{frame}
    
    \begin{frame}
    	\begin{tcolorbox}[colback=cyan!5!white,colframe=cyan!75!black,title=Example 1: \#Brexit]
    		\textbf{How} ironic \textbf{is} this? \textbf{For} 4 years, \textcolor{orange}{\#Remainers} predicted \textbf{that} \textcolor{orange}{\#Brexit} \textbf{would} cause a catastrophic national crisis. Now \textbf{that} Brexit \textbf{has} happened at long last, we \textbf{are} indeed facing a catastrophic national crisis, \textbf{but} it \textbf{has} absolutely nothing to \textbf{do} with Brexit. Go figure \textbf{that} one out.
    		%\textcolor{red}{RT} \textcolor{magenta}{@SaysSheToday}: The $[$Dixie Chicks$]_{c}$ were attacked just for $[$using 1A right$]_{p_1}$ to say they were ashamed of GWB. They $[$didn’t commit treason$]_{c}$ $[$like the \textcolor{orange}{\#47Senators}$]_{p_2}$
    	\end{tcolorbox}
    \end{frame}
    \begin{frame}
    	\begin{tcolorbox}[colback=cyan!5!white,colframe=cyan!75!black,title=Example 2: \#Brexit]
    		Labour cannot win the next general election with \textcolor{magenta}{@Keir\_Starmer} \textbf{because} voters \textbf{do}n’t trust him. Starmer \textbf{is} a proven liar \textbf{and} fraud who tried to cheat 17.4m voters out of their \textcolor{orange}{\#Brexit} referendum victory. Starmer \textbf{is} unelectable. \textcolor{orange}{\#LabourDebate} \textcolor{orange}{\#labourhustings}
    		%\textcolor{red}{RT} \textcolor{magenta}{@SaysSheToday}: The $[$Dixie Chicks$]_{c}$ were attacked just for $[$using 1A right$]_{p_1}$ to say they were ashamed of GWB. They $[$didn’t commit treason$]_{c}$ $[$like the \textcolor{orange}{\#47Senators}$]_{p_2}$
    	\end{tcolorbox}
    \end{frame}
    \begin{frame}
    	\begin{tcolorbox}[colback=cyan!5!white,colframe=cyan!75!black,title=Example 3: \#Brexit]
    		\textcolor{orange}{\#SaturdayThought} \textbf{If} \textcolor{orange}{\#PMs} "oven-ready Brexit deal" \textbf{is so} "oven-ready," \textbf{why has} he not got full agreement of the EU \textbf{yet}? \textbf{After} all, \textcolor{magenta}{@Conservatives} keep telling us \textbf{that} \textcolor{orange}{\#Brexit} \textbf{is} over now.\textcolor{orange}{\#JustAsking}
    		%\textcolor{red}{RT} \textcolor{magenta}{@SaysSheToday}: The $[$Dixie Chicks$]_{c}$ were attacked just for $[$using 1A right$]_{p_1}$ to say they were ashamed of GWB. They $[$didn’t commit treason$]_{c}$ $[$like the \textcolor{orange}{\#47Senators}$]_{p_2}$
    	\end{tcolorbox}
    \end{frame}
    \begin{frame}
    	\begin{tcolorbox}[colback=cyan!5!white,colframe=cyan!75!black,title=Example 4: \#Abortion]
    		POV: Stop saying NOBODY \textbf{is} “pro-abortion."  It\textbf{'s} \textcolor{orange}{\#stigmatising}. \textbf{Its} simply inaccurate, Plenty of folk \textbf{are} unapologetically \textcolor{orange}{\#proabortion}; \textbf{because} there\textbf{'s} nothing wrong with \textcolor{orange}{\#Abortion} -it\textbf{`s} a necessary health care procedure \textbf{that} saves lives.
    		%\textcolor{red}{RT} \textcolor{magenta}{@SaysSheToday}: The $[$Dixie Chicks$]_{c}$ were attacked just for $[$using 1A right$]_{p_1}$ to say they were ashamed of GWB. They $[$didn’t commit treason$]_{c}$ $[$like the \textcolor{orange}{\#47Senators}$]_{p_2}$
    	\end{tcolorbox}
    \end{frame}
    
    
    \section{Next}
    \begin{frame}
    	\begin{itemize}
    		\item [1] More controverse topics
    		\item [2] Cleaning of PWords
    		\item [3] PWords and POS-Distribution for Kialo
    		\item [4] Annotation / Quality-Check on Candidate-Subset
    	\end{itemize}
    \end{frame}
    
    \begin{frame}
    	\begin{center}
    		\begin{columns}
    			\column{0.8\textwidth}
    				\begin{center}
    					\huge {\color{hhuUniBlau} Thank you!}
    				\end{center}
    			\column{0.3\textwidth}
    				\includegraphics[scale=0.08]{bilder/pngfuel-answere.png}
    			\end{columns}
    	\end{center}
    \end{frame}
    
    
    \begin{frame}
    	\bibliographystyle{plainnat}
    	\bibliography{references}
    \end{frame}
    \end{document}
    
    %
    % Hier endet das Dokument
    %