Sturdy Statistics transforms unstructured text into structured, interpretable data— using models that are transparent, verifiable, and robust. You don’t need to write prompts, tune embeddings, or trust a black box. Every insight can be inspected, audited, and traced back to specific passages in your data.
Sturdy Statistics automatic structure enables
Data Scientists to apply traditional statistical models on unstructured data
Analysts to analyze granular natural language data with SQL
All with confidence in how the outputs were generated and with the ability to easily verify every datapoint.
In the following walkthrough, we introduce Sturdy Statistics’ ability to reveal structured insights for unstructured data, not with RAG or LLM black boxes but with rigorous, statistical analysis that leverages traditional tabular data structures. We will analyze the past two years of Earnings Calls from Google, Microsoft, Amazon, NVIDIA, and META.
Resources
The indices used in this walkthrough are publicly available with no sign-up or API Key Required. You can expore these indices through our gallery or query them programatically through a globally rate-limitted pool for convenient public access.
To follow along with this walkthrough, simply run:
The core building block in the Sturdy Statistics NLP toolkit is the Index. Each Index is a set of documents and metadata that has been structured or “indexed” by our hierarchical bayesian probability mixture model. Below we are connecting to an Index that has already been trained by our earnings transcripts integration.
index = Index(id="index_c6394fde5e0a46d1a40fb6ddd549072e")
Found an existing index with id="index_c6394fde5e0a46d1a40fb6ddd549072e".
Topic Search
The first API we will explore is the Topic Search API. This API provides a direct interface to the high level themes that our index extracts. You can call with no arguments to get a list of topics ordered by how often they occur in the dataset (prevalence). The resulting data is a structured rollup of all the data in the corpus. It aggregates the topic annotations across each word, paragraph, and document and generates high level semantic statistics.
We can quickly visualize this topic dataframe in a pie chart using plotly. The size of each slice of the pie chart represents how prominent a topic is.
This visual is very fast and useful, but quickly becomes overwhelming if we attempt to display too many topics
We can better visualize our thematic data by leveraging Sturdy Statistic’s hierarchical schema. We can display this hierarchy using a Sunburst visualization. The inner circle of the sunburst is the title of the plot. And the leaf nodes are the same topics topics that we displayed in the pie chart above. The middle layer is the topic_group, which Sturdy Statistics automatically extracts in conjunction with the granular topics. The size of each slice is porportional to how often it shows up in the dataset.
So far, we have explored the semantic structure Sturdy Statistics applies to unstructured data via topics and topic groups. In the following sections, we will explore how to leverage this structure to drive both high-level insights and granular analyses.