An ambiguity hierarchy of weighted context-free grammars

Weighted context-free grammar (WCFG) is a quantitative extension of context-free grammar (CFG). It is known that unambiguous weighted automata (WA), finitely-ambiguous WA, polynomially-ambiguous WA and general WA over the tropical semiring have different expressive powers. We prove that there exists...

Full description

Saved in:
Bibliographic Details
Published inTheoretical computer science Vol. 974; p. 114112
Main Authors Inoue, Yusuke, Hashimoto, Kenji, Seki, Hiroyuki
Format Journal Article
LanguageEnglish
Published Elsevier B.V 29.09.2023
Subjects
Online AccessGet full text

Cover

Loading…
Abstract Weighted context-free grammar (WCFG) is a quantitative extension of context-free grammar (CFG). It is known that unambiguous weighted automata (WA), finitely-ambiguous WA, polynomially-ambiguous WA and general WA over the tropical semiring have different expressive powers. We prove that there exists a similar ambiguity hierarchy of WCFG over the tropical semiring, using an extended Ogden's lemma. In addition, we prove that each of the classes of finitely-ambiguous, polynomially-ambiguous, and exponentially-ambiguous WCFG can be subdivided into a finer strict hierarchy. We further show that the hierarchy we proved is different from the known ambiguity hierarchy of unweighted CFG. •We proved that four subclasses of WCFGs over the tropical semiring have different expressive powers.•We proved that each of the classes mentioned in item 1 can be subdivided into a finer strict hierarchy.•We showed a pumping lemma for CFG, an extension of Ogden’s lemma. The lemma is helpful for proving the hierarchies.•We showed that the hierarchies mentioned above are different from the known ambiguity hierarchies of unweighted CFG.
AbstractList Weighted context-free grammar (WCFG) is a quantitative extension of context-free grammar (CFG). It is known that unambiguous weighted automata (WA), finitely-ambiguous WA, polynomially-ambiguous WA and general WA over the tropical semiring have different expressive powers. We prove that there exists a similar ambiguity hierarchy of WCFG over the tropical semiring, using an extended Ogden's lemma. In addition, we prove that each of the classes of finitely-ambiguous, polynomially-ambiguous, and exponentially-ambiguous WCFG can be subdivided into a finer strict hierarchy. We further show that the hierarchy we proved is different from the known ambiguity hierarchy of unweighted CFG. •We proved that four subclasses of WCFGs over the tropical semiring have different expressive powers.•We proved that each of the classes mentioned in item 1 can be subdivided into a finer strict hierarchy.•We showed a pumping lemma for CFG, an extension of Ogden’s lemma. The lemma is helpful for proving the hierarchies.•We showed that the hierarchies mentioned above are different from the known ambiguity hierarchies of unweighted CFG.
ArticleNumber 114112
Author Seki, Hiroyuki
Hashimoto, Kenji
Inoue, Yusuke
Author_xml – sequence: 1
  givenname: Yusuke
  surname: Inoue
  fullname: Inoue, Yusuke
  email: y-inoue@sqlab.jp
– sequence: 2
  givenname: Kenji
  surname: Hashimoto
  fullname: Hashimoto, Kenji
  email: k-hasimt@i.nagoya-u.ac.jp
– sequence: 3
  givenname: Hiroyuki
  surname: Seki
  fullname: Seki, Hiroyuki
  email: seki@sqlab.jp
