Skip to main content
QUICK REVIEW

[Paper Review] A Modular and Flexible Architecture for an Integrated Corpus Query System

Oliver Christ|arXiv (Cornell University)|Aug 2, 1994
Natural Language Processing TechniquesComputer Science208 citations
TL;DR

This paper presents a modular, extensible corpus query architecture that integrates diverse knowledge sources—such as tagged text, databases, and on-line thesauri—through a logical access layer abstracting physical data storage. By enabling declarative, flexible access to both static and dynamically computed linguistic information, the system supports precise, interactive corpus querying across multiple data types without requiring reindexing or tight coupling to specific storage formats.

ABSTRACT

The paper describes the architecture of an integrated and extensible corpus query system developed at the University of Stuttgart and gives examples of some of the modules realized within this architecture. The modules form the core of a corpus workbench. Within the proposed architecture, information required for the evaluation of queries may be derived from different knowledge sources (the corpus text, databases, on-line thesauri) and by different means: either through direct lookup in a database or by calling external tools which may infer the necessary information at the time of query evaluation. The information available and the method of information access can be stated declaratively and individually for each corpus, leading to a flexible, extensible and modular corpus workbench.

Motivation & Objective

  • To design a corpus query system that supports diverse linguistic knowledge sources (e.g., part-of-speech tags, WordNet, CELEX) without requiring reindexing when new sources are added.
  • To enable dynamic computation of linguistic information (e.g., bigram tables, POS tags) at query time rather than pre-storing it.
  • To decouple data access, evaluation, and presentation into independent modules for adaptability across usage scenarios.
  • To support both human users and automated tools (e.g., parsers, generators) by providing a uniform, general-purpose query interface.
  • To allow integration of aligned parallel corpora with bidirectional presentation of query results in source and target languages.

Proposed method

  • Separate the system into a physical data access layer that handles low-level access to files, databases, and external tools, and a logical access layer that abstracts storage details.
  • Use a declarative query language that treats all declared knowledge sources—whether stored or computed—as first-class components of the corpus.
  • Implement modular presentation tools (e.g., Xkwic) that display query results in KWIC format with interactive features like query history and sorting.
  • Support alignment information between parallel corpora to enable bilingual result display, with results linked across languages.
  • Allow tools to access the physical layer directly or through the logical layer, enabling both direct data retrieval and complex query evaluation.
  • Design the architecture to support incremental updates: new knowledge sources can be added without reindexing existing data.

Experimental results

Research questions

  • RQ1How can a corpus query system be architected to support diverse, heterogeneous linguistic knowledge sources with different access methods and storage characteristics?
  • RQ2What design patterns enable dynamic computation of linguistic information (e.g., part-of-speech tags, bigram tables) at query time without pre-computation?
  • RQ3How can a modular system support both interactive human use and programmatic access by tools such as parsers and generators?
  • RQ4In what ways can the separation of concerns between data access, query evaluation, and result presentation improve system extensibility and maintainability?
  • RQ5How can aligned parallel corpora be effectively queried and presented in a unified, bilingual interface?

Key findings

  • The modular architecture successfully decouples data access from query logic, allowing seamless integration of new knowledge sources without reindexing existing data.
  • The logical access layer enables a general-purpose query language that can express complex queries involving multiple knowledge sources, regardless of their physical storage or access method.
  • The Xkwic presentation module provides an interactive, user-friendly interface with features like query history, sorting, and file export, enhancing usability for linguists and lexicographers.
  • Support for aligned parallel corpora allows bilingual query results to be displayed side-by-side, improving cross-lingual analysis capabilities.
  • The system enables more precise queries by leveraging external linguistic resources (e.g., WordNet, CELEX), reducing the amount of manual data browsing required.
  • The architecture supports future extensions, such as parsing trees and advanced query result operations (e.g., set operations), through planned enhancements to the logical layer.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.