Category: Non classé

Analyzing text

Getting data

 

!pip install textblob
!pip install allennlp 
import re
import requests
import nltk
nltk.download('all')
from nltk.corpus import stopwords
stop = stopwords.words('french')

#url you want to extract
url = 'https://www.gutenberg.org/files/5781/5781-0.txt'