diff --git a/datasets/oneoff/camposchaves_surveillance.cgel b/datasets/oneoff/camposchaves_surveillance.cgel index d7c2dbc..5e99f20 100644 --- a/datasets/oneoff/camposchaves_surveillance.cgel +++ b/datasets/oneoff/camposchaves_surveillance.cgel @@ -1,4 +1,147 @@ # sent_id = camposchaves_surveillance # text = If the United States district court pursuant to subsection (f) determines that the surveillance was not lawfully authorized or conducted, it shall, in accordance with the requirements of law, suppress the evidence which was unlawfully obtained or derived from electronic surveillance of the aggrieved person or otherwise grant the motion of the aggrieved person. -# sent = if the United States district court pursuant to subsection (f) determines that the surveillance was not lawfully authorized or conducted it shall in accordance with the requirements of law suppress the evidence which was unlawfully obtained or derived from electronic surveillance of the aggrieved person or otherwise grant the motion of the aggrieved person -# tree_by = mebwells +# sent = if the United States district court pursuant to subsection ( f ) determines that the surveillance was not lawfully authorized or conducted it shall in accordance with the requirements of law suppress the evidence which was unlawfully obtained or derived from electronic surveillance of the aggrieved person or otherwise grant the motion of the aggrieved person +# tree_by = mebwells (2024-10-02) +(Clause + :Mod (PP + :Head (P :t "if") + :Comp (Clause + :Subj (NP + :Det (DP + :Head (D :t "the")) + :Head (Nom + :Head (Nom + :Mod (Nom + :Mod (AdjP + :Head (Adj :t "United")) + :Head (N :t "States")) + :Head (Nom + :Mod (Nom + :Head (N :t "district")) + :Head (N :t "court"))))) + :Supplement (PP + :Head (P :t "pursuant") + :Comp (PP + :Head (P :t "to") + :Obj (NP + :Head (Nom + :Mod (Nom + :Head (N :t "subsection")) + :Head (N :p "(" :t "f" :p ")"))))) + :Head (VP + :Head (V :t "determines" :l "determine" :xpos "VBZ") + :Comp (Clause + :Marker (Sdr :t "that") + :Head (Clause + :Subj (NP + :Det (DP + :Head (D :t "the")) + :Head (Nom + :Head (N :t "surveillance"))) + :Head (VP + :Head (VP + :Head (V_aux :t "was" :l "be" :xpos "VBD") + :Mod (AdvP + :Head (Adv :t "not"))) + :Comp (Clause + :Head (VP + :Mod (AdvP + :Head (Adv :t "lawfully")) + :Head (Coordination + :Coordinate (VP + :Head (V :t "authorized" :l "authorize" :xpos "VBN" :note "[SEM AMBIG] not lawfully [authorized or conducted] (neither nor) vs. [not lawfully] authorized or conducted (either or)")) + :Coordinate (VP + :Marker (Coordinator :t "or") + :Head (VP + :Head (V :t "conducted" :l "conduct" :xpos "VBN" :p "," )))))))))))) + :Head (Clause + :Subj (NP + :Head (Nom + :Head (N_pro :t "it"))) + :Head (VP + :Head (V_aux :t "shall" :xpos "MD" :p ",") + :Supplement (PP + :Head (P :t "in") + :Obj (NP + :Head (Nom + :Head (N :t "accordance") + :Comp (PP + :Head (P :t "with") + :Obj (NP + :Det (DP + :Head (D :t "the")) + :Head (Nom + :Head (N :t "requirements") + :Comp (PP + :Head (P :t "of") + :Obj (NP + :Head (Nom + :Head (N :t "law" :p ",")))))))))) + :Comp (Coordination + :Coordinate (Clause + :Head (VP + :Head (V :t "suppress" :xpos "VB") + :Obj (NP + :Det (DP + :Head (D :t "the")) + :Head (Nom + :Head (N :t "evidence") + :Mod (Clause_rel + :Prenucleus (x / NP + :Head (Nom + :Head (N_pro :t "which"))) + :Head (Clause_rel + :Subj (x / GAP) + :Head (VP + :Head (V_aux :t "was" :l "be" :xpos "VBD") + :Comp (Clause + :Head (VP + :Mod (AdvP + :Head (Adv :t "unlawfully")) + :Head (VP + :Head (Coordination + :Coordinate (VP + :Head (V :t "obtained" :l "obtain" :xpos "VBN")) + :Coordinate (VP + :Marker (Coordinator :t "or") + :Head (VP + :Head (V :t "derived" :l "derive" :xpos "VBN")))) + :Comp (PP + :Head (P :t "from") + :Obj (NP + :Head (Nom + :Mod (AdjP + :Head (Adj :t "electronic")) + :Head (Nom + :Head (N :t "surveillance") + :Comp (PP + :Head (P :t "of") + :Obj (NP + :Det (DP + :Head (D :t "the")) + :Head (Nom + :Mod (AdjP + :Head (Adj :t "aggrieved")) + :Head (N :t "person")))))))))))))))))) + :Coordinate (Clause + :Marker (Coordinator :t "or") + :Head (Clause + :Head (VP + :Mod (AdvP + :Head (Adv :t "otherwise")) + :Head (VP + :Head (V :t "grant" :xpos "VB") + :Obj (NP + :Det (DP + :Head (D :t "the")) + :Head (Nom + :Head (N :t "motion") + :Comp (PP + :Head (P :t "of") + :Obj (NP + :Det (DP + :Head (D :t "the")) + :Head (Nom + :Mod (AdjP + :Head (Adj :t "aggrieved")) + :Head (N :t "person" :p ".")))))))))))))) diff --git a/datasets/oneoff/pdf/camposchaves_surveillance.pdf b/datasets/oneoff/pdf/camposchaves_surveillance.pdf new file mode 100644 index 0000000..1212ca4 Binary files /dev/null and b/datasets/oneoff/pdf/camposchaves_surveillance.pdf differ diff --git a/datasets/oneoff/tex/camposchaves_surveillance.tex b/datasets/oneoff/tex/camposchaves_surveillance.tex new file mode 100644 index 0000000..db7f868 --- /dev/null +++ b/datasets/oneoff/tex/camposchaves_surveillance.tex @@ -0,0 +1,213 @@ + +\documentclass[tikz,border=12pt]{standalone} +\usepackage[linguistics]{forest} +\usepackage{times} +\usepackage{textcomp} +\usepackage{xcolor} +\usepackage{soul} +\usepackage[T1]{fontenc} +\usepackage{marvosym} + +\definecolor{orange}{HTML}{FFCCFF} +\definecolor{ltyellow}{HTML}{FFFFAA} +\definecolor{cgelblue}{HTML}{009EE0} + +% text highlight color +% https://tex.stackexchange.com/a/352959 +\newcommand{\hlc}[2][yellow]{{% + \colorlet{foo}{#1}% + \sethlcolor{foo}\hl{#2}}% +} +\newcommand{\hlgreen}[2][green]{{% + \colorlet{foo}{#1}% + \sethlcolor{foo}\hl{#2}}% +} +\newcommand{\p}[1]{% + \sethlcolor{white}\color{gray}\hl{#1}% +} + +\pagestyle{empty} +%---------------------------------------------------------------------- +% Node labels in CGEL trees are defined with \Node, +% which is defined so that \Node{Abcd}{Xyz} yields +% a label with the function Abcd on the top, in small +% sanserif font, followed by a colon, and the category +% Xyz on the bottom. +\newcommand{\Node}[2]{\small\textsf{#1:}\\{#2}} +% For commonly used functions this is defined with \(function) +\newcommand{\Head}[1]{\Node{Head}{#1}} +\newcommand{\Subj}[1]{\Node{Subj}{#1}} +\newcommand{\Comp}[1]{\Node{Comp}{#1}} +\newcommand{\Mod}[1]{\Node{Mod}{#1}} +\newcommand{\Det}[1]{\Node{Det}{#1}} +\newcommand{\PredComp}[1]{\Node{PredComp}{#1}} +\newcommand{\Crd}[1]{\Node{Coordinate}{#1}} +\newcommand{\Mk}[1]{\Node{Marker}{#1}} +\newcommand{\Obj}[1]{\Node{Obj}{#1}} +\newcommand{\Sup}[1]{\Node{Supplement}{#1}} +\newcommand{\idx}[1]{\textsubscript{\fcolorbox{red}{white}{\textcolor{red}{#1}}}} +%---------------------------------------------------------------------- +\begin{document} + +% # sent_id = camposchaves_surveillance +% # text = If the United States district court pursuant to subsection (f) determines that the surveillance was not lawfully authorized or conducted, it shall, in accordance with the requirements of law, suppress the evidence which was unlawfully obtained or derived from electronic surveillance of the aggrieved person or otherwise grant the motion of the aggrieved person. +% # sent = if the United States district court pursuant to subsection ( f ) determines that the surveillance was not lawfully authorized or conducted it shall in accordance with the requirements of law suppress the evidence which was unlawfully obtained or derived from electronic surveillance of the aggrieved person or otherwise grant the motion of the aggrieved person +% # tree_by = mebwells (2024-10-02) + + \begin{forest} + where n children=0{% for each terminal node + font=\sffamily, + fill=ltyellow, + %tier=word % align at the "word" tier (bottom) + }{% % no false conditions, so empty + }, + [Clause + [\Node{Mod}{PP} + [\Node{Head}{P},edge={line width=1pt}[if]] + [\Node{Comp}{Clause} + [\Node{Subj}{NP} + [\Node{Det}{DP} + [\Node{Head}{D},edge={line width=1pt}[the]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Mod}{Nom} + [\Node{Mod}{AdjP} + [\Node{Head}{Adj},edge={line width=1pt}[United]]] + [\Node{Head}{N},edge={line width=1pt}[States]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Mod}{Nom} + [\Node{Head}{N},edge={line width=1pt}[district]]] + [\Node{Head}{N},edge={line width=1pt}[court]]]]]] + [\Node{Supplement}{PP} + [\Node{Head}{P},edge={line width=1pt}[pursuant]] + [\Node{Comp}{PP} + [\Node{Head}{P},edge={line width=1pt}[to]] + [\Node{Obj}{NP} + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Mod}{Nom} + [\Node{Head}{N},edge={line width=1pt}[subsection]]] + [\Node{Head}{N},edge={line width=1pt}[f,label={left:\p{(}},label={right:\p{)}}]]]]]] + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{V},edge={line width=1pt}[determines]] + [\Node{Comp}{Clause} + [\Node{Marker}{Sdr}[that]] + [\Node{Head}{Clause},edge={line width=1pt} + [\Node{Subj}{NP} + [\Node{Det}{DP} + [\Node{Head}{D},edge={line width=1pt}[the]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N},edge={line width=1pt}[surveillance]]]] + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{V\textsubscript{aux}},edge={line width=1pt}[was]] + [\Node{Mod}{AdvP} + [\Node{Head}{Adv},edge={line width=1pt}[not]]]] + [\Node{Comp}{Clause} + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Mod}{AdvP} + [\Node{Head}{Adv},edge={line width=1pt}[lawfully]]] + [\Node{Head}{Coordination},edge={line width=1pt} + [\Node{Coordinate}{VP} + [\Node{Head}{V} \hlgreen{\Info},edge={line width=1pt}[authorized]]] + [\Node{Coordinate}{VP} + [\Node{Marker}{Coordinator}[or]] + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{V},edge={line width=1pt}[conducted,label={right:\p{{,}}}]]]]]]]]]]]]] + [\Node{Head}{Clause},edge={line width=1pt} + [\Node{Subj}{NP} + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N\textsubscript{pro}},edge={line width=1pt}[it]]]] + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{V\textsubscript{aux}},edge={line width=1pt}[shall,label={right:\p{{,}}}]] + [\Node{Supplement}{PP} + [\Node{Head}{P},edge={line width=1pt}[in]] + [\Node{Obj}{NP} + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N},edge={line width=1pt}[accordance]] + [\Node{Comp}{PP} + [\Node{Head}{P},edge={line width=1pt}[with]] + [\Node{Obj}{NP} + [\Node{Det}{DP} + [\Node{Head}{D},edge={line width=1pt}[the]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N},edge={line width=1pt}[requirements]] + [\Node{Comp}{PP} + [\Node{Head}{P},edge={line width=1pt}[of]] + [\Node{Obj}{NP} + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N},edge={line width=1pt}[law,label={right:\p{{,}}}]]]]]]]]]]] + [\Node{Comp}{Coordination} + [\Node{Coordinate}{Clause} + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{V},edge={line width=1pt}[suppress]] + [\Node{Obj}{NP} + [\Node{Det}{DP} + [\Node{Head}{D},edge={line width=1pt}[the]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N},edge={line width=1pt}[evidence]] + [\Node{Mod}{Clause\textsubscript{rel}} + [\Node{Prenucleus}{NP\idx{x}} + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N\textsubscript{pro}},edge={line width=1pt}[which]]]] + [\Node{Head}{Clause\textsubscript{rel}},edge={line width=1pt} + [\Node{Subj}{GAP\idx{x}}[--]] + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{V\textsubscript{aux}},edge={line width=1pt}[was]] + [\Node{Comp}{Clause} + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Mod}{AdvP} + [\Node{Head}{Adv},edge={line width=1pt}[unlawfully]]] + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{Coordination},edge={line width=1pt} + [\Node{Coordinate}{VP} + [\Node{Head}{V},edge={line width=1pt}[obtained]]] + [\Node{Coordinate}{VP} + [\Node{Marker}{Coordinator}[or]] + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{V},edge={line width=1pt}[derived]]]]] + [\Node{Comp}{PP} + [\Node{Head}{P},edge={line width=1pt}[from]] + [\Node{Obj}{NP} + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Mod}{AdjP} + [\Node{Head}{Adj},edge={line width=1pt}[electronic]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N},edge={line width=1pt}[surveillance]] + [\Node{Comp}{PP} + [\Node{Head}{P},edge={line width=1pt}[of]] + [\Node{Obj}{NP} + [\Node{Det}{DP} + [\Node{Head}{D},edge={line width=1pt}[the]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Mod}{AdjP} + [\Node{Head}{Adj},edge={line width=1pt}[aggrieved]]] + [\Node{Head}{N},edge={line width=1pt}[person]]]]]]]]]]]]]]]]]]] + [\Node{Coordinate}{Clause} + [\Node{Marker}{Coordinator}[or]] + [\Node{Head}{Clause},edge={line width=1pt} + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Mod}{AdvP} + [\Node{Head}{Adv},edge={line width=1pt}[otherwise]]] + [\Node{Head}{VP},edge={line width=1pt} + [\Node{Head}{V},edge={line width=1pt}[grant]] + [\Node{Obj}{NP} + [\Node{Det}{DP} + [\Node{Head}{D},edge={line width=1pt}[the]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Head}{N},edge={line width=1pt}[motion]] + [\Node{Comp}{PP} + [\Node{Head}{P},edge={line width=1pt}[of]] + [\Node{Obj}{NP} + [\Node{Det}{DP} + [\Node{Head}{D},edge={line width=1pt}[the]]] + [\Node{Head}{Nom},edge={line width=1pt} + [\Node{Mod}{AdjP} + [\Node{Head}{Adj},edge={line width=1pt}[aggrieved]]] + [\Node{Head}{N},edge={line width=1pt}[person,label={right:\p{.}}]]]]]]]]]]]]]]] +\node at (current bounding box.south)[yshift=-1cm]{ +(1) [SEM AMBIG] not lawfully [authorized or conducted] (neither nor) vs. [not lawfully] authorized or conducted (either or)}; + \end{forest} + + +\end{document} +