Designing a BASIC Parser for CALL

Authors

  • Vivian Cook

DOI:

https://doi.org/10.1558/cj.v6i1.50-67

Keywords:

BASIC, CALL, DCG, English, parsing

Abstract

Writing a parser to give syntactic representations of students' input in BASIC is justified by the limited scope of the grammar required and by the need to integrate with other CALL materials. BAP (BASIC parser) is described in terms of input processing, which normalizes the sentence; word-matching, which matches it against key structure words and against its own lexicons; and phrase structure parsing, which examines the constituent structure and sub-categorization features of the sentence. A technique is described based on DCG parsing in PROLOG that attempts to consume the words of the sentence one at a time by rule: it is exemplified through simplified versions of its rules for parsing sentence type and the noun phrase, and through examples of its sub-categorization tests for properties of lexical entries. It is suggested that such a parser can form a useful component in many CALL activities.

References

Cook, V.J. "Natural language processing as interface between CALL and computing," Fremdsprachen und Hochschule, AKS, 20, 1987, 17-26.

Cook, V.J. "Communicative teaching with the computer,' English Language Teaching Journal, to appear 1988.

Gazdar, G., et al. Generalised Phrase Structure Grammar, Oxford, Blackwell, 1985.

Marcus, M.P. Theory of Syntactic Recognition for Natural Languages, MIT Press, 1980.

Pereira, F.C.N. and S.M. Shieber. PROLOG and Natural-Language Analysis, CSLI (Center for the Study of Language and Information), Stanford, 1987.

Downloads

Published

2013-01-14

Issue

Section

Articles

How to Cite

Cook, V. (2013). Designing a BASIC Parser for CALL. CALICO Journal, 6(1), 50-67. https://doi.org/10.1558/cj.v6i1.50-67

Most read articles by the same author(s)

1 2 3 4 5 6 7 8 9 10 > >>