https://github.com/centre-for-humanities-computing/danish_literary_sentiment

https://github.com/centre-for-humanities-computing/danish_literary_sentiment

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.3%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: centre-for-humanities-computing
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 7.11 MB
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

The Fiction2 Danish Literature Corpus Static Badge

🌡️📖 Danish literary sentiment

This repository holds the data for comparing Sentiment Analysis methods on Danish literature - specifically fairy tales and religious hymns of the 19th century. Our study compares human annotations to the continuous valence scores of both transformer- and dictionary-based sentiment analysis methods to assess their performance, seeking to understand how distinct methods handle the language of Danish prose and poetry.

🔎 What is included

  • Original and modernized Danish text
  • Continuous valence annotation (0-10) by human annotators (n=2-3) per sentence/verse
  • Automatic annotation scores per sentence/verse (using dictionary- and transformer-based Sentiment Analysis tools)

This data allows for the comparison of human/human and human/model sentiment scoring on Danish literary texts.

🔬 Data

We use two datasets: i) H.C. Andersen fairy tales, and ii) Religious hymns

| | No. texts | No. annotations | No. words | Mean no. verses/sents per text | Period | |-------------|-----|------|--------|--------------|------------| | HCA | 3 | 791 | 18,910 | 263.7 | 1837-1847 | | Hymns | 65 | 1,914 | 10,303 | 32.9 | 1798-1873 |

📖 Documentation

Code for the hymns and fairy tales analysis (separately) -- annotator agreement and human/model correlations -- is available in this folder, while the SHAP values analysis of RoBERTa scores is available in a seperate GitHub repository.

| | | | --------------------------- | --------------------------------------------------------------------------------- | | 📄 Paper | Link to our paper comparing SA resources on Danish literary texts. | | 🔬 CHC | Center for Humanities Computing, hosting the project. | | ✉️ Contact | Contact the authors. |

Owner

  • Name: Center for Humanities Computing Aarhus
  • Login: centre-for-humanities-computing
  • Kind: organization
  • Email: chcaa@cas.au.dk
  • Location: Aarhus, Denmark

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 17
  • Total Committers: 2
  • Avg Commits per committer: 8.5
  • Development Distribution Score (DDS): 0.353
Past Year
  • Commits: 9
  • Committers: 2
  • Avg Commits per committer: 4.5
  • Development Distribution Score (DDS): 0.333
Top Committers
Name Email Commits
Pascale Feldkamp 1****a 11
Pascale Feldkamp Moreira p****d@h****m 6

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • Afinn *
  • Sentida *
  • afinn >=0.1
  • asent >=0.8.3
  • deep_translator *
  • krippendorff *
  • nltk >=3.8.1
  • numpy >=1.25.2
  • openpyxl >=3.1.2
  • requests >=2.31.0
  • rpy2 >=3.5.14
  • seaborn_qqplot *
  • spacy >=3.6.1
  • transformers *