arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv cmp-lg/9504032cmp-lgcs.CL
收藏

Replace运算符

The Replace Operator

Lauri Karttunen, Rank Xerox Research Centre

摘要:

本文在正则表达式演算中引入了一个替换运算符->,并定义了一组替换表达式,这些表达式简洁地编码了该运算的几个交替变体。基本情况是无条件强制替换:UPPER -> LOWER替换的条件版本,例如,UPPER -> LOWER|| LEFT _ RIGHT通过左右上下文约束操作。UPPER、LOWER、LEFT和RIGHT可以是任何复杂度的正则表达式。替换表达式表示正则关系。替换运算符是使用Ronald M. Kaplan和Martin Kay在“Regular Models of Phonological Rule Systems”(Computational Linguistics 20:3 331-378)中。1994年)。

英文摘要:

This paper introduces to the calculus of regular expressions a replace operator, ->, and defines a set of replacement expressions that concisely encode several alternate variations of the operation. The basic case is unconditional obligatory replacement: UPPER -> LOWER Conditional versions of replacement, such as, UPPER -> LOWER || LEFT _ RIGHT constrain the operation by left and right contexts. UPPER, LOWER, LEFT, and RIGHT may be regular expressions of any complexity. Replace expressions denote regular relations. The replace operator is defined in terms of other regular expression operators using techniques introduced by Ronald M. Kaplan and Martin Kay in "Regular Models of Phonological Rule Systems" (Computational Linguistics 20:3 331-378. 1994).

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

↑