Add a keyword argument sink to GoldParse

This commit is contained in:
Matthew Honnibal 2018-05-08 13:48:32 +02:00
parent 8cfe326f87
commit 5ed71973b3

View File

@ -394,7 +394,7 @@ cdef class GoldParse:
def __init__(self, doc, annot_tuples=None, words=None, tags=None, def __init__(self, doc, annot_tuples=None, words=None, tags=None,
heads=None, deps=None, entities=None, make_projective=False, heads=None, deps=None, entities=None, make_projective=False,
cats=None): cats=None, **_):
"""Create a GoldParse. """Create a GoldParse.
doc (Doc): The document the annotations refer to. doc (Doc): The document the annotations refer to.