Updating textblob translate function

At line number 66, updating method for translating using textblob method. Updating "print(blob.translate(to='fr'))" to "print(blob.translate(from_lang='en', to='fr'))"
pull/689/head
Siddharth Mishra 2 years ago committed by GitHub
parent 66f57d6924
commit 98272ec206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,7 +63,7 @@ from textblob import TextBlob
blob = TextBlob(
"It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife!"
)
print(blob.translate(to="fr"))
print(blob.translate(from_lang='en', to='fr'))
```

Loading…
Cancel
Save