960 resultados para LFG grammar and parsing


Relevância:

40.00% 40.00%

Publicador:

Resumo:

Two studies were conducted to determine how well story grammar predicted recall of televised stories. In Experiment 1, preschoolers viewed a non-narrated televised story from "Sesame Street." In Experiment 2, preschoolers and adults were administered a narrative via television or radio. In both studies, subjects' retention reflected recall of nodal information, regardless of medium of input.

Relevância:

40.00% 40.00%

Publicador:

Resumo:

The domain of context-free languages has been extensively explored and there exist numerous techniques for parsing (all or a subset of) context-free languages. Unfortunately, some programming languages are not context-free. Using standard context-free parsing techniques to parse a context-sensitive programming language poses a considerable challenge. Im- plementors of programming language parsers have adopted various techniques, such as hand-written parsers, special lex- ers, or post-processing of an ambiguous parser output to deal with that challenge. In this paper we suggest a simple extension of a top-down parser with contextual information. Contrary to the tradi- tional approach that uses only the input stream as an input to a parsing function, we use a parsing context that provides ac- cess to a stream and possibly to other context-sensitive infor- mation. At a same time we keep the context-free formalism so a grammar definition stays simple without mind-blowing context-sensitive rules. We show that our approach can be used for various purposes such as indent-sensitive parsing, a high-precision island parsing or XML (with arbitrary el- ement names) parsing. We demonstrate our solution with PetitParser, a parsing-expression grammar based, top-down, parser combinator framework written in Smalltalk.

Relevância:

40.00% 40.00%

Publicador:

Resumo:

Imprecise manipulation of source code (semi-parsing) is useful for tasks such as robust parsing, error recovery, lexical analysis, and rapid development of parsers for data extraction. An island grammar precisely defines only a subset of a language syntax (islands), while the rest of the syntax (water) is defined imprecisely. Usually, water is defined as the negation of islands. Albeit simple, such a definition of water is naive and impedes composition of islands. When developing an island grammar, sooner or later a programmer has to create water tailored to each individual island. Such an approach is fragile, however, because water can change with any change of a grammar. It is time-consuming, because water is defined manually by a programmer and not automatically. Finally, an island surrounded by water cannot be reused because water has to be defined for every grammar individually. In this paper we propose a new technique of island parsing - bounded seas. Bounded seas are composable, robust, reusable and easy to use because island-specific water is created automatically. We integrated bounded seas into a parser combinator framework as a demonstration of their composability and reusability.

Relevância:

40.00% 40.00%

Publicador:

Resumo:

by the late J. T. Marshall. Ed. from the author's ms. by J. Barton Turner. With introduction by A. Mingana

Relevância:

40.00% 40.00%

Publicador:

Resumo:

This manuscript grammar notebook, written in Chaldean Aramaic and English, appears to have originally belonged to William Bentley (Harvard A.B. 1777); Bentley's name and a date, "December 1776," appear on the volume but have been struck through, and the handwriting appears to be his. The names of Elisha Parmele and Polly Parmele are also on the volume; presumably it was given to Elisha by Bentley, and upon Elisha's death in 1784 it was passed to Polly.

Relevância:

40.00% 40.00%

Publicador:

Resumo:

"Aleut-English dictionary, compiled by Richard Henry Geoghegan. A vocabulary of the Aleutian or Unangan language as spoken on the eastern Aleutian Islands and on the Alaska Peninsula, being a translation of the Russian, 'Slovarʹ aleutsko-lisʹevskago yazyka' or 'Dictionary of the Aleut-Fox language', by Ivan Veniaminov, 1834, with additions and annotations by the compiler": p. 89-124.

Relevância:

40.00% 40.00%

Publicador:

Resumo:

Mode of access: Internet.

Relevância:

40.00% 40.00%

Publicador:

Resumo:

Mode of access: Internet.

Relevância:

40.00% 40.00%

Publicador:

Resumo:

Includes "German Handwriting [Schrift]: [10] p. at end.