Skip to content

Commit 174f9c1

Browse files
committed
Update expected test results #13
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent e848366 commit 174f9c1

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

tests/test_parse_doctest.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -191,41 +191,41 @@
191191
Rule.parse: applied rule: <Rule: <DT>? <JJ>* <NN>* / NP # NP>
192192
Rule regex: (?P<group>(?:<(?:DT)>)?(?:<(?:JJ)>)*(?:<(?:NN)>)*)
193193
Input parsed to label: NP
194-
before : <DT> <NN> <VBD> <IN> <DT> <NN> <DT> <NN> <VBD>
195-
after : {<DT> <NN>} <VBD> <IN> {<DT> <NN>}{<DT> <NN>} <VBD>
196-
new : <NP> <VBD> <IN> <NP> <NP> <VBD>
194+
before : <DT><NN><VBD><IN><DT><NN><DT><NN><VBD>
195+
after : {<DT><NN>}<VBD><IN>{<DT><NN>}{<DT><NN>}<VBD>
196+
new : <NP> <VBD><IN> <NP> <NP> <VBD>
197197
length : 9,6
198198
-------------------------------------
199199
Rule.parse: applied rule: <Rule: <IN> / P # Preposition>
200200
Rule regex: (?P<group>(?:<(?:IN)>))
201201
Input parsed to label: P
202-
before : <NP> <VBD> <IN> <NP> <NP> <VBD>
203-
after : <NP> <VBD> {<IN>} <NP> <NP> <VBD>
204-
new : <NP> <VBD> <P> <NP> <NP> <VBD>
202+
before : <NP><VBD><IN><NP><NP><VBD>
203+
after : <NP><VBD>{<IN>}<NP><NP><VBD>
204+
new : <NP><VBD> <P> <NP><NP><VBD>
205205
length : 6,6
206206
-------------------------------------
207207
Rule.parse: applied rule: <Rule: <V.*> / V # Verb>
208208
Rule regex: (?P<group>(?:<(?:V[^\{\}<>]*)>))
209209
Input parsed to label: V
210-
before : <NP> <VBD> <P> <NP> <NP> <VBD>
211-
after : <NP> {<VBD>} <P> <NP> <NP> {<VBD>}
212-
new : <NP> <V> <P> <NP> <NP> <V>
210+
before : <NP><VBD><P><NP><NP><VBD>
211+
after : <NP>{<VBD>}<P><NP><NP>{<VBD>}
212+
new : <NP> <V> <P><NP><NP> <V>
213213
length : 6,6
214214
-------------------------------------
215215
Rule.parse: applied rule: <Rule: <P> <NP> / PP # PP -> P NP>
216216
Rule regex: (?P<group>(?:<(?:P)>)(?:<(?:NP)>))
217217
Input parsed to label: PP
218-
before : <NP> <V> <P> <NP> <NP> <V>
219-
after : <NP> <V> {<P> <NP>} <NP> <V>
220-
new : <NP> <V> <PP> <NP> <V>
218+
before : <NP><V><P><NP><NP><V>
219+
after : <NP><V>{<P><NP>}<NP><V>
220+
new : <NP><V> <PP> <NP><V>
221221
length : 6,5
222222
-------------------------------------
223223
Rule.parse: applied rule: <Rule: <V> <NP|PP>* / VP # VP -> V (NP|PP)*>
224224
Rule regex: (?P<group>(?:<(?:V)>)(?:<(?:NP|PP)>)*)
225225
Input parsed to label: VP
226-
before : <NP> <V> <PP> <NP> <V>
227-
after : <NP> {<V> <PP> <NP>}{<V>}
228-
new : <NP> <VP> <VP>
226+
before : <NP><V><PP><NP><V>
227+
after : <NP>{<V><PP><NP>}{<V>}
228+
new : <NP> <VP> <VP>
229229
length : 5,3
230230
parse tree: (label='ROOT', children=(
231231
(label='NP', children=(

0 commit comments

Comments
 (0)