text-analytics-with-python
text-analytics-with-python copied to clipboard
Keras and spaCy New Versions
Keras and spacy have published updated versions and it breaks some of the follow-along book code.
The first cell in the Ch01 - Natural Language Processing Basics gives a TypeError. Any way to get a correction on this cell? It is affecting the other cells.
import nltk import spacy import numpy as np import pandas as pd
following line is optional for custom vocabulary installation
you can use nlp = spacy.load('en')
nlp = spacy.load('en_core', parse=True, tag=True, entity=True)
TypeError Traceback (most recent call last)
TypeError: load() got an unexpected keyword argument 'parse'