Embedded pushdown automaton

An embedded pushdown automaton or EPDA is a computational model for parsing languages generated by tree-adjoining grammars (TAGs). It is similar to the context-free grammar-parsing pushdown automaton, but instead of using a plain stack to store symbols, it has a stack of iterated stacks that store symbols, giving TAGs a generative capacity between context-free and context-sensitive grammars, or a subset of mildly context-sensitive grammars. Embedded pushdown automata should not be confused with nested stack automata which have more computational power.[citation needed]

History and applications

EPDAs were first described by K. Vijay-Shanker in his 1988 doctoral thesis.[1] They have since been applied to more complete descriptions of classes of mildly context-sensitive grammars and have had important roles in refining the Chomsky hierarchy. Various subgrammars, such as the linear indexed grammar, can thus be defined.[2]

While natural languages have traditionally been analyzed using context-free grammars (see transformational-generative grammar and computational linguistics), this model does not work well for languages with crossed dependencies, such as Dutch, situations for which an EPDA is well suited. A detailed linguistic analysis is available in Joshi, Schabes (1997).[3]

Theory

An EPDA is a finite state machine with a set of stacks that can be themselves accessed through the embedded stack. Each stack contains elements of the stack alphabet , and so we define an element of a stack by , where the star is the Kleene closure of the alphabet.

Each stack can then be defined in terms of its elements, so we denote the th stack in the automaton using a double-dagger symbol: ,[clarification needed] where would be the next accessible symbol in the stack. The embedded stack of stacks can thus be denoted by .[clarification needed]

We define an EPDA by the septuple (7-tuple)

where
  • is a finite set of states;
  • is the finite set of the input alphabet;
  • is the finite stack alphabet;
  • is the start state;
  • is the set of final states;
  • is the initial stack symbol
  • is the transition function, where are finite subsets of .

Thus the transition function takes a state, the next symbol of the input string, and the top symbol of the current stack and generates the next state, the stacks to be pushed and popped onto the embedded stack, the pushing and popping of the current stack, and the stacks to be considered the current stacks in the next transition. More conceptually, the embedded stack is pushed and popped, the current stack is optionally pushed back onto the embedded stack, and any other stacks one would like are pushed on top of that, with the last stack being the one read from in the next iteration. Therefore, stacks can be pushed both above and below the current stack.

A given configuration is defined by

where is the current state, the s are the stacks in the embedded stack, with the current stack, and for an input string , is the portion of the string already processed by the machine and is the portion to be processed, with its head being the current symbol read. Note that the empty string is implicitly defined as a terminating symbol, where if the machine is at a final state when the empty string is read, the entire input string is accepted, and if not it is rejected. Such accepted strings are elements of the language

where and defines the transition function applied over as many times as necessary to parse the string.

An informal description of EPDA can also be found in Joshi, Schabes (1997),[3] Sect.7, p. 23-25.

k-order EPDA and the Weir hierarchy

A more precisely defined hierarchy of languages that correspond to the mildly context-sensitive class was defined by David J. Weir.[4] Based on the work of Nabil A. Khabbaz,[5][6] Weir's Control Language Hierarchy is a containment hierarchy of countable set of language classes[clarify] where the Level-1 is defined as context-free, and Level-2 is the class of tree-adjoining and the other three grammars.

Following are some of the properties of Level-k languages in the hierarchy:

  • Level-k languages are properly contained in the Level-(k + 1) language class
  • Level-k languages can be parsed in time
  • Level-k contains the language , but not
  • Level-k contains the language , but not

Those properties correspond well (at least for small k > 1) to the conditions of mildly context-sensitive languages imposed by Joshi, and as k gets bigger, the language class becomes, in a sense, less mildly context-sensitive.

See also

