Web and Corpus Methods for Malay Count Classifier Prediction

Jeremy Nicholson, Timothy BaldwinNAACL 2009

Jeremy Nicholson, Timothy Baldwin Proceedings of Human Language Technologies: The 2009 Annual Conference of the North American Chapter of the Association for Computational Linguistics, Companion Volume: Short Papers. 2009.

Abstract

This paper explores the automatic prediction of count classifiers for nouns in Malay, a task essential for building high-quality digital dictionaries and natural language processing (NLP) tools. The researchers compare unsupervised web-based methods, corpus-based methods, and supervised machine learning, finding that the scale of the Web effectively overcomes data sparseness for this medium-density language.

Introduction

In many languages, including Malay, Chinese, and Japanese, nouns are typically uncountable and require a count classifier (CL) when being quantified. This is analogous to English phrases like "three heads of cattle" or "two pieces of paper." In Malay, specific markers are required for different categories of objects, such as biji for fruits or ekor for animals.

For NLP systems to generate or understand Malay correctly, they require a lexicon that maps nouns to their preferred classifiers. However, manually coding these mappings is labor-intensive. This study aims to automate this "deep lexical acquisition" by testing whether the vastness of the Web can compensate for the lack of specialized Malay linguistic data.

Methodology

The authors compared three primary approaches to predict the default classifier for a given noun:

  1. The Web Model (Unsupervised): Using a "first gloss" strategy, the researchers constructed search queries for 49 different classifiers using the pattern "one [CL] [NOUN]" (e.g., sebuah raja). They used search engine frequencies to determine the most likely classifier via Maximum Likelihood Estimation.
  2. The Corpus Model: This utilized the same frequency-based logic as the Web model but queried a smaller, "clean" 1.2-million-token corpus of Malay text.
  3. Machine Learning (Supervised): Maximum Entropy (MaxEnt) classifiers were trained using local context (four words to the left and right of a noun). This included a "suite" of 49 binary classifiers.
  4. Back-off Models: Hybrid systems were tested that prioritized the precise Corpus model, falling back to Web or ML models when the corpus lacked data.

Data and Distribution

The study utilized the KAMI Dictionary (approx. 19,000 nominal entries) to establish ground truth. The evaluation set consisted of 2,764 common nouns appearing in the corpus. The distribution of classifiers in the language is highly skewed, which informs the baseline for prediction.

Distribution of the most frequent Malay count classifiers and their relative frequencies.

Key Results

The performance was measured using Precision, Recall, and F-score. The Web model emerged as the clear winner, significantly outperforming both the corpus-based approach and complex supervised machine learning models.

Performance comparison of different classifier prediction methods, including Web, Corpus, and ML Suite models.

While the Corpus model achieved the highest precision (.908), its recall was extremely low (.119) due to data sparseness. The Web model provided a much better balance, nearly doubling the F-score of the majority-class baseline.

Discussion and Insights

The "Web-as-Corpus" Advantage

The success of the Web model suggests that for languages with limited formal corpora, the internet is a superior proxy. The massive scale of the Web overcomes the data sparseness that crippled the 1.2M token corpus, which failed to find data for 85% of the target nouns.

Robustness Against Noise

Malay and Indonesian are mutually intelligible but differ in classifier usage. The authors initially feared Indonesian "noise" on the Web would degrade results. However, the specific Malay query pattern used (se- as a prefix for "one") acted as a natural filter, as Indonesian typically uses different patterns.

Simplicity vs. Complexity

One of the most striking findings was that the unsupervised Web frequency method outperformed complex supervised machine learning models that required annotated training data. This highlights the value of data scale over algorithmic complexity in certain lexical acquisition tasks.

Conclusion

This research demonstrates that for medium-density languages like Malay, simple unsupervised methods leveraging the scale of the Web can provide high-quality lexical data. Future work may involve refining query sensitivity for more linguistically complex languages and improving language identification to further mitigate cross-language interference.

Summary updated

BibTeX
@inproceedings{nicholson2009web,
  author = {Jeremy Nicholson and Timothy Baldwin},
  title = {{Web and Corpus Methods for Malay Count Classifier Prediction}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2009},
  url = {https://openreview.net/forum?id=rJ-sNQZ_WH},
}
Figure