Skip to content

Leveraging large language models for sentiment analysis and aspect-level sentiment analysis

Notifications You must be signed in to change notification settings

Tianxu-Jia/LLM_sentiment_analysis

Repository files navigation

LLM_sentiment_analysis

In this repository, there are three kinds of sentiment analysis. They are normal glable sentiment analysis, context sentiment analysis and aspect sentiment analysis. Contextual sentiment analysis refers to sentiment analysis that takes into account the context surrounding a piece of text in order to better understand the sentiment being expressed. Aspect-based sentiment analysis (ABSA) refers to sentiment analysis that looks at opinions and emotions towards specific aspects of products, services, topics, individuals, etc. rather than providing an overall sentiment score.

  1. Normal globle sentiment analysis.

    sentiment_analysis_globle_gr.py

    sentiment_analysis_globle.ipynb

  2. context based sentiment analysis.

    context_based_sa.ipynb context_based_sa_zh.ipynb

  3. Aspect-based sentiment analysis

    • apects automatic detection sentiment analysis:

      absa_no_appointed_aspects_gr.py

      absa_no_appointed_aspects_gr.ipynb

    • appointed aspects sentiment analysis

      absa_with_appointed_aspects.ipynb

About

Leveraging large language models for sentiment analysis and aspect-level sentiment analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published