Hindi Word Sketches

Anil Krishna Eragani, Varun Kuchibhotla, Dipti Misra Sharma, Siva Reddy, Adam KilgarriffICON 2014

Abstract

Hindi is one of the world's most spoken languages, yet it has historically lacked the sophisticated computational tools necessary for large-scale lexicography and corpus linguistics. This paper presents the integration of Hindi into the Sketch Engine platform, leveraging the 240-million-word HindiWaC corpus. By implementing a sketch grammar based on the Paninian framework, the authors provide automated summaries of grammatical and collocational behavior, facilitating advanced linguistic research and dictionary compilation.

Introduction

Lexicographers and linguists require more than simple frequency counts to understand language; they need to identify collocations—words that habitually occur together. In English, for instance, "strong" collocates with "tea," while "powerful" collocates with "engine." Manually identifying these patterns in massive datasets is impractical. This paper addresses this gap for Hindi by introducing "Word Sketches": automatic, one-page summaries of a word’s grammatical and collocational behavior.

Methodology

The research pipeline involved three main stages: corpus construction, linguistic processing, and grammar development.

  1. Corpus Construction: The authors developed HindiWaC, a 240-million-word web-crawled corpus. Using the "Corpus Factory" method, they generated queries from Wikipedia to crawl the web via Bing, followed by extensive cleaning to remove non-linguistic "boilerplate" text.
  2. Linguistic Processing: Raw text underwent tokenization, lemmatization, and Part-of-Speech (POS) tagging.
  3. Sketch Grammar: The core innovation is a grammar written in Corpus Query Language (CQL) that identifies syntactic relationships. Unlike standard Western dependency models, this grammar utilizes the Paninian framework, employing karaka relations (e.g., k1 for agent, k2 for object) which are more naturally suited to Indian languages. Rules were derived and validated using the Hindi Dependency Treebank (HDT).

Results and Discussion

The primary output of the system is the Word Sketch. These sketches provide a statistical overview of a lemma's typical subjects, objects, and modifiers, allowing researchers to see how words behave in context at a glance.

Word Sketch for the verb 'kar' (do) illustrating Paninian grammatical relations such as k1 (agent) and k2 (object).

The tool also excels at keyword extraction. By comparing a specialized corpus, such as the 2014 Hindi Election Corpus, against the general HindiWaC baseline, the system automatically identifies topical terms like politician names and political parties.

Keyword extraction results comparing the Hindi Election Corpus to the general HindiWaC baseline.

Furthermore, the system supports bilingual word sketches and "sketch diffs" for comparing near-synonyms (e.g., the verbs kar "do" and ho "be"), highlighting unique and shared collocates. This is particularly useful for lexicographers distinguishing subtle semantic differences.

Conclusion

The development of Hindi Word Sketches provides a statistically significant foundation for Hindi linguistic research. While challenges such as POS tagging errors (e.g., misidentifying the honorific ji) and data sparseness due to free word order persist, the Paninian-based approach offers a robust framework for future enhancements, including the incorporation of morphological features like gender and number to increase semantic precision.

Summary updated

BibTeX
@inproceedings{eragani2014hindi,
  author = {Anil Krishna Eragani and Varun Kuchibhotla and Dipti Misra Sharma and Siva Reddy and Adam Kilgarriff},
  title = {{Hindi Word Sketches}},
  booktitle = {ICON},
  year = {2014},
}
Figure