Fix parse tree output
This commit is contained in:
parent
8a5346c6b0
commit
81daf0771e
2
main.py
2
main.py
@ -20,7 +20,7 @@ def _main():
|
|||||||
print(f'Text: {text}')
|
print(f'Text: {text}')
|
||||||
syntax_server = 'http://syntaxnet.athene.tech'
|
syntax_server = 'http://syntaxnet.athene.tech'
|
||||||
parse_tree = Syntax().run(text, syntax_server)
|
parse_tree = Syntax().run(text, syntax_server)
|
||||||
print(f'Parse tree: {parse_tree}')
|
print(f'Parse tree:\n{parse_tree}')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user