References

  1. ^ Vijay-Shanker, K. (January 1988). "A Study of Tree-Adjoining Grammars". Ph.D. Thesis. University of Pennsylvania.
  2. ^ Weir, David J. (1994). "Linear Iterated Pushdowns" (PDF). Computational Intelligence. 10 (4): 431–439. doi:10.1111/j.1467-8640.1994.tb00007.x. S2CID 205570628. Retrieved 2012-10-20.
  3. ^ a b Joshi, Aravind K.; Yves Schabes (1997). "Tree-Adjoining Grammars" (PDF). Handbook of Formal Languages. Vol. 3. Springer. pp. 69–124. doi:10.1007/978-3-642-59126-6_2. ISBN 978-3-642-63859-6. Retrieved 2014-02-07.
  4. ^ Weir, D. J. (1992), "A geometric hierarchy beyond context-free languages", Theoretical Computer Science, 104 (2): 235–261, doi:10.1016/0304-3975(92)90124-X.
  5. ^ Nabil Anton Khabbaz (1972). Generalized context-free languages (Ph.D.). University of Iowa.
  6. ^ Nabil Anton Khabbaz (1974). "A geometric hierarchy of languages". J. Comput. Syst. Sci. 8 (2): 142–157. doi:10.1016/s0022-0000(74)80052-8.

Further reading

  • Laura Kallmeyer (2010). Parsing Beyond Context-Free Grammars. Springer Science & Business Media. ISBN 978-3-642-14846-0.

Read other articles:

Kementerian Perdagangan, Industri, dan Energi Republik Korea산업통상자원부産業通商資源部Saneop Tongsang JawonbuInformasi lembagaDibentuk29 Februari 2008 (Kementerian Perdagangan, 1948)Nomenklatur sebelumnyaKementerian PerdaganganKementerian Pengetahuan EkonomiKementerian Luar Negeri dan Perdagangan (hanya urusan perdagangan)Wilayah hukumPemerintah Korea SelatanKantor pusatKota Sejong, Korea SelatanPegawai32.902MenteriBaek Woon-kyu, Menteri Perdagangan, Industri, dan EnergiLee In...

 

← 2015Parlamentswahl in Finnland 20192023 → Endergebnis (in %)[1]  %20100 17,717,517,013,811,58,24,53,92,33,6 SDPPSKOKKESKVIHRVASRKPKDLIIKSonst. Gewinne und Verluste im Vergleich zu 2015  %p   4   2   0  -2  -4  -6  -8 +1,2 −0,2−1,2−7,3+3,0+1,1−0,4+0,4+2,3+1,1 SDPPSKOKKESKVIHRVASRKPKDLIIKSonst. Sitzverteilung nach der Parlamentswahl 2019       &...

 

Brunei Kapitän letzte Teilnahme 2008 Aktuelles ITF-Ranking letzte Teilnahme 2008 Statistik Erste Teilnahme 1994 Davis-Cup-Teilnahmen 13 davon in Weltgruppe 0 Bestes Ergebnis 9. in Asien/Ozeanien Zone Gruppe III (1994) Ewige Bilanz 5:58 Erfolgreichste Spieler Meiste Siege gesamt Ismasufian Ibrahim (13) Meiste Einzelsiege Ismasufian Ibrahim (6) Meiste Doppelsiege Ismasufian Ibrahim (7) Bestes Doppel Pheng-Chai Chua /Ismasufian Ibrahim (2) Meiste Teilnahmen Ismasufian Ibrahim (35) Meiste Jahre ...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (مايو 2019) جاك فرينش   معلومات شخصية الميلاد 15 يوليو 1914  الوفاة 4 سبتمبر 1942 (28 سنة)   مواطنة أستراليا  الحياة العملية المهنة عسكري  الخدمة العسكرية الفرع القوة...

 

Bilateral relationsIranian–Palestinian relations Iran Palestine Diplomatic missionEmbassy of Iran, AmmanEmbassy of the State of Palestine, TehranEnvoyTBDAmbassador Salam al-Zawawi [wikidata] The Islamic Republic of Iran officially recognises Palestine as a state. Ali Khamenei, the Supreme Leader of Iran, rejects a two-state solution and implies that Palestine is inseparable, while Iran's former President Mahmoud Ahmadinejad called for a free referendum for the entire Palestinia...

 

