Processes sentence-level Sum Up's output, assigns sentences to topics, calculates topic strengths, and organizes data into structured feedback categories.
create_output(sentence_complete_output, sentences_lda, settings)A structured list containing topic-wise feedback, strength, and quality assessments.
If settings$output_json is TRUE, returns a JSON string.
A data frame containing sentence-level topic polarity scores.
An LDA model object containing topic-term distributions.
A list of settings containing parameters such as the number of topics, threshold values, scoring scale, and output format.
This function processes Sum Up's output to assign sentences to topics based on a probability threshold. It calculates the topic strength based on sentence polarity and recency, categorizes topics by feedback quantity and quality, and includes unassigned feedback in a separate category.