* Set parse=True by default --- i.e. parse unless told not to.

This commit is contained in:
Matthew Honnibal 2015-01-25 01:28:28 +11:00
parent 96c96696b8
commit 94750819cd

View File

@ -96,7 +96,7 @@ class English(object):
self._parser = GreedyParser(path.join(self._data_dir, 'deps')) self._parser = GreedyParser(path.join(self._data_dir, 'deps'))
return self._parser return self._parser
def __call__(self, text, tag=True, parse=False): def __call__(self, text, tag=True, parse=True):
"""Apply the pipeline to some text. """Apply the pipeline to some text.
Args: Args: