[Paper Review] Analyzing Large Collections of Electronic Text Using OLAP
This paper proposes a user-driven OLAP system for analyzing large electronic text collections by organizing literary data into multidimensional data cubes (the 'Warehouse of Words'), enabling fast, interactive queries on stylometric, lexical, and phraseological features across hierarchical dimensions like author, era, and word forms. The key contribution is demonstrating that OLAP can accelerate literary analysis—reducing query times from hours to seconds—while supporting flexible, exploratory research without requiring users to write complex queries.
Computer-assisted reading and analysis of text has various applications in the humanities and social sciences. The increasing size of many electronic text archives has the advantage of a more complete analysis but the disadvantage of taking longer to obtain results. On-Line Analytical Processing is a method used to store and quickly analyze multidimensional data. By storing text analysis information in an OLAP system, a user can obtain solutions to inquiries in a matter of seconds as opposed to minutes, hours, or even days. This analysis is user-driven allowing various users the freedom to pursue their own direction of research.
Motivation & Objective
- To address the slow response times of traditional text analysis tools when processing large electronic text archives.
- To enable user-driven, interactive exploration of literary data without requiring expertise in query languages like SQL or MDX.
- To leverage OLAP's multidimensional data modeling and precomputed aggregations to accelerate queries on stylometric, lexical, and phraseological features.
- To support flexible, hierarchical analysis of literary data—such as authorship attribution, word frequency, and co-occurrence patterns—across dimensions like book, author, era, and word form.
- To create a scalable, extensible framework (the 'Warehouse of Words') that supports a wide range of literary research queries through precomputed data cubes.
Proposed method
- The system uses an ETL pipeline to extract plain text and XML data from Project Gutenberg, removing irrelevant content like disclaimers and prefaces.
- During transformation, the system computes key features such as word frequency, punctuation counts, sentence length, and part-of-speech tags, along with hierarchical groupings like word stems, hypernyms (via WordNet), and user-defined word lists.
- The data is loaded into multidimensional data cubes (OLAP cubes), with dimensions including book, author, publication era, word form, and word class, each supporting roll-up and drill-down operations.
- The system supports two core cubes: the Sentence Style cube (tracking sentence-level features like comma and stopword counts per word), and the Short Phrase cube (recording 4-word sequence occurrences).
- Hierarchies are defined for books (chapter → book → author → era) and words (stem → part of speech → hypernym → user-defined list), enabling aggregate queries across multiple granularities.
- The system enables fast, near-constant-time query evaluation by precomputing summary data, allowing users to explore patterns interactively without waiting hours for results.
Experimental results
Research questions
- RQ1Can OLAP techniques be effectively applied to large-scale literary text analysis to enable fast, interactive querying?
- RQ2How can hierarchical data modeling in OLAP support flexible, user-driven exploration of stylometric and lexical features in literary corpora?
- RQ3To what extent can precomputed multidimensional data cubes reduce query response time for complex literary queries compared to traditional relational databases?
- RQ4Can OLAP-based systems support advanced literary analysis tasks such as author attribution, phrase mining, and semantic analogy detection?
- RQ5How can the integration of multiple word hierarchies (e.g., stemming, part of speech, hypernyms) enhance the expressiveness and utility of literary text analysis tools?
Key findings
- The OLAP-based 'Warehouse of Words' enables query response times in seconds rather than minutes or hours, even for large corpora, by precomputing aggregate data across multidimensional cubes.
- The system supports interactive, user-driven exploration of literary data through hierarchical roll-up and drill-down operations across dimensions like author, era, and word form.
- The Sentence Style cube allows efficient analysis of syntactic features such as average sentence length and punctuation usage by author or time period.
- The Short Phrase cube enables the discovery of frequent or rare 4-word sequences, supporting user-driven phraseology and topos analysis.
- The integration of multiple word hierarchies—such as stemming, part-of-speech tagging, and hypernyms—enables richer, more flexible queries on lexical and semantic patterns.
- The framework demonstrates that OLAP can be successfully adapted to humanities research, offering a scalable, interactive alternative to traditional text analysis tools.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.