BookMark eNp9kMtqwzAQRbVIoUnaD-jOP2B3xrLlmK5C6AsC3WQvZHlsyyR2kdSH_74y6SqLzGZg4Az33BVbDONAjD0gJAgoHvvEa5ekkPIEMUNMF2wJHLKYl0V-y1bO9RAmL8SSbbZDpE6Vab-Mn6LOkFVWd1M0NtEPmbbzVEd6HDz9-rixRFFr1emkrLtjN406Orr_32t2eHk-7N7i_cfr-267j3UGwseZqEQFAqEUecUBOW9ELqoKUM1XRK4ozwWlG67qghcooBYbBKCsLonzNSvOb7UdnbPUSG288iZEssocJYKcnWUvg7OcneXZOZB4QX5aE5JPV5mnM0PB6DuUIZ02NGiqjSXtZT2aK_Qf4ARxeQ
CitedBy_id crossref_primary_10_1016_j_tcs_2024_114725
crossref_primary_10_1016_j_ic_2024_105213
Cites_doi 10.1016/j.tcs.2016.05.030
10.1016/0885-2308(91)90009-F
10.1016/0885-2308(90)90022-X
10.1007/BF01694004
ContentType Journal Article
Copyright 2023 The Author(s)
Copyright_xml – notice: 2023 The Author(s)
DBID 6I.
AAFTH
AAYXX
CITATION
DOI 10.1016/j.tcs.2023.114112
DatabaseName ScienceDirect Open Access Titles
Elsevier:ScienceDirect:Open Access
CrossRef
DatabaseTitle CrossRef
DatabaseTitleList
DeliveryMethod fulltext_linktorsrc
Discipline Mathematics
Computer Science
ExternalDocumentID 10_1016_j_tcs_2023_114112
S0304397523004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 EDT 2025
Tue Dec 03 03:44:53 EST 2024
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed true
IsScholarly true
Keywords Weighted context-free grammar
Pumping lemma
Ambiguity
Language English
License This is an open access article under the CC BY license.
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-c406t-46b6b0610965b30133f656bb01a0610113ae556e283ad737160d68100e4d9e33
OpenAccessLink https://www.sciencedirect.com/science/article/pii/S0304397523004255
ParticipantIDs crossref_citationtrail_10_1016_j_tcs_2023_114112
crossref_primary_10_1016_j_tcs_2023_114112
elsevier_sciencedirect_doi_10_1016_j_tcs_2023_114112
ProviderPackageCode CITATION
AAYXX
PublicationCentury 2000
PublicationDate 2023-09-29
PublicationDateYYYYMMDD 2023-09-29
PublicationDate_xml – month: 09
  year: 2023
  text: 2023-09-29
  day: 29
PublicationDecade 2020
PublicationTitle Theoretical computer science
PublicationYear 2023
Publisher Elsevier B.V
Publisher_xml – name: Elsevier B.V
References Inoue, Hashimoto, Seki (br0060) 2022
Wich (br0130) 1999
Droste, Kuich, Vogler (br0030) 2009
Chattopadhyay, Mazowiecki, Muscholl, Riveros (br0010) 2020
Mazowiecki, Riveros (br0110) 2018
Hopcroft, Ullman (br0050) 1979
Chomsky, Schützenberger (br0020) 1959; vol. 26
Lari, Young (br0070) 1990; 4
Maletti, Nasz, Stier, Ulbriht (br0100) 2021
Durbin, Eddy, Krogh, Mitchison (br0040) 1998
Lari, Young (br0080) 1991; 5
Maletti (br0090) 2017; 679
Ogden (br0120) 1968; 2
Maletti (10.1016/j.tcs.2023.114112_br0090) 2017; 679
Chomsky (10.1016/j.tcs.2023.114112_br0020) 1959; vol. 26
Hopcroft (10.1016/j.tcs.2023.114112_br0050) 1979
Wich (10.1016/j.tcs.2023.114112_br0130) 1999
Mazowiecki (10.1016/j.tcs.2023.114112_br0110) 2018
Maletti (10.1016/j.tcs.2023.114112_br0100) 2021
Ogden (10.1016/j.tcs.2023.114112_br0120) 1968; 2
Durbin (10.1016/j.tcs.2023.114112_br0040) 1998
Chattopadhyay (10.1016/j.tcs.2023.114112_br0010)
Droste (10.1016/j.tcs.2023.114112_br0030) 2009
Lari (10.1016/j.tcs.2023.114112_br0070) 1990; 4
Inoue (10.1016/j.tcs.2023.114112_br0060) 2022
Lari (10.1016/j.tcs.2023.114112_br0080) 1991; 5
References_xml – start-page: 125
  year: 1999
  end-page: 138
  ident: br0130
  article-title: Exponential ambiguity of context-free grammars
  publication-title: 4th International Conference on Developments in Language Theory
