ICP7 - sandy777deep/PYTHON_WITH_DEEPLEARNING GitHub Wiki

MEESALA SANDEEP

Class ID:30 , Group ID=11

1. Change the classifier in the given code toa. SVM and see how accuracy changesb. change the tfidfvectorizer to use bigram and see how the accuracy changes TfidfVectorizer(ngram_range=(1,2))c. Setargument stop_words='english'and see how accuracy changes

Code:https://github.com/sandy777deep/PYTHON_WITH_DEEPLEARNING/blob/master/Python_ICP7/task1.py

Output:

Extract the following web URL text using BeautifulSouphttps://en.wikipedia.org/wiki/Google3. Save it in input.txt

Code:https://github.com/sandy777deep/PYTHON_WITH_DEEPLEARNING/blob/master/Python_ICP7/Task2.py

Tokenization AND input.txt file

https://github.com/sandy777deep/PYTHON_WITH_DEEPLEARNING/blob/master/Python_ICP7/input.txt

Output:

PARTS OF SPEECH

Output:

https://github.com/sandy777deep/PYTHON_WITH_DEEPLEARNING/blob/master/Python_ICP7/Screenshots/Task4_Output.pstat

Stemming

Output:

Lemmatization

Output:

Trigram

Output:

Named Entity Recognition

Output: