A New Normal-Form Theorem for Context-Free Phrase Structure Grammars
Journal of the ACM (JACM)
Formal languages and their relation to automata
Formal languages and their relation to automata
Ambiguity in Graphs and Expressions
IEEE Transactions on Computers
Hi-index | 0.00 |
Productions of a context-free grammar can be given coefficients from semirings, inducing weights for both derivations in the grammar and strings over the terminal alphabet. For a weighted context-free grammar in Greibach normal form, the weight of any string, as well as the set of derivations of the string, may be determined from the image under a homomorphism which maps each terminal symbol to a polynomial. The definition of the homomorphism is a straightforward function of the productions. Some examples of interesting semiring structures are included.