– volume: 5
  start-page: 237
  year: 1991
  end-page: 257
  ident: br0080
  article-title: Applications of stochastic context-free grammars using the inside-outside algorithm
  publication-title: Comput. Speech Lang.
– volume: 2
  start-page: 191
  year: 1968
  end-page: 194
  ident: br0120
  article-title: A helpful result for proving inherent ambiguity
  publication-title: Math. Syst. Theory
– year: 1998
  ident: br0040
  article-title: Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids
– start-page: 50:1
  year: 2018
  end-page: 50:14
  ident: br0110
  article-title: Pumping lemmas for weighted automata
  publication-title: 35th International Symposium on Theoretical Aspects of Computer Science
– volume: vol. 26
  start-page: 118
  year: 1959
  end-page: 161
  ident: br0020
  article-title: The Algebraic Theory of Context-free Languages
  publication-title: Studies in Logic and the Foundations of Mathematics
– year: 1979
  ident: br0050
  article-title: Introduction to Automata Theory, Languages, and Computation
– volume: 679
  start-page: 2
  year: 2017
  end-page: 17
  ident: br0090
  article-title: Survey: finite-state technology in natural language processing
  publication-title: Theor. Comput. Sci.
– year: 2020
  ident: br0010
  article-title: Pumping lemmas for weighted automata
– start-page: 238
  year: 2022
  end-page: 250
  ident: br0060
  article-title: An ambiguity hierarchy of weighted context-free grammars
  publication-title: 26th International Conference on Implementation and Application of Automata
– start-page: 140
  year: 2021
  end-page: 151
  ident: br0100
  article-title: Ambiguity hierarchies for weighted tree automata
  publication-title: 25th International Conference on Implementation and Application of Automata
– year: 2009
  ident: br0030
  article-title: Handbook of Weighted Automata
– volume: 4
  start-page: 35
  year: 1990
  end-page: 56
  ident: br0070
  article-title: The estimation of stochastic context-free grammars using the inside-outside algorithm
  publication-title: Comput. Speech Lang.
– volume: vol. 26
  start-page: 118
  year: 1959
  ident: 10.1016/j.tcs.2023.114112_br0020
  article-title: The Algebraic Theory of Context-free Languages
– start-page: 140
  year: 2021
  ident: 10.1016/j.tcs.2023.114112_br0100
  article-title: Ambiguity hierarchies for weighted tree automata
– volume: 679
  start-page: 2
  year: 2017
  ident: 10.1016/j.tcs.2023.114112_br0090
  article-title: Survey: finite-state technology in natural language processing
  publication-title: Theor. Comput. Sci.
  doi: 10.1016/j.tcs.2016.05.030
– year: 1979
  ident: 10.1016/j.tcs.2023.114112_br0050
– ident: 10.1016/j.tcs.2023.114112_br0010
– start-page: 238
  year: 2022
  ident: 10.1016/j.tcs.2023.114112_br0060
  article-title: An ambiguity hierarchy of weighted context-free grammars
– volume: 5
  start-page: 237
  issue: 3
  year: 1991
  ident: 10.1016/j.tcs.2023.114112_br0080
  article-title: Applications of stochastic context-free grammars using the inside-outside algorithm
  publication-title: Comput. Speech Lang.
  doi: 10.1016/0885-2308(91)90009-F
– start-page: 125
  year: 1999
  ident: 10.1016/j.tcs.2023.114112_br0130
  article-title: Exponential ambiguity of context-free grammars
– year: 1998
  ident: 10.1016/j.tcs.2023.114112_br0040
– volume: 4
  start-page: 35
  issue: 1
  year: 1990
  ident: 10.1016/j.tcs.2023.114112_br0070
  article-title: The estimation of stochastic context-free grammars using the inside-outside algorithm
  publication-title: Comput. Speech Lang.
  doi: 10.1016/0885-2308(90)90022-X
– year: 2009
  ident: 10.1016/j.tcs.2023.114112_br0030
– start-page: 50:1
  year: 2018
  ident: 10.1016/j.tcs.2023.114112_br0110
  article-title: Pumping lemmas for weighted automata
