Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keras and spaCy New Versions #17

Open
obscrivn opened this issue Nov 23, 2021 · 1 comment
Open

Keras and spaCy New Versions #17

obscrivn opened this issue Nov 23, 2021 · 1 comment

Comments

@obscrivn
Copy link

Keras and spacy have published updated versions and it breaks some of the follow-along book code.

@ricodep32beb
Copy link

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)
in
6 # following line is optional for custom vocabulary installation
7 # you can use nlp = spacy.load('en')
----> 8 nlp = spacy.load('en_core', parse=True, tag=True, entity=True)

TypeError: load() got an unexpected keyword argument 'parse'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants