Elamur Research⌕
☰
home / papers / 2010 / Exploring the Data-Driven Prediction of Prepositions in English

Exploring the Data-Driven Prediction of Prepositions in English

Paper · 2010 · Anas Elghafari, Detmar Meurers and Holger Wunsch

Summary

The paper asks how far one can get in choosing the right English preposition using only the raw words around it, with no POS tags, parses or WordNet classes. Earlier systems relied on rich feature sets. The authors instead treat the web as a huge training corpus. They query the Yahoo search engine with n-grams in which the masked slot is filled by each candidate preposition, and they pick the variant with the most hits. The model starts from a 7-gram window. When no evidence is found, it backs off to pairs of overlapping shorter n-grams.

The test material is section J of the BNC with the nine most frequent prepositions, the same setup as De Felice (2008). Test sentences already present on the web were removed so that the search index does not act as leaked training data. The approach reaches about 77% accuracy, which beats De Felice's 70.06% and is close to other state-of-the-art feature-based systems. The result shows that local surface context carries much of the needed signal when data is plentiful.

Key points

  • Evaluation items are drawn from BNC section J, where prepositions are identified by the CLAWS-5 tags PRF/PRP, and are restricted to nine prepositions (alphabetically: at, by, for, from, in, of, on, to, with).
  • The full pool of 522,313 tasks was sampled down to 10,000. Queries over Yahoo's 4000-character limit were dropped, as were sentences already found verbatim online. This left 8060 tasks.
  • The first back-off step approximates a 7-gram by two overlapping 6-grams. It adds 1620 correct and 408 wrong predictions, giving 3551 correct and 672 incorrect, with recall 56.1% and precision 84.1%.
  • Across back-off steps, recall climbs steeply while precision declines only slightly. The final accuracy is about 77%.
  • For comparison, the reported results of other systems are:
SystemAccuracy
De Felice (2008)70.06%
Gamon et al. (2008) choice classifier62.32%
Tetreault and Chodorow (2008a)79%
Bergsma et al. (2009)75.4%

Their test sets and preposition inventories differ, so these figures are only loosely comparable.

Interesting ideas

  • I1. Leakage check. Before evaluating, the authors searched the "training corpus" for each whole test sentence and discarded any that already appeared there, which is a cheap guard against leakage whenever the training source is huge and opaque.
  • I2. Back-off with tracked precision and recall. The model degrades from a long exact context to overlapping shorter windows, and the authors record precision and recall at each step to show what each fallback level costs.
  • I3. One masked task per slot. Each preposition in a sentence becomes its own fill-in-the-blank instance, turning raw text into many self-supervised test items for free.
  • I4. Separate functional and lexical prepositions. The authors propose reporting the two classes apart, because functional ones (dependent on) are fixed by nearby words, while lexical ones (put the bag on/under) need meaning that is not local.
  • I5. Stabilization curve for sample size. Plotting accuracy against the number of predictions showed it settles after about 1000 items, which justifies a smaller test sample.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (learn): Before scoring a parser or reader, check every evaluation sentence against the silver data and the LLM-teacher outputs, and drop any that leaked in.
  • I2 (tree): Repair rules and dictionary lookups could fire from most to least specific context, with each decision tagged by the level that produced it, so explanations show how confident the match was.
  • I3 (answer): Mask function words or arguments in tale texts to build cloze-style checks of whether the reader's world model picks the right relation.
  • I4 (frames): Score preposition and role decisions separately for valency-selected cases and spatial or semantic cases, and route the latter to world-level reasoning rather than local patterns.
  • I5 (learn): Use running-accuracy curves to choose how many items each expensive evaluation (e.g., teacher-graded) really needs.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

Cite

Cite as Anas Elghafari, Detmar Meurers and Holger Wunsch. 2010. Exploring the Data-Driven Prediction of Prepositions in English. Coling 2010: Posters.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{elghafari2010exploring,
  title = {{Exploring the Data-Driven Prediction of Prepositions in English}},
  author = {Anas Elghafari, Detmar Meurers and Holger Wunsch},
  booktitle = {Coling 2010: Posters},
  year = {2010},
  url = {https://aclanthology.org/C10-2031/}
}

References

12 references, 2 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Bergsma, Shane, Dekang Lin, and Randy Goebel. 2009. Web-scale n-gram models for lexical disambiguation. In IJCAI’09: Proceedings of the 21st international jont conference on Artifical intelligence, pages 1507–1512, San Francisco, CA, USA. Morgan Kaufmann Publishers Inc. find
  2. Boyd, Adriane, Markus Dickinson, and Detmar Meurers. 2008. On detecting errors in dependency treebanks. Research on Language and Computation, 6(2):113–137. ↗
  3. Chodorow, Martin, Joel Tetreault, and Na-Rae Han. 2007. Detection of grammatical errors involving prepositions. In Proceedings of the 4th ACL-SIGSEM Workshop on Prepositions, pages 25–30, Prague, Czech Republic, June. find
  4. De Felice, Rachele and Stephen Pulman. 2007. Automatically acquiring models of preposition use. In Proceedings of the 4th ACL-SIGSEM Workshop on Prepositions, pages 45–50, Prague, Czech Republic, June. Association for Computational Linguistics. find
  5. De Felice, Rachele. 2008. Automatic Error Detection in Non-native English. Ph.D. thesis, St Catherine’s College, University of Oxford. ↗
  6. Dickinson, Markus and W. Detmar Meurers. 2003. Detecting errors in part-of-speech annotation. In Proceedings of the 10th Conference of the European Chapter of the Association for Computational Linguistics (EACL-03), pages 107–114, Budapest, Hungary. find
  7. Dickinson, Markus and W. Detmar Meurers. 2005. Detecting errors in discontinuous structural annotation. In Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL’05), pages 322–329. find
  8. Gamon, Michael, Jianfeng Gao, Chris Brockett, Alexander Klementiev, William Dolan, Dmitriy Belenko, and Lucy Vanderwende. 2008. Using contextual speller techniques and language modeling for esl error correction. In Proceedings of IJCNLP, Hyderabad, India.
  9. Lapata, Mirella and Frank Keller. 2005. Web-based models for natural language processing. ACM Transactions on Speech and Language Processing, 2(1):1–30, February. ↗
  10. Lee, John and Ola Knutsson. 2008. The role of pp attachment in preposition generation. In Gelbukh, A., editor, Proceedings of CICLing 2008. find
  11. Tetreault, Joel and Martin Chodorow. 2008a. Native judgments of non-native usage: Experiments in preposition error detection. In Proceedings of COLING-08, Manchester. find
  12. Tetreault, Joel and Martin Chodorow. 2008b. The ups and downs of preposition error detection in esl writing. In Proceedings of COLING-08, Manchester.

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/elghafari-2010-exploring-data-driven-prediction-prepositions/