We introduce Lovelace, a tool for creating corpora of semantic graphs. The system uses graph expansion grammar as a representational language, thus allowing users to craft a grammar that describes a corpus with desired properties. When given such grammar as input, the system generates a set of output graphs that are well-formed according to the grammar, i.e., a graph bank. The generation process can be controlled via a number of configurable parameters that allow the user to, for example, specify a range of desired output graph sizes. Central use cases are the creation of synthetic data to augment existing corpora, and as a pedagogical tool for teaching formal language theory.
Studying the Difference Between Natural and Programming Language Corpora
Department of Computer Science, University of California, Davis(加利福尼亚大学戴维斯分校计算机科学系);Department of Linguistics, University of California, Davis(加利福尼亚大学戴维斯分校语言学系)
A Methodology for Creating Question Answering Corpora Using Inverse Data Annotation
Zurich University of Applied Sciences (ZHAW)(苏黎世应用科学大学(ZHAW));National Distance Education University (UNED)(国立远程教育大学(UNED));University of the Basque Country (UPV/EHU)(巴斯克大学(UPV/EHU))
A New Model of Array Grammar for generating Connected Patterns on an Image Neighborhood
Anurag Group of Institutions(阿努拉格机构集团);JNTU(贾瓦哈拉尔尼赫鲁科技大学)
图像模式的研究是图像特征化和分类的重要环节。因此,有效地分析和描述图像模式的能力是至关重要的。描述图片的句法方法的研究一直是研究者的兴趣所在。数组文法可以用来表示和识别连接模式。在任何图像中,使用连接模式识别模式。即使在一个很小的3 x 3邻域上,也很难以图形的方式表示所有的连通模式(CP)。本文提出了一种能够生成任意简单或复杂模式的数组文法模型,并讨论了利用该文法在图像邻域中导出连通模式的方法。
Lecture Notes on Automata, Languages, and Grammars
这些课堂讲稿旨在作为Moore和Mertens的《计算的本质》的补充,或者作为一个独立的资源,任何想要使用它们的人都可以使用。欢迎评论,如果你在课程中使用这些笔记,请告诉我。有61个练习。我强调,自动机是我们可以探索确定性和非确定性计算问题的基本游乐场。与P vs. NP不同的是,我们可以证明非确定性等价于确定性,或者严格地比确定性更强大,分别在有限状态和下推自动机中。我还纠正了一些历史和美学上的不公正:特别是,Myhill-Nerode定理和从前缀的等价类构建最小DFA的想法被恢复到正则语言的泵引理之上。我还讨论了上下文无关语言的泵引理,并简要讨论计数器自动机,队列自动机,以及明确的上下文无关语言和代数生成函数之间的联系。
Institut de Physique Théorique Philippe Meyer(菲利普·迈耶理论物理研究所);École Normale Supérieure(巴黎高等师范学院);PSL University(巴黎文理研究大学);Sorbonne Universités(索邦大学);CNRS(法国国家科学研究中心)
我们考虑加权上下文无关文法生成的语言。它示出,大文本的行为是由鞍点方程控制的适当的生成函数。然后,我们考虑的语法,特别是随机语言模型E。DeGiuli,Phys. Rev. Lett. 122,128301,2019。该模型是解决在复制对称的anonymous,这是有效的,在高温,无序相。结果表明,在语言承载信息的阶段,复制对称性必然被打破。