Abstract
A polynomial time algorithm is presented for string pattern matching. Earley’s parsing algorithm is adapted for context-free patterns and is extended to allow the augmentation of the immediate assignment operation of SNOBOL4 and a powerful descriptive operator not previously implemented, set complement. Canonical pattern definition systems are defined to describe patterns for which our algorithm will perform pattern matching. The languages generated by such systems are called extended context-free languages, and are shown to properly contain the family of context-free languages and all families of k-intersection languages which have been shown to establish an infinite hierarchy between the family of context-free languages and the family of context-sensitive languages. It is also shown that for an alphabet of one character, the immediate assignment operator cannot be expressed in terms of the complement operator. Some results on the closure properties and unsolvable problems for this new family are also sh...
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.