Checking Regular Invariance Under Tightly-Controlled String Modifications.

C. Aiswarya, Sahil Mhaskar,M. Praveen

International Conference on Developments in Language Theory (DLT)(2022)

引用 0|浏览0
暂无评分
摘要
We introduce a model for transforming strings, that provides fine control over what modifications are allowed. The model consists of actions, each of which is enabled only when the input string conforms to a predefined template. A template can break the input up into multiple fields, and constrain the contents of each of the fields to be from pre-defined regular languages. The template can also constrain two fields to be duplicates of each other. If the input string conforms to the template, the action can be performed to modify the string. The output consists of the contents of the fields, possibly in a different order, possibly with different numbers of occurrences. Optionally, the action can also apply transductions on the contents of the fields before outputting. For example, the sentence "DLT will be held online ifcovid-19 cases surge." conforms to the template xzw. The output of the action can be defined as xf(z)w, where f is defined by a transducer. If f just capitalises its input, then we can perform this action twice to get the output "DLT will be held ONLINE if COVID-19 cases surge." Notice that, if we did not have the identifiers specified by y, then it will capitalise parts of the input text not intended to be capitalised. We want to check that whenever the input comes from a given regular language, the output of any action also belongs to that language. We call this problem regular invariance checking. We show that this problem is decidable and is PSPACE-complete in general. For some restricted cases where there are no variable repetitions in the source and target templates (or patterns) and the regular language is given by a DFA, we show that this problem is co-NP-complete. We show that even in this restricted case, the problem is W[1]-hard with the length of the pattern as the parameter.
更多
查看译文
关键词
string modifications,regular invariance,checking,tightly-controlled
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要