1. Word frequency matrix analysis: This method constructs a word frequency matrix by counting the frequency of each word in the poem. By analyzing this matrix, we can find out the theme, emotion, image and other elements in poetry. For example, the importance and function of a word in a poem can be determined by calculating its frequency of occurrence in the whole poem.
2. Semantic relation matrix analysis: This method analyzes the association and relationship between words in poetry by constructing a semantic relation matrix. Each element in the matrix represents the semantic distance or similarity between two words, which can be calculated by various algorithms, such as cosine similarity and Jaccard similarity. By analyzing this matrix, we can find the theme change and emotional turning point in poetry.
3. Emotional analysis: This method analyzes the emotional tendency and emotional changes in poetry through an emotional dictionary or a machine learning algorithm. For example, the overall mood and atmosphere of poetry can be evaluated by calculating the intensity and distribution of positive or negative emotions in poetry.
The charm of poetry:
1. The rhythmic beauty of poetry is an important part of its charm. The rhythm of poetry is usually closely related to the poet's emotions and thoughts, and the poet's inner feelings and emotions are conveyed through the changes of phonology and rhythm. When the poet skillfully uses rhythm and rhyme, poetry has a unique musicality and appeal, so that readers can feel the poet's emotional changes and ideological ups and downs when reading.
2. The imagery beauty of poetry is also its charm. Poets express their thoughts and feelings through images, and transform abstract thoughts and feelings into concrete images and pictures. These images not only have visual aesthetic feeling, but also have profound meaning and connotation, which can arouse readers' singing and thinking, and make readers deeply understand the poet's thoughts and feelings while enjoying beauty.
3. The language beauty of poetry is also one of its charms. The language of poetry is usually concise, concise, vivid and vivid. Poets use rich rhetorical devices and expressive techniques to maximize the aesthetic feeling and expressive force of language, making poetry a unique art form.