{"id":15000,"date":"2022-06-16T19:40:20","date_gmt":"2022-06-16T23:40:20","guid":{"rendered":"https:\/\/carleton.ca\/scs\/?page_id=15000"},"modified":"2022-06-16T19:40:20","modified_gmt":"2022-06-16T23:40:20","slug":"tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations","status":"publish","type":"page","link":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/","title":{"rendered":"TR-194: String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations"},"content":{"rendered":"<p>Carleton University<br \/>\n<a href=\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/\">Technical Report<\/a> <strong>TR-194<\/strong><br \/>\nSeptember 1991<\/p>\n<h2 class=\"tr_t1\">String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations<\/h2>\n<div class=\"tr_t3\">B. John Oommen<\/div>\n<div>\n<h3>Abstract<\/h3>\n<p>Let X and Y be any two strings of finite length. The problem of transforming X to Y using the edit operations of substitution, deletion and insertion has been extensively studied in the literature [l, 2, 6-11, 13, 15, 16, 18-21]. The problem can be solved in quadratic time if the edit operations are extended to include the operation of transposition of adjacent characters [24], but is generally reckoned to be NP-Hard if the transposition of arbitrary characters is permitted. In this paper we consider the problem of editing X to Y when the set of edit operations is extended to include the squashing and expansion operations. Whereas in the squashing operation two (or more) contiguous characters of X can be transformed into a single character of Y, in the expansion operation a single character in X may be expanded into two or more contiguous characters of Y. These operations are typically found in the recognition of cursive script. A quadratic time solution to the problem has been presented. We conjecture that this solution is optimal for the infinite alphabet case. The technique to compute the sequence of edit operations is also presented.<\/p>\n<\/div>\n<p><a href=\"https:\/\/carleton.ca\/scs\/wp-content\/uploads\/TR-194.pdf\">TR-194.pdf<\/a><\/p>\n<p><script src=\"moz-extension:\/\/c5a13a0c-07c2-4cc2-a1b8-4c3d783074b0\/js\/app.js\" type=\"text\/javascript\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Carleton University Technical Report TR-194 September 1991 String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations B. John Oommen Abstract Let X and Y be any two strings of finite length. The problem of transforming X to Y using the edit operations of substitution, deletion and insertion has been extensively studied in the literature [&hellip;]<\/p>\n","protected":false},"author":49,"featured_media":0,"parent":11908,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>TR-194: String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations - School of Computer Science<\/title>\n<meta name=\"description\" content=\"Carleton University Technical Report TR-194 September 1991 String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations B.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/\",\"url\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/\",\"name\":\"TR-194: String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations - School of Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/carleton.ca\/scs\/#website\"},\"datePublished\":\"2022-06-16T23:40:20+00:00\",\"dateModified\":\"2022-06-16T23:40:20+00:00\",\"description\":\"Carleton University Technical Report TR-194 September 1991 String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations B.\",\"breadcrumb\":{\"@id\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/carleton.ca\/scs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\/\/carleton.ca\/scs\/research\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SCS Technical Reports\",\"item\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Technical Reports 1991\",\"item\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"TR-194: String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/carleton.ca\/scs\/#website\",\"url\":\"https:\/\/carleton.ca\/scs\/\",\"name\":\"School of Computer Science\",\"description\":\"Carleton University\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/carleton.ca\/scs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TR-194: String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations - School of Computer Science","description":"Carleton University Technical Report TR-194 September 1991 String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations B.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/","url":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/","name":"TR-194: String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations - School of Computer Science","isPartOf":{"@id":"https:\/\/carleton.ca\/scs\/#website"},"datePublished":"2022-06-16T23:40:20+00:00","dateModified":"2022-06-16T23:40:20+00:00","description":"Carleton University Technical Report TR-194 September 1991 String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations B.","breadcrumb":{"@id":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/tr-194-string-editing-with-substitution-insertion-deletion-squashing-and-expansion-operations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/carleton.ca\/scs\/"},{"@type":"ListItem","position":2,"name":"Research","item":"https:\/\/carleton.ca\/scs\/research\/"},{"@type":"ListItem","position":3,"name":"SCS Technical Reports","item":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/"},{"@type":"ListItem","position":4,"name":"Technical Reports 1991","item":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1991\/"},{"@type":"ListItem","position":5,"name":"TR-194: String Editing with Substitution, Insertion, Deletion, Squashing and Expansion Operations"}]},{"@type":"WebSite","@id":"https:\/\/carleton.ca\/scs\/#website","url":"https:\/\/carleton.ca\/scs\/","name":"School of Computer Science","description":"Carleton University","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/carleton.ca\/scs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"acf":{"banner_button":"no","banner_image_type":"none"},"_links":{"self":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages\/15000"}],"collection":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/comments?post=15000"}],"version-history":[{"count":1,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages\/15000\/revisions"}],"predecessor-version":[{"id":15001,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages\/15000\/revisions\/15001"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages\/11908"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/media?parent=15000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}