Learn R Programming

Sum-up: Utilizing Automated Text Analysis to Support Interpretation of Narrative Feedback

Combine topic modeling and sentiment analysis to identify individual students' gaps, and highlight their strengths and weaknesses across predefined competency domains and professional activities.

This function runs a series of text processing and analysis steps including text cleaning, tokenization, lemmatization, topic modeling, and sentiment analysis. It then classifies sentences into topics and generates an output summarizing the results.

This function performs the following steps:

  • Cleans the input text data using text_clean.
  • Tokenizes the text into sentences and removes stopwords.
  • Lemmatizes and annotates the sentences using a UDPipe model.
  • Counts word frequencies and excludes stopwords.
  • Performs topic modeling on the word counts.
  • Runs sentiment analysis based on the specified method (Grasp or SentimentR).
  • Classifies sentences into topics using the topic classification model.
  • Generates output summarizing the topics and sentiment.
library("sumup")

data(example_data)
ex_data <- example_data
ex_settings  <- set_default_settings()
ex_settings  <- update_setting(ex_settings , "language", "en")
ex_settings  <- update_setting(ex_settings , "use_sentiment_analysis", "sentimentr")
result <- run_sumup(ex_data, ex_settings )

Copy Link

Version

Install

install.packages('sumup')

Monthly Downloads

244

Version

1.0.1

License

GPL-3 | file LICENSE

Maintainer

Joyce Moonen - van Loon

Last Published

January 26th, 2026

Functions in sumup (1.0.1)

sumup-package

sumup: Utilizing Automated Text Analysis to Support Interpretation of Narrative Feedback
topic_classification

Topic Classification for Narrative Data
tidy_text

Tidy and Split Narrative Text
get_polarity

Get Polarity from Grasp
lemmatize

Lemmatize Sentences Using a UDPipe Model
text_clean

Text Cleaning and Processing Functions
topic_modeling

Topic Modeling with Latent Dirichlet Allocation (LDA)
append_stopwords

Append Stopwords
create_output

Create Output for Sum Up
get_corrections

Load Corrections
correct_text

Correct Text
check_all_settings

Check all setting
check_setting

Check setting
default_stopwords

Load Stopwords
clean_text

Clean Text
set_default_settings

Settings functionality for package 'sumup'
%>%

Pipe operator
create_dataset_narratives

Create Narratives Dataset
sentiment_analysis_sentimentr

Sentiment Analysis using sentimentr
obtain_word_counts

Obtain Word Counts
run_sumup

Run Sum Up
replace_abbr

Replace Abbreviations
update_educational_framework_settings

Update settings related to the educational framework
update_setting

Update setting
sentiment_analysis_grasp

Sentiment Analysis using Grasp
example_data

Example example_data