Set defaults for light and flat kwargs

This commit is contained in:
ines 2017-05-13 12:32:23 +02:00
parent b9dea345e5
commit df68bf45ce
1 changed files with 1 additions and 1 deletions

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.