Skip to content

Instantly share code, notes, and snippets.

@strubell
Created December 5, 2017 19:58
Show Gist options
  • Save strubell/d60feed38ede5b3e98b0acd03d738569 to your computer and use it in GitHub Desktop.
Save strubell/d60feed38ede5b3e98b0acd03d738569 to your computer and use it in GitHub Desktop.
\begin{block}{Example action graph}
\begin{columns}[t,totalwidth=\textwidth]
\column{\textwidth}
% \vspace*{-0.7cm}
% \begin{block}{Experimental results}
\begin{columns}[t,totalwidth=\textwidth]
\column{.52\textwidth}
\vspace{-1.75cm}
\begin{tcolorbox}[colback=white,colframe=dblue!70,title=Typical synthesis procedure text,left skip=1cm]
In a typical procedure for the synthesis of $\beta$-MnO$_2$ nanowires, 2.5 mL of 50 wt.\% Mn(NO$_3$)$_2$ solution was diluted to 25.0 mL, and ozone was fed into the bottom of the solution for 30 min under vigorous stirring. With the indraught of ozone, black solid appeared gradually and the clear solution turned into black slurry finally. Then the suspension was transferred into an autoclave of 48.0 mL, sealed and maintained at 200 $^{\circ}$C for 8 h. After this, the autoclave was cooled to room temperature naturally. The resulting solid products were washed with water, and dried at 120 $^{\circ}$C for 8 h.
\end{tcolorbox}
\hfill
% DO NOT remove the space below this
\column{.48\textwidth}
\vspace{-1.75cm}
% \hspace*{0.5cm}
\includegraphics[scale=1.5]{action_graph2}
\end{columns}
\end{columns}
\end{block}
\vspace*{-1.0cm}
\begin{block}{Event extraction}
Since sentences from the synthesis text often describe multiple events we break the sentence into separate event phrases by applying heuristic rules on the dependency parse of the sentence. Given the parse, the most important of these heuristics breaks every phrase whose head token links to the sentence root with a \texttt{conj} relation. All other tokens are associated with the root and constitute the main phrase. Each split phrase and the main phrase is considered an event.
% \vspace{-1.75cm}
\includegraphics[scale=1.5]{full_dependency2}
\hspace*{1.0cm}
\includegraphics[scale=1.5]{grouped_dependency}
\end{block}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment