Unigrams, a specialized software product developed by Kai Analytics and Survey Research Incorporated (unigrams.com), is an advanced qualitative data mining platform. Designed specifically for academic researchers, market research analysts, and human resources teams, Unigrams eliminates the manual burden of reading through thousands of open-ended survey comments, interview transcripts, and customer reviews. Jainbrain Technologies led the end-to-end software development lifecycle—translating high-fidelity Figma prototypes into an interactive web application, building a multi-tier API ingestion pipeline, integrating Stripe subscription billing, and architecting the Microsoft Azure VM cloud infrastructure.
NLP Engine
Multi-Set Topic ModelingInteractive
LDAvis & Network GraphsStripe Pay
Tiered Row QuotasAzure VM
Auto-Renewing SSLThe Architectural Challenge
Qualitative survey feedback contains rich context, but manual text analysis is notoriously slow and difficult to scale. Kai Analytics developed proprietary natural language processing (NLP) APIs to parse large corpuses of unstructured text. The goal was to build a secure, user-friendly SaaS web application where non-technical analysts could upload raw survey spreadsheets, clean and preprocess target question columns, generate probabilistic topic models, and explore correlations through dynamic visual dashboards.
The User Journey & Ingestion Workflow
We engineered a multi-stage data processing pipeline tailored to qualitative research methodologies:
- Survey Project & CSV Ingestion: Users create a project workspace and upload raw survey spreadsheets. The backend automatically parses headers, detects data types, and renders a high-performance DataTables view with multi-column filtering.
- Question Column Isolation & Preprocessing API: The user selects the specific qualitative column (e.g., “What can we improve?”). The application feeds this raw text stream into the preprocessing API, delivering an immediate preview and returning a sanitized, tokenized output CSV.
- Parallel Topic Modeling Pipeline (5, 10 & 15 Topics): The preprocessed text is dispatched to the Topic Modeling API, which concurrently computes three separate modeling sets:
- Interactive LDAvis: High-dimensional intertopic distance maps and top-token distributions rendered via custom iframe/HTML embeds.
- Relational Topic Modeling CSV: Assigned topic probabilities joined back to respondent metadata.
- Network Graphs (JSON Nodes & Edges): Semantic co-occurrence networks illustrating how thematic concepts cluster together.
- Unified Multi-Set Relational Storage: All model outputs are indexed in MySQL with a dedicated
topic_setattribute (5, 10, or 15), allowing researchers to toggle between varying levels of thematic granularity instantly without re-running expensive API calculations.
Core Application Features & Monetization
Stripe Subscription & Quota Enforcement
- Automated Recurring Billing: Integrated Stripe Checkout and Customer Portal for frictionless subscription upgrades and cancellations.
- Row-Level Quota Firewall: Free-tier accounts are restricted to processing datasets up to 300 rows, encouraging paid plan conversions for institutional datasets.
Dynamic Dashboard Exploration
- Instant Thematic Switching: Instantaneous switching between 5, 10, and 15 topic models using asynchronous AJAX data hydrators.
- Cross-Dimensional Filtering: Relational joins between demographic survey columns and NLP topic scores to segment feedback by department, age, or rating.
Cloud Infrastructure & Azure VM Deployment
To ensure high availability, enterprise-grade data security, and seamless file throughput, Jainbrain Technologies managed the entire server environment on Microsoft Azure:
- Azure Virtual Machine Setup: Configured an Ubuntu Linux VM, tuned PHP-FPM execution limits, and optimized MySQL buffer pools for heavy analytical read queries.
- Automated SSL Security (Let’s Encrypt): Implemented automated Certbot renewals via scheduled cron jobs, ensuring zero-maintenance HTTPS compliance across domains.
- Secure API Proxy & CORS Protection: Protected upstream API secret tokens via backend cURL handlers, preventing key exposure in client-side network calls.
Business Value Delivered
Unigrams transformed complex statistical topic modeling and qualitative analysis into an accessible, self-service SaaS product. By automating text preprocessing, multi-set topic generation, and interactive visual mapping, the platform enables organizations to extract meaningful themes from massive survey datasets in minutes rather than weeks.

