@@ -14,7 +14,7 @@ def test_tree_errors():
1414 bllipparser.Tree('(())')
1515 File "/usr/local/lib/python2.7/dist-packages/bllipparser/RerankingParser.py", line 63, in __init__
1616 parser.inputTreeFromString(input_tree_or_string)
17- RuntimeError: [first-stage/PARSE/InputTree.C:260 ]: Saw paren rather than term
17+ RuntimeError: [first-stage/PARSE/InputTree.C:259 ]: Saw paren rather than term
1818 >>> bllipparser.Tree('(S1 (S (NP (DT This)) (VP (VBZ is) (NP (DT a) (ADJP (RB fairly) (JJ simple)) (NN parse) (NN tree))) (. .)))')
1919 Tree('(S1 (S (NP (DT This)) (VP (VBZ is) (NP (DT a) (ADJP (RB fairly) (JJ simple)) (NN parse) (NN tree))) (. .)))')
2020 >>> bllipparser.Tree('(S1 (S (NP (DT This)) (VP (VBZ is) (NP (DT a) (ADJP (RB fairly) (JJ simple)) (NN parse) (NN tree))) (. .)))')
@@ -36,7 +36,7 @@ def test_tree_errors():
3636 bllipparser.Tree('Does not start with a paren')
3737 File "/usr/local/lib/python2.7/dist-packages/bllipparser/RerankingParser.py", line 63, in __init__
3838 parser.inputTreeFromString(input_tree_or_string)
39- RuntimeError: [first-stage/PARSE/InputTree.C:97]: Should have seen an open paren here.
39+ RuntimeError: [first-stage/PARSE/InputTree.C:97]: Saw 'Does' instead of open paren here.
4040 >>> bllipparser.Tree('(S1 eh)')
4141 Traceback (most recent call last):
4242 File "/usr/lib/python2.7/doctest.py", line 1315, in __run
@@ -45,7 +45,7 @@ def test_tree_errors():
4545 bllipparser.Tree('(S1 eh)')
4646 File "/usr/local/lib/python2.7/dist-packages/bllipparser/RerankingParser.py", line 63, in __init__
4747 parser.inputTreeFromString(input_tree_or_string)
48- RuntimeError: [first-stage/PARSE/InputTree.C:114 ]: Should have seen second open paren here.
48+ RuntimeError: [first-stage/PARSE/InputTree.C:113 ]: Saw 'eh' instead of second open paren here.
4949 >>> bllipparser.Tree('(S1')
5050 Traceback (most recent call last):
5151 File "/usr/lib/python2.7/doctest.py", line 1315, in __run
@@ -54,7 +54,7 @@ def test_tree_errors():
5454 bllipparser.Tree('(S1')
5555 File "/usr/local/lib/python2.7/dist-packages/bllipparser/RerankingParser.py", line 63, in __init__
5656 parser.inputTreeFromString(input_tree_or_string)
57- RuntimeError: [first-stage/PARSE/InputTree.C:114 ]: Should have seen second open paren here.
57+ RuntimeError: [first-stage/PARSE/InputTree.C:113 ]: Saw '' instead of second open paren here.
5858 >>> bllipparser.Tree('(S1 ((')
5959 Traceback (most recent call last):
6060 File "/usr/lib/python2.7/doctest.py", line 1315, in __run
@@ -63,7 +63,7 @@ def test_tree_errors():
6363 bllipparser.Tree('(S1 ((')
6464 File "/usr/local/lib/python2.7/dist-packages/bllipparser/RerankingParser.py", line 63, in __init__
6565 parser.inputTreeFromString(input_tree_or_string)
66- RuntimeError: [first-stage/PARSE/InputTree.C:260 ]: Saw paren rather than term
66+ RuntimeError: [first-stage/PARSE/InputTree.C:259 ]: Saw paren rather than term
6767 >>> bllipparser.Tree('(S1 (NP')
6868 Traceback (most recent call last):
6969 File "/usr/lib/python2.7/doctest.py", line 1315, in __run
0 commit comments