Skip to content

Wonseong620/PLOSONE-ASF

Repository files navigation

ASF News Sentiment Lexicon

This repository provides the lexicon and replication materials for the paper:

The impact of African swine fever news sentiment on the Korean meat market

Paper: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0286520

Repository Contents

File Description
1-word2vec.ipynb Constructs the African swine fever (ASF) news sentiment lexicon using word embedding results.
2-wordsum.ipynb Calculates sentiment word counts and sentiment scores from Korean news titles.
asf news data.xlsx News title data used for the sentiment calculation workflow.
neg_pol_word.txt Negative Korean sentiment dictionary, based on KNU Korean Sentiment Lexicon resources and extended for ASF news sentiment.
pos_pol_word.txt Positive Korean sentiment dictionary, based on KNU Korean Sentiment Lexicon resources.
LICENSE Repository license.

Workflow

  1. Run 1-word2vec.ipynb to construct and extend the ASF-related sentiment lexicon.
  2. Run 2-wordsum.ipynb to count sentiment words in news titles and calculate sentiment measures.

Original Lexicon Source

The baseline Korean sentiment lexicon files are based on the KNU Korean Sentiment Lexicon:

https://github.com/park1200656/KnuSentiLex

The ASF-related extension was constructed for the research workflow associated with the paper above.

Citation

If you use this repository, please cite the paper linked above and acknowledge the KNU Korean Sentiment Lexicon where appropriate.

Releases

No releases published

Packages

 
 
 

Contributors