Sort a set of short texts into groups of similar content, with the keywords and size of each group.
Text clustering: group short texts by content
What clustering does
It sorts texts into groups so that the texts of a group resemble one another in wording more than they resemble the rest. No categories are needed beforehand. The number of groups can be set by you or picked as the one that separates the texts most cleanly.
What the report shows
The size of each group, its keywords, its most typical text (the one closest to the middle of the group) and examples. A plane shows every text as a point colored by group, and a matrix shows how close the groups are. Silhouette and the Davies-Bouldin index say how well separated they are, and a radar chart compares their size, cohesion and density.
When to use it
For short texts that each make one point: survey answers, reviews, headlines, support tickets. If every text can be about several things at once, a topic model such as LDA describes it better. If answers say the same thing in different words, BERTopic, which goes by meaning, groups them more closely.
Topics and clusters
What a pile of documents is about, without reading every one.
LDA topic modeling: Fit a classic LDA model over all your files and get the topics, their words, and the mix of topics in each document.
LDA with topic names: Fit an LDA model to each file on its own and get its topics, each with a short name.
BERTopic topic clustering: Cut the text into passages, cluster them by meaning, and get named topics with their keywords and typical passages.
Number of topics: Fit LDA at each number of topics in a range and see which number the perplexity and coherence scores point to.
Principal components of a text: Boil the vocabulary of a text down to a few principal components, see which words pull each one and where each passage falls, and get a name for each component.
Latent semantic analysis: Find the hidden topics of a text by latent semantic analysis, with the words and typical passages of each, the passages that stray, and how close the topics are.
Expectation mining: Find what the writers of reviews, comments or survey answers expect and ask for, sorted into types, with how positive and how urgent each one is and the keywords behind it.
Knowledge graph: Get the people, organizations and concepts a text names and the relations between them as a graph you can explore, with the sentence behind every relation, the topics they form and a work outline.
Storylines and what comes next: From a table of posts with timestamps, get the topics, the storylines they form, the moments when the number of posts jumped and what drove each jump, and a projection of what may come next for the most active storylines.
Event timeline: List the events in a text in chronological order, each with its date, place, actors and source sentence, grouped into phases with the turning points marked, and read a short account of how it all unfolded.
Causal relations: Get the cause-and-effect relations a text states outright, each as the cause and the effect in the text's own words with the sentence it came from, drawn as a network and as chains, with a short account of what leads to what.
Position analysis: See who supports, opposes, questions or calls for what in a text, backed by direct quotes, and who is in conflict or working together, drawn as a network with a short summary of the main findings.
Text classification: Sort texts into categories, either the IPTC Media Topics that news agencies use or a list of your own, with how probable each one is and the sentence that shows it.