arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.01829cs.FL
收藏

基于字母不变和用户自定义标签的正则表达式和转换器

Regular Expressions and Transducers over Alphabet-invariant and User-defined Labels

Stavros Konstantinidis, Nelma Moreira, Rogerio Reis, Joshua Young

摘要:

我们感兴趣的是正则表达式和转换器,它们以字母不变的方式表示单词关系-例如,所有单词对u,v的集合,其中v是u的前缀,与字母表无关。当前的形式语言对象的软件系统不具有定义这种对象的机制。我们定义转换器中的过渡标签涉及我们所谓的集规范,其中一些是字母不变的。事实上,我们给出了自动机类型对象的更广泛的定义,称为标记图,其中每个转换标签可以是任何字符串,只要该字符串表示某个幺半群的子集。然后,标记图的行为是该幺半群的子集。我们对正则表达式做同样的事情。我们获得了一些经典的算法构造普通正则表达式和换能器在广泛的水平上的标记图的扩展,并以这样的方式,扩展的结构的计算效率不牺牲。对于具有集合规范的正则表达式,我们得到了相应的偏导数自动机。对于设置规格的换能器,我们得到进一步的算法,可以应用于独立的正则语言的问题,特别是证人版本的独立属性满意度问题。

英文摘要:

We are interested in regular expressions and transducers that represent word relations in an alphabet-invariant way---for example, the set of all word pairs u,v where v is a prefix of u independently of what the alphabet is. Current software systems of formal language objects do not have a mechanism to define such objects. We define transducers in which transition labels involve what we call set specifications, some of which are alphabet invariant. In fact, we give a more broad definition of automata-type objects, called labelled graphs, where each transition label can be any string, as long as that string represents a subset of a certain monoid. Then, the behaviour of the labelled graph is a subset of that monoid. We do the same for regular expressions. We obtain extensions of a few classic algorithmic constructions on ordinary regular expressions and transducers at the broad level of labelled graphs and in such a way that the computational efficiency of the extended constructions is not sacrificed. For regular expressions with set specs we obtain the corresponding partial derivative automata. For transducers with set specs we obtain further algorithms that can be applied to questions about independent regular languages, in particular the witness version of the independent property satisfaction question.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