bc39f97e11a150b77f54b36b0e862aee2555380e,spacy/language.py,Language,pipe,#Language#Any#Any#Any#Any#Any#Any#Any#Any#,731
Before Change
user_warning(Warnings.W023)
n_process = 1
if n_threads != -1:
deprecation_warning(Warnings.W016)
if n_process == -1:
n_process = mp.cpu_count()
if as_tuples:
text_context1, text_context2 = itertools.tee(texts)
After Change
warnings.warn(Warnings.W023)
n_process = 1
if n_threads != -1:
warnings.warn(Warnings.W016, DeprecationWarning)
if n_process == -1:
n_process = mp.cpu_count()
if as_tuples:
text_context1, text_context2 = itertools.tee(texts)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: explosion/spaCy
Commit Name: bc39f97e11a150b77f54b36b0e862aee2555380e
Time: 2020-04-28
Author: adrianeboyd@gmail.com
File Name: spacy/language.py
Class Name: Language
Method Name: pipe
Project Name: explosion/spaCy
Commit Name: bc39f97e11a150b77f54b36b0e862aee2555380e
Time: 2020-04-28
Author: adrianeboyd@gmail.com
File Name: spacy/language.py
Class Name: Language
Method Name: from_disk
Project Name: explosion/spaCy
Commit Name: bc39f97e11a150b77f54b36b0e862aee2555380e
Time: 2020-04-28
Author: adrianeboyd@gmail.com
File Name: spacy/language.py
Class Name: Language
Method Name: to_bytes
Project Name: explosion/spaCy
Commit Name: bc39f97e11a150b77f54b36b0e862aee2555380e
Time: 2020-04-28
Author: adrianeboyd@gmail.com
File Name: spacy/language.py
Class Name: Language
Method Name: from_bytes
Project Name: explosion/spaCy
Commit Name: bc39f97e11a150b77f54b36b0e862aee2555380e
Time: 2020-04-28
Author: adrianeboyd@gmail.com
File Name: spacy/language.py
Class Name: Language
Method Name: to_disk