Joke Collection Website - Joke collection - How to realize the theme analysis of short texts? Python3 implementation
How to realize the theme analysis of short texts? Python3 implementation
When reading, people don't necessarily presuppose one or several themes, but gradually enter the author's mind according to the scenes or categories involved in the text, and perhaps the last sentence reveals that it is just a joke.
I think there are two main shortcomings of LDA, one is the number of theme buckets, and the other is the statistics of word order.
One way to improve thinking is to replace the topic bucket with a dictionary, that is, to extract the possible scenes or categories of each word for analysis and divergent thinking, instead of choosing from the topic bucket. For example: Apple, Price, Jobs. The possible categories of apples are fruit, agriculture, economy and mobile phones. Overlapping with the following parts of speech to form a topic neural network, and the analysis effect will be continuously improved through the improvement of AI dictionary in the future.
One is to increase the consideration of word order, capture the plot content, and analyze the plot through the changes of theme and scene before and after.
Just an idea, for reference only.
- Previous article:What is the classic line of Wei Zi's blindness in Princess Zhu Huan?
- Next article:Rachel and Li Zelong, is it true?
- Related articles
- I watch cartoons, and people make fun of me for being naive. I feel so sad. Is it wrong to like anime?
- How did the Ming people practice both inside and outside?
- What are the funny moments of George in the animation Peggy the Piggy?
- A speech that saves every drop of water
- Sentences that make your girlfriend happy (share 50 sentences)
- Let's talk about inspiring words: live fish will go upstream, and dead fish will go with the flow.
- The devil's double-sided Xiao Ni's ancient life txt complete download
- Kneeling for words that make people happy, or humorous jokes.
- The main theme of "Red Mansions" is about love
- Ten love rat Standards and Features: What kind of girls are easy to meet love rat?