Extracting Data
For this article, we are using web scraping to read a webpage then we will be using get_text() function for changing it to str format.
Python3
raw = urlopen( "https://www.w3.org/TR/PNG/iso_8859-1.txt" ).read() raw1 = BeautifulSoup(raw) raw2 = raw1.get_text() raw2 |
Output :
Processing text using NLP | Basics
In this article, we will be learning the steps followed to process the text data before using it to train the actual Machine Learning Model.