Set defaults for light and flat kwargs

This commit is contained in:
ines 2017-05-13 12:34:05 +02:00
parent c5669450a0
commit bd428c0a70

View File

@ -32,8 +32,8 @@ def format_POS(token, light, flat):
subtree.pop("modifiers")
return subtree
def POS_tree(root, light, flat):
def POS_tree(root, light=False, flat=False):
"""
Helper: generate a POS tree for a root token. The doc must have
merge_ents(doc) ran on it.