Año 1987Años 1984 • 1985 • 1986 ← 1987 → 1988 • 1989 • 1990Decenios Años 1950 • Años 1960 • Años 1970 ← Años 1980 → Años 1990 • Años 2000 • Años 2010Siglos Siglo XIX ← Siglo XX → Siglo XXITabla anual del siglo XX Ir al año actualArtes Música • Cine • TelevisiónCategorías Categoría principalNacimientos • Fallecimientos • Por país • Álbumes • Libros • Películas • Sencillos 1987 en otros calendariosCalendario gregor...

Bài viết này cần thêm liên kết tới các bài bách khoa khác để trở thành một phần của bách khoa toàn thư trực tuyến Wikipedia. Xin hãy giúp cải thiện bài viết này bằng cách thêm các liên kết có liên quan đến ngữ cảnh trong văn bản hiện tại. (tháng 7 năm 2018) Bài viết này là một bài mồ côi vì không có bài viết khác liên kết đến nó. Vui lòng tạo liên kết đến bài này từ các bài viết li...

 

Roman Catholic religious congregation headquartered in La Crosse, Wisconsin Franciscan Sisters of Perpetual AdorationFormation1849; 174 years ago (1849)TypeReligious instituteHeadquartersLa Crosse, WisconsinPresidentSister Linda MershonWebsitefspa.orgThe Franciscan Sisters of Perpetual Adoration (FSPA) is a Roman Catholic religious congregation for women whose motherhouse, St. Rose of Viterbo Convent, is in La Crosse, Wisconsin, in the Diocese of La Crosse. The Franciscan Si...

 

American reality TV series Basketball WivesGenreRealityCreated byTom HuffmanStarring Royce Reed Suzie Ketcham Gloria Govan Jennifer Williams Evelyn Lozada Shaunie O'Neal Tami Roman Meeka Claxton Malaysia Pargo Jackie Christie Kesha Nichols Kenya Bell Brooke Bailey Tasha Marbury Brandi Maxiell Brittish Williams Angel Brinks LaTosha Duffey Country of originUnited StatesOriginal languageEnglishNo. of seasons11No. of episodes154 (list of episodes)ProductionExecutive producers Shaunie O'Neal Steve...

Aeropuerto de Perpiñán-Rivesaltes Aeroport de Perpignan-Rivasaltes IATA: PGF OACI: LFMP FAA: LocalizaciónUbicación Perpiñán, FranciaElevación 44Sirve a PerpiñánDetalles del aeropuertoTipo PúblicoPistas DirecciónLargoSuperficie13/311.265Asfalto15/332.500AsfaltoSitio web https://www.aeroport-perpignan.com/[editar datos en Wikidata] El Aeropuerto de Perpiñán-Rivesaltes, situado en el sur de Francia, es un aeropuerto internacional local. Se llamaba antes La Llabanera, y a v...

 

2022 particle physics experiment at the Large Hadron Collider at CERN Large Hadron Collider(LHC)Plan of the LHC experiments and the preaccelerators.LHC experimentsATLASA Toroidal LHC ApparatusCMSCompact Muon SolenoidLHCbLHC-beautyALICEA Large Ion Collider ExperimentTOTEMTotal Cross Section, Elastic Scattering and Diffraction DissociationLHCfLHC-forwardMoEDALMonopole and Exotics Detector At the LHCFASERForwArd Search ExpeRimentSNDScattering and Neutrino DetectorLHC preacceleratorsp and PbLinea...

 

