Advanced Computing Techniques: Implementation, Informatics and Emerging Technologies

Author(s): Manavi Nair*, Sonia Saini, Ruchika Bathla and Ritu Punhani

DOI: 10.2174/9789814998451121010010

Document Sentiment Analysis using Python

Pp: 70-90 (21)

Buy Chapters

* (Excluding Mailing and Handling)

  • * (Excluding Mailing and Handling)

Abstract

SHS investigation development is considered from the geographical and historical viewpoint. 3 stages are described. Within Stage 1 the work was carried out in the Department of the Institute of Chemical Physics in Chernogolovka where the scientific discovery had been made. At Stage 2 the interest to SHS arose in different cities and towns of the former USSR. Within Stage 3 SHS entered the international scene. Now SHS processes and products are being studied in more than 50 countries.

Abstract

Sentiment Analysis is a part of artificial intelligence that uses natural language processing (NLP) to analyze the raw data and further extract the user's sentiment. The sentiment analysis can be achieved at three levels: at the document level, sentence level, and aspect level. In this chapter, we will be covering Document Sentiment Analysis, in which we analyze the contents of the document. This chapter gives a practical overview of the field of document sentiment analysis using the rulebased method. The main idea is to show the working of document sentiment analysis. The analysis can be done using the python language. Python language is a high-level language that is used in artificial intelligence and various related fields. Two different libraries have been used to do the analysis. The NLTK library is a free and open-source library used for tokenization, stop words, and lemmatization whereas, the spacy library is used for its displacy visualizer module, which shows the illustrations of the sentences and named entity recognition, highlighting the entities present in the document. The experiment is conducted using the pre-processing methods, and a conclusion is derived with the aid of the result.

Recommended Chapters

We recommend

Favorable 70-S: Investigation Branching Arrow

Authors:Bentham Science Books