Proceedings of the Fifth Conference on European Chapter of the Association for Computational Linguistics - 1991
DOI: 10.3115/977180.977232
|View full text |Cite
|
Sign up to set email alerts
|

An extension of earley's algorithm for S-attributed grammars

Abstract: Attribute grammars are an elegant formalization of the augmented context-free grammars characteristic of most current natural language systems. This paper presents an extension of Earley's algorithm to Knuth's attribute grammars, considering the case of S-attributed grammars. For this case, we study the conditions on the underlying base grammar under which the extended algorithm may be guaranteed to terminate. Finite partitioning of attribute domains is proposed to guarantee the termination of the algorithm, w… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
9
0

Year Published

1993
1993
2010
2010

Publication Types

Select...
3
2

Relationship

1
4

Authors

Journals

citations
Cited by 5 publications
(9 citation statements)
references
References 15 publications
0
9
0
Order By: Relevance
“…A transition is enabled along a predicate edge when the predicate in question evaluates to true in the current environment. 3 The edges enclosed in curly braces are assignment edges -traversing the edge from 3 to 1 assigns n−1 to n. Lastly, notice that the final state for this automaton (final states are marked by double-circles) is labelled with the nonterminal int. Final states may, in general, be labelled with many nonterminals -arrival at such a state signals simultaneous completion of multiple nonterminal definitions.…”
Section: Data-dependent Automatamentioning
confidence: 99%
See 1 more Smart Citation
“…A transition is enabled along a predicate edge when the predicate in question evaluates to true in the current environment. 3 The edges enclosed in curly braces are assignment edges -traversing the edge from 3 to 1 assigns n−1 to n. Lastly, notice that the final state for this automaton (final states are marked by double-circles) is labelled with the nonterminal int. Final states may, in general, be labelled with many nonterminals -arrival at such a state signals simultaneous completion of multiple nonterminal definitions.…”
Section: Data-dependent Automatamentioning
confidence: 99%
“…Watt introduced the idea of directed parsing [33], and applied it to the LR fragment of context-free languages. Correa [3] and Tokuda and Watanabe [31] have extended Earley's algorithm to L-attributed grammars, though omitting features such as our environments, regular right sides, and blackboxes; Correa implemented attribute-directed parsing.…”
Section: Related Workmentioning
confidence: 99%
“…The two attribute conditions, in the first and fourth productions, refer to the values of these attributes and could easily be assimilated to synthesized attributes. See [14] for a typical Earley-style derivation according to this grammar.…”
Section: S ----> Np Vpmentioning
confidence: 99%
“…Tomita [39] also presents an efficient parsing algorithm for augmented context-free grammars, based on a generalization of LR parsing techniques. The extension of Correa [ 14] does on-line attribute evaluation, allows for ambiguous and even cyclic bases, and is sufficient for S-and L-attributed grammars. Yellin's [42] technique requires a cycle-free base and allows any (well-defined) attributions, but it handles the attribute evaluation off-line, in up to two phases after syntactic analysis.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation