Skip to content

[E090] Extension 'languages' already exists on Doc. To overwrite the existing extension, set force=True on Doc.set_extension. #13376

Discussion options

You must be logged in to vote

My work around for now is this bit of code. I don't understand why it works, but it does.

try: 
    language_detector
except:
    language_detector = LanguageDetector()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by WalczRobert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage
1 participant