\documentclass{standalone}
\usepackage{tikz-dependency}

\begin{document}
% In the preamble:

% In the document:
\begin{dependency}[theme = simple]
   \begin{deptext}[column sep=1em]
     Turn \& on \& the \& office \& lights \& and \& bedroom \& lights \\
   \end{deptext}
   \deproot{1}{ROOT}
   \depedge{1}{2}{PRT}
   \depedge{1}{5}{DOBJ1}
   \depedge{1}{8}{DOBJ2}
   \depedge{8}{7}{NMOD}
   \depedge{5}{4}{NMOD}
   \depedge{5}{3}{DET}
   \depedge{1}{6}{CC}
\end{dependency}
\end{document}
