Every long-term chat archive is a repository of shared history. Hidden within thousands of messages are references to trips, recipes, inside jokes, projects, addresses, agreements, and milestones. While a search bar helps when you remember the exact words to type, it doesn't help you explore the broad landscape of what you talked about over several years.
To help you see the big picture, Chat Explorer introduces the **Topic Explorer** and **Mind Maps**. Here is a detailed look at how these features parse, analyze, and map conversation topics completely on-device.
The On-Device NLP Pipeline
Rather than sending your chats to a cloud-based server where data could be exposed or logged, Chat Explorer relies on local libraries. By utilizing Apple’s native **NaturalLanguage framework**, the app performs linguistics operations on your CPU/GPU. The analysis runs through four distinct stages:
- Tokenization and Lemmatization: Messages are broken down into individual words (tokens). The framework then reduces inflected words to their dictionary form (lemmas)—for example, grouping "running," "runs," and "ran" under the single root "run."
- Part-of-Speech (POS) Tagging: The local model identifies nouns, verbs, and adjectives. We filter out "stop words" (pronouns, prepositions, and articles like "the," "and," "it") to focus only on content-carrying terms.
- Named Entity Recognition (NER): The algorithm extracts specific categories of nouns, such as locations (cities, countries), organizations, and dates. This helps isolate event-related terms from regular text.
- Thematic Clustering: Words that frequently appear near each other in the same session are grouped together. For example, if "flight," "hotel," and "weekend" show up repeatedly, the algorithm links them to form a single thematic cluster.
Strict Privacy Boundary: Because the NLP analysis relies entirely on iOS/macOS system frameworks (which run locally inside the app's sandbox), not a single word of your chat is ever transmitted over the network. Your messages stay encrypted in your local SQLite/SwiftData storage.
Generating Interactive Mind Maps
Once the topics and associations are identified, the app generates a visual node structure. The layout engine places terms dynamically: the main session acts as the root node, which branches into **thematic clusters**, and then further subdivides into specific **keywords and entities**.
- Frequency Scaling: The visual size of each node corresponds directly to how often a word or cluster appears in the chat. A massive node indicates a central theme, while smaller outlying nodes represent secondary or passing topics.
- Connection Strength: The thickness of lines connecting nodes represents semantic proximity—meaning how often those terms were discussed in close succession.
- Navigation Anchors: Every node in the mind map is interactive. Tapping a node automatically filters your chat history, letting you immediately read the exact messages where those topics were discussed.
Extracting Sentiment and Highlights
In addition to categorizing topics, the NLP engine performs basic **sentiment analysis**. By scanning messages for emotional markers, it can detect periods of high excitement (like positive milestones or celebrations) and log them as conversation highlights.
These highlights are mapped to key timeline events, letting you easily find the most memorable or high-energy exchanges in a multi-year archive.
Why Local-First NLP Matters
Many online tools analyze chats by asking you to upload files to their servers. This presents massive security vulnerabilities, as private chat logs contain phone numbers, addresses, financial references, and sensitive personal histories.
Chat Explorer’s architecture proves that you do not need to compromise privacy to get rich, interactive analytics. By leveraging the advanced hardware inside Apple devices, we run complex language models locally, giving you desktop-grade visualization tools while keeping your data strictly yours.
Give it a try: Import a chat, go to the **Analytics** dashboard, and scroll to the **Topic Explorer** card to see a custom mind map generated from your conversation.