Skip to content

suffs811/pluralism-thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Analysis of Moral Values Using Natural Language Processing

Python script for analyzing moral values via Natural Langauge Processing (NLP) & the Latent Dirichlet Allocation (LDA) method for topic modeling.

I wrote this script for my graduate thesis. The script:

  1. identifies the ten most salient topics of the Moral Values list
  2. classifies the topics according to a single value from the Moral Values list
  3. produces a frequency distribution for the ten most used values in the Moral Values list

Preferred Citation

Sources

The script was written with the help of:

Jablonski, J. (2021, May 5). Natural Language Processing With Python's NLTK Package. Real Python. https://realpython.com/nltk-nlp-python/#making-a-frequency-distribution

Kelechava, M. (2019, March 3). Using LDA Topic Models as a Classification Model Input. Towards Data Science. https://towardsdatascience.com/unsupervised-nlp-topic-models-as-a-supervised-learning-input-cf8ee9e5cf28

Li, S. (2018, May 31). Topic Modeling and Latent Dirichlet Allocation (LDA) in Python. Towards Data Science. https://towardsdatascience.com/topic-modeling-and-latent-dirichlet-allocation-in-python-9bf156893c24

About

Python script for analyzing moral values via NLP/LDA method for topic modeling

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages