MCPcopy Create free account
hub / github.com/ExplorerFreda/VGNSL / get_simplified_tree

Function get_simplified_tree

preprocess/parse_simplifier.py:6–27  ·  view source on GitHub ↗

Simplify a tree by removing all non-terminal labels and punctuation marks. Args: tree: An NLTK tree. Returns: A string representation of the simplified tree.

(tree: nltk.Tree)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected