Commit 2adabb29 authored by Loïc Barrault's avatar Loïc Barrault
Browse files

Added IE + some macros

parent da245c5c
......@@ -11,6 +11,7 @@
\usepackage[T1]{fontenc}
\usepackage{bbding}
\usepackage{multirow}
\usepackage{bm}
\usepackage[absolute,showboxes,overlay]{textpos}
\textblockorigin{10mm}{10mm} % origine des positions
......@@ -84,6 +85,9 @@
\newcommand{\eg}{e.g.}
\newcommand{\todo}[1]{{\color{red} @@ #1 @@}}
%\DeclareMathOperator*{\argmax}{argmax}
\newcommand{\argmaxx}{\operatornamewithlimits{argmax}}
\newcommand{\argmax}{ \ds \argmaxx}
......@@ -100,5 +104,9 @@
\newfontfamily\DejaSans{DejaVu Sans}
\newcommand{\annot}[2]{[#1]$_{#2}$}
%\newcommand{\annot}[2]{#1\_#2}
\graphicspath{{../}{../figures/}{./figures/}}
%{../figures/figures.pivot}{../figures/figures.dataselection}}
......@@ -31,12 +31,26 @@
% My highlight
%\newcommand{\myhl}[2]{\colorbox{#1}{\strut #2}} %usage \myhl{color}{text}
\newcommand{\myhl}[2]{%
\begingroup\setlength{\fboxsep}{1pt}%
%\newcommand<>\hlbox[2]{\only#3{\colorbox{#1}{#2}}}
\newcommand<>{\myhl}[2]{%
\alt#3{\begingroup\setlength{\fboxsep}{0pt}%
\colorbox{#1}{\vphantom{Ay}#2}%
\endgroup
\endgroup%
}{\begingroup\setlength{\fboxsep}{0pt}%
\colorbox{white}{\vphantom{Ay}#2}%
\endgroup}
}
% \colorbox{#1}{\hspace*{2pt}\vphantom{Ay}#2\hspace*{2pt}}%
%\newcommand<>{\myhlol}[2]{%
% \only#3{ \begingroup\setlength{\fboxsep}{1pt}%
% \colorbox{#1}{\vphantom{Ay}#2}%
% \endgroup
% }
%}
\setbeamercolor{alerted text}{fg=cyan}
......@@ -6,7 +6,8 @@
\newcommand{\blue}[1]{{\color{blue} #1}}
\newcommand{\cyan}[1]{{\color{cyan} #1}}
\newcommand{\orange}[1]{{\color{orange} #1}}
\newcommand{\green}[1]{{\color{darkpastelgreen} #1}}
\newcommand{\gray}[1]{{\color{gray} #1}}
\newcommand{\edinblue}[1]{{\color{edinblue} #1}}
\newcommand{\edinred}[1]{{\color{edinred} #1}}
......@@ -23,7 +24,6 @@
\definecolor{liumlightgray}{rgb}{0.9,0.9,0.9}
\newcommand{\liumlightgray}[1]{{\color{liumlightgray} #1}}
\newcommand{\myemph}[1]{{\liumcyan{\bf #1}}}
\newcommand{\myemph}[1]{\liumcyan{\textbf{#1}}}
\newcommand{\green}[1]{{\color{darkpastelgreen} #1}}
\ No newline at end of file
This diff is collapsed.
% !TEX root = text_processing.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{}
\vfill
\centering
\Huge{\edinred{[Information Extraction]}}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Information Extraction: Overview}
\begin{itemize}
\item Introduction to Information Extraction
\begin{itemize}
\item Definition + contrast with IR
\item Example Applications
\item Overview of Tasks
\item Overview of Approaches
\item Evaluation + Shared Task Challenges
\item A brief history of IE
\end{itemize}
\item Named Entity Recognition
\begin{itemize}
\item Task
\item Approaches: Rule-based, Supervised Learning
\item Entity Linking
\end{itemize}
\item Relation Extraction
\begin{itemize}
\item Task
\item Approaches: Rule-based, Supervised Learning, Bootstrapping, Distant Supervision
\end{itemize}
\end{itemize}
\end{frame}
......@@ -5,7 +5,7 @@
\vfill
\centering
\Huge{\edinred{Sentiment Analysis\\Corpus-based / Machine Learning}}
\Huge{\edinred{[Sentiment Analysis]\\Corpus-based / Machine Learning}}
\end{frame}
......
......@@ -6,7 +6,7 @@
\vfill
\centering
\Huge{\edinred{Sentiment Analysis\\Motivations, definitions and more}}
\Huge{\edinred{[Sentiment Analysis]\\Motivations, definitions and more}}
\end{frame}
......
%!TEX root = text_processing.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{}
\vfill
\centering
\Huge{\edinred{Sentiment Analysis}}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Sentiment Analysis: Outcomes}
\begin{block}{by the end of the SA session, you will be able to}
\begin{itemize}
\item understand and explain the relevance of the topic
\item differentiate between objective and subjective texts
\item provide a critical summary of the main approaches for the problem
\item list the main elements in a sentiment analysis system
\item explain how sentiment analysis systems are evaluated
\end{itemize}
\end{block}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Sentiment Analysis: Overview}
%\begin{block}{}
\begin{itemize}
\item Definition of the problem of \alert{sentiment analysis}
\item Main approaches to sentiment analysis are based on:
\begin{itemize}
\item Ontology:
\item Lexicon:
\begin{itemize}
\item Binary
\item Gradable
\end{itemize}
\item Corpus (supervised machine learning)
\begin{itemize}
\item Naive Bayes
\item \alert{Deep Learning (?)}
\end{itemize}
\end{itemize}
\item Evaluation of sentiment analysis approaches
\end{itemize}
%\end{block}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Sentiment Analysis: sources}
%\begin{block}{}
\begin{itemize}
\item Based on slides by Rob Gaizauskas, ...
\item which are based on survey and slides by Bing Liu (University of Illinois at Chicago), 2012.
\item[]
\item https://monkeylearn.com/sentiment-analysis/
\item https://arxiv.org/ftp/arxiv/papers/1801/1801.07883.pdf
\item https://www.smartinsights.com/social-media-marketing/social-media-strategy/new-global-social-media-research/
\item https://callminer.com/blog/sentiment-analysis-examples-best-practices/
\item https://www.wonderflow.co/blog/sentiment-analysis-examples
\item https://towardsdatascience.com/deep-learning-for-sentiment-analysis-7da8006bf6c1
\end{itemize}
%\end{block}
\end{frame}
\ No newline at end of file
......@@ -6,7 +6,7 @@
\vfill
\centering
\Huge{\edinred{Sentiment Analysis\\Lexicon based approaches}}
\Huge{\edinred{[Sentiment Analysis]\\Lexicon based approaches}}
\end{frame}
......
......@@ -34,7 +34,7 @@
% This is only inserted into the PDF information catalog. Can be left out.
\subject{COM3110/Text Processing}
\title[]{[Text Processing]\\ Sentiment Analysis}
\title[]{[Text Processing]\\ Sentiment Analysis \& Information Extraction}
\author[L. Barrault]{Loïc Barrault}
......@@ -84,12 +84,16 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{textproc_introduction}
%\input{sa_plan.tex}
%\input{sa_definition.tex} % 1st lecture
%\input{sa_lexicon.tex} % 2nd lecture
%\input{sa_bayes.tex} % 3rd lecture
\input{sa_nn.tex}
%\input{sa_nn.tex}
\input{extra_reading}
\input{ie_plan.tex}
\input{ie_introduction.tex} % ??th lecture
%\input{extra_reading}
% and kill the abominable icon
\setbeamertemplate{bibliography item}{}
......
%!TEX root = text_processing.tex
\begin{frame}
\frametitle{Text Processing: Overview}
%\begin{block}{}
......@@ -17,66 +19,3 @@
}
%\end{block}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Sentiment Analysis: Outcomes}
\begin{block}{by the end of the SA session, you will be able to}
\begin{itemize}
\item understand and explain the relevance of the topic
\item differentiate between objective and subjective texts
\item provide a critical summary of the main approaches for the problem
\item list the main elements in a sentiment analysis system
\item explain how sentiment analysis systems are evaluated
\end{itemize}
\end{block}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Sentiment Analysis: Overview}
%\begin{block}{}
\begin{itemize}
\item Definition of the problem of \alert{sentiment analysis}
\item Main approaches to sentiment analysis are based on:
\begin{itemize}
\item Ontology:
\item Lexicon:
\begin{itemize}
\item Binary
\item Gradable
\end{itemize}
\item Corpus (supervised machine learning)
\begin{itemize}
\item Naive Bayes
\item \alert{Deep Learning (?)}
\end{itemize}
\end{itemize}
\item Evaluation of sentiment analysis approaches
\end{itemize}
%\end{block}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Sentiment Analysis: sources}
%\begin{block}{}
\begin{itemize}
\item Based on slides by Rob Gaizauskas, ...
\item which are based on survey and slides by Bing Liu (University of Illinois at Chicago), 2012.
\item[]
\item https://monkeylearn.com/sentiment-analysis/
\item https://arxiv.org/ftp/arxiv/papers/1801/1801.07883.pdf
\item https://www.smartinsights.com/social-media-marketing/social-media-strategy/new-global-social-media-research/
\item https://callminer.com/blog/sentiment-analysis-examples-best-practices/
\item https://www.wonderflow.co/blog/sentiment-analysis-examples
\item https://towardsdatascience.com/deep-learning-for-sentiment-analysis-7da8006bf6c1
\end{itemize}
%\end{block}
\end{frame}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment