mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 02:16:32 +03:00
* Set parse=True by default --- i.e. parse unless told not to.
This commit is contained in:
parent
96c96696b8
commit
94750819cd
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user