Campeonato Brasileiro de Futebol Americano de 2015 Dados Participantes 32 Organização CBFA LINEFA Período 11 de abril - 13 de dezembro ◄◄2014 2016►► O Campeonato Brasileiro de Futebol Americano de 2015 foi um dos campeonatos nacionais de futebol americano do Brasil. O outro torneio foi o Torneio Touchdown. O campeonato foi organizado pela Confederação Brasileira de Futebol Americano (CBFA) e pela Liga Nordestina de Futebol Americano (LINEFA). A competição contou com 32 equipes ...

Untuk kegunaan lain, lihat Pulau mengambang (disambiguasi). Pulau Uros di Danau Titicaca Pulau mengambang adalah sebuah massa tumbuhan akuatik, lumpur dan gambut mengambang yang memiliki ketebalan dari beberapa sentimeter sampai beberapa meter. Pulau mengambang adalah fenomena alam umum yang ditemukan di banyak belahan dunia. Pulau tersebut terkadang juga merupakan sebuah fenomena buatan. Pulau mengambang umum ditemukan di paya, danau dan tempat lahan basah serupa, dan dapat memiliki luas beb...

 

Sia discographySia performing at Boston Calling 2016Studio albums9Live albums7Compilation albums1Video albums1Music videos45Singles68 Australian singer-songwriter Sia has released nine studio albums, six live albums, 67 singles (including 22 as a featured artist), and 42 music videos. In 1997, she released her debut studio album entitled OnlySee. It was commercially unsuccessful, and none of its songs were released as a single. Sia released her second album, Healing Is Difficult, in 2001.[...

 

Madrid Metro station Núñez de BalboaMadrid Metro stationLine 5 platform, Núñez de BalboaGeneral informationLocationSalamanca, MadridSpainCoordinates40°25′58″N 3°40′57″W / 40.4327842°N 3.6825787°W / 40.4327842; -3.6825787Owned byCRTMOperated byCRTMConstructionAccessibleNoOther informationFare zoneAHistoryOpened26 February 1970; 53 years ago (1970-02-26)Services Preceding station Madrid Metro Following station Diego de Leóntowards Alame...

The topic of this article may not meet Wikipedia's notability guideline for geographic features. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.Find sources: JW Marriott Surabaya – news · newspapers · books · scholar ...

 

BBC television news programme for the South East of England BBC South East TodayTitle card used since April 2022ProductionProducersBBC NewsBBC South EastProduction locationsGreat Hall Studios, Royal Tunbridge WellsRunning time30 minutes (main 6:30pm programme)10 minutes (1:30pm and 10:30pm programmes)Various (during weekends and Breakfast)Original releaseNetworkBBC One South EastRelease3 September 2001 (2001-09-03) –presentRelatedBBC South TodayITV News MeridianITV News London BBC...

 

Hospital in Derbyshire, EnglandShire Hill HospitalTameside and Glossop Integrated Care NHS Foundation TrustShire Hill HospitalLocation in the Borough of High PeakGeographyLocationBute Street, Glossop, Derbyshire, EnglandCoordinates53°27′13″N 1°56′18″W / 53.4537°N 1.9383°W / 53.4537; -1.9383OrganisationCare systemNHSTypeCommunityHistoryOpened1837Closed2018LinksWebsitehttps://www.tamesidehospital.nhs.uk/ Shire Hill Hospital was a healthcare facility in Bute S...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يوليو 2015) تقنية الكسر فن الكسر هي تقنية في فنون القتال الذي يستخدم في المنافسة، استعراضات واختبار فن الكسر هو حركة ذات تقنية أو فن قتالي يستخدم سطح الضربة لكسر مادة أو ...

 

Men's 200 metres at the 2019 World Championships200m men finalVenueKhalifa International StadiumDates29 September (heats)30 September (semi-finals)1 October (final)Competitors52 from 37 nationsWinning time19.83Medalists  Noah Lyles   United States Andre De Grasse   Canada Álex Quiñónez   Ecuador← 20172022 → Video on YouTubeOfficial Video Events at the2019 World ChampionshipsTrack events100 mmenwomen...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!