Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexandru Dura
SPPF Earley Parser
Commits
dbcee794
Commit
dbcee794
authored
Jan 29, 2020
by
Alexandru Dura
Browse files
Dump the result of a test
parent
bf24e4e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/EarleyParserTest.java
View file @
dbcee794
...
...
@@ -101,7 +101,9 @@ public class EarleyParserTest {
Category
[]
str
=
{
a
,
b
,
c
};
EarleyParser
parser
=
new
EarleyParser
(
g
);
assertTrue
(
parser
.
recognize
(
str
,
S
));
SPPFNode
root
=
parser
.
parse
(
str
,
S
);
assertNotNull
(
root
);
Util
.
dumpParseResult
(
"testParse4.dot"
,
root
,
g
);
}
@Test
public
void
testScottExample2
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment