Analysis of Emotional Tendencies In American Literature Quotes Based on Python
Since the emergence of literature as an art form, people who love art have had literature to learn and understand. Now in the Internet era, people can quickly find their favorite literary and artistic works through the Internet, and the description language of these works of art also has the author's own emotional tendency. In order to assist people in understanding the emotional tendencies of famous quotes in their favorite literary works, this article proposes a Python based method for analyzing the emotional tendencies of American literary quotes. Firstly, some original English quotes from American literary classics are obtained from the internet (this article obtained the world classic “The Old Man and the Sea” by American author Ernest Hemingway); Then, Python language was used to analyze and visualize these 30 literary classic sentences using its powerful natural language processing ecosystem; Finally, the probability judgment of positive, neutral, and negative sentences in 30 literary classics was achieved, and the final judgment result was obtained. Through the above tests, it was found that the processing method proposed in this article is easy to operate and has a good effect on the analysis of emotional tendencies in literary quotes.
Authors
- R. Zhang (ORCID: https://orcid.org/0009-0002-0560-886X)
Institutions
- Sichuan University (CN)
Publication Details
- Published
- 2024-08-14
- DOI
- https://doi.org/10.1109/peeec63877.2024.00219
- Primary Topic
- Computational Physics and Python Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00