{"title":"String matching with k differences by finite automata","authors":"B. Melichar","doi":"10.1109/ICPR.1996.546828","DOIUrl":null,"url":null,"abstract":"Approximate string matching is a sequential problem and therefore it is possible to solve it using finite automata. A nondeterministic finite automaton is constructed for string matching with k differences. It is shown, how dynamic programming and \"shift-and\" based algorithms simulate this nondeterministic finite automaton. The corresponding deterministic finite automaton have O((k+2)/sup m-k/*(k+1)!) states, where m is the length of the pattern and k is the number of differences. The time complexity of algorithms based on such deterministic finite automaton is O(n), where n is the length of text.","PeriodicalId":290297,"journal":{"name":"Proceedings of 13th International Conference on Pattern Recognition","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1996-08-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"20","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of 13th International Conference on Pattern Recognition","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICPR.1996.546828","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 20
Abstract
Approximate string matching is a sequential problem and therefore it is possible to solve it using finite automata. A nondeterministic finite automaton is constructed for string matching with k differences. It is shown, how dynamic programming and "shift-and" based algorithms simulate this nondeterministic finite automaton. The corresponding deterministic finite automaton have O((k+2)/sup m-k/*(k+1)!) states, where m is the length of the pattern and k is the number of differences. The time complexity of algorithms based on such deterministic finite automaton is O(n), where n is the length of text.