– volume: 2
  start-page: 191
  issue: 3
  year: 1968
  ident: 10.1016/j.tcs.2023.114112_br0120
  article-title: A helpful result for proving inherent ambiguity
  publication-title: Math. Syst. Theory
  doi: 10.1007/BF01694004
SSID ssj0000576
Score 2.4037948
Snippet Weighted context-free grammar (WCFG) is a quantitative extension of context-free grammar (CFG). It is known that unambiguous weighted automata (WA),...
SourceID crossref
elsevier
SourceType Enrichment Source
Index Database
Publisher
StartPage 114112
SubjectTerms Ambiguity
Pumping lemma
Weighted context-free grammar
Title An ambiguity hierarchy of weighted context-free grammars
URI https://dx.doi.org/10.1016/j.tcs.2023.114112
Volume 974
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV07T8MwED5VZYGBRwFRHpUHJqTQOHbSdKwqqgJqF4rULbJjGxXRtCqpEAu_HV_i8JCAgTGWLVmX8z18n78DONeGdg2nwjNCMZugsNSLU0E9EctIUaqZSrGiOxpHw3t-Mw2nNehXb2EQVulsf2nTC2vtRtpOmu3lbNa-w6Ke9aZ4rYmahw_NOe-gll--fcI8bDxS1iuxAmBnV5XNAuOVp8jYHTBkzKU0-Nk3ffE3g13YdoEi6ZV72YOazhqwUzVhIO5MNmBr9EG8-rwPcS8jYi5nD2sbXRPsc42K_EoWhrwUl6BaEUSnY75rVloTBGfNbXJ7AJPB1aQ_9FxzBC-1Pjj3eCQj6SNZehRKe0oZMzY0k9KnAkcpZUKHYaRt-CBUh9m0yFfIPeZrrrqasUOoZ4tMHwGJTcxDYVNkwzsoQGlYbEzoSx4FMmWqCX4llSR1xOHYv-IpqRBij4kVZIKCTEpBNuHiY8myZM34azKvRJ18-_WJteq_Lzv-37IT2MQvhHwE3VOo56u1PrNxRS5bheK0YKN3fTscvwPnjMnc
linkProvider Elsevier
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV07T8MwED6VdgAGHgVEeXpgQooax3aSjlVFldLHQpG6RXZioyL6UGmF-Pf4mqSABAysTk6Kvpzv4Tt_B3CjDW0YTqVjZMpsgsISJ0wkdWSo_JRSzdIEK7r9gR898vuRGJWgVdyFwbbK3PZnNn1trfOVeo5mfT4e1x-wqGe9KR5rouaJLaggO5UoQ6XZ6UaDT4MsgqxkiUUAK1AUN9dtXssESbs9hqS5lHo_u6cvLqd9AHt5rEia2eccQklPq7BfzGEg-baswm5_w736egRhc0rkRI2fVjbAJjjqGnX5ncwMeVufg-qUYIM6prxmoTXB_qyJzW-PYdi-G7YiJ5-P4CTWDS8d7itfuciX7gtlNypjxkZnSrlU4iqlTGohfG0jCJkGzGZGbor0Y67maUMzdgLl6WyqT4GEJuRC2izZ8IDzwFeGhcYIV3HfUwlLa-AWqMRJzh2OIyxe4qJJ7Dm2QMYIZJwBWYPbjcg8I87462VeQB1_-_uxNey_i539T-watqNhvxf3OoPuOezgE-wA8RoXUF4uVvrShhlLdZWr0QfugcyN
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=An+ambiguity+hierarchy+of+weighted+context-free+grammars&rft.jtitle=Theoretical+computer+science&rft.au=Inoue%2C+Yusuke&rft.au=Hashimoto%2C+Kenji&rft.au=Seki%2C+Hiroyuki&rft.date=2023-09-29&rft.issn=0304-3975&rft.volume=974&rft.spage=114112&rft_id=info:doi/10.1016%2Fj.tcs.2023.114112&rft.externalDBID=n%2Fa&rft.externalDocID=10_1016_j_tcs_2023_114112
thumbnail_l http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=0304-3975&client=summon
thumbnail_m http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=0304-3975&client=summon
thumbnail_s http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=0304-3975&client=summon