summaryrefslogtreecommitdiff
path: root/tests/system_tests/t2s/grammar.t2s
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-04-01 00:53:00 -0400
committerChris Dyer <redpony@gmail.com>2014-04-01 00:53:00 -0400
commit6a3e80bb4b2a6bb10899183299d14fc070db1654 (patch)
tree22e4345f2dc67dd0fd4637e92d205ce59a90d3b3 /tests/system_tests/t2s/grammar.t2s
parent2999e2b3eac185bf3d0d3887576e94d3c11c9b46 (diff)
tree2string test, fix for edge case
Diffstat (limited to 'tests/system_tests/t2s/grammar.t2s')
-rw-r--r--tests/system_tests/t2s/grammar.t2s8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/system_tests/t2s/grammar.t2s b/tests/system_tests/t2s/grammar.t2s
new file mode 100644
index 00000000..2e6cf68c
--- /dev/null
+++ b/tests/system_tests/t2s/grammar.t2s
@@ -0,0 +1,8 @@
+(S [NP-C] [VP] (PUNC .)) ||| [1] [2] . ||| R1=1
+(NP-C (DT the) (NN gunman)) ||| qiangshou ||| R2=1
+(NP-C (DT the) [NN]) ||| [1] ||| R2a=1
+(NN gunman) ||| qiangshou ||| R2b=1
+(VP (VBD was) (VP-C [VBN] (PP (IN by) [NP-C]))) ||| bei [2] [1] ||| R3=1
+(NP-C (DT the) (NN police)) ||| jingfang ||| R4=1
+(VBN killed) ||| jibi ||| R5=1
+(VBN killed) ||| killed' ||| R6=1