中文
相关论文

相关论文: Grammars for Free: Toward Grammar Inference for Ad…

200 篇论文

Background: Ad hoc parsers are pieces of code that use common string functions like split, trim, or slice to effectively perform parsing. Whether it is handling command-line arguments, reading configuration files, parsing custom file…

软件工程 · 计算机科学 2023-04-20 Michael Schröder , Marc Goritschnig , Jürgen Cito

A program is characterized by its input model, and a formal input model can be of use in diverse areas including vulnerability analysis, reverse engineering, fuzzing and software testing, clone detection and refactoring. Unfortunately,…

软件工程 · 计算机科学 2019-12-13 Rahul Gopinath , Björn Mathis , Andreas Zeller

We present a system for generating parsers based directly on the metaphor of parsing as deduction. Parsing algorithms can be represented directly as deduction systems, and a single deduction engine can interpret such deduction systems so as…

cmp-lg · 计算机科学 2008-02-03 Stuart M. Shieber , Yves Schabes , Fernando C. N. Pereira

Software systems that process structured inputs often lack complete and up-to-date specifications, which specify the input syntax and the semantics of input processing. While grammar mining techniques have focused on recovering syntactic…

软件工程 · 计算机科学 2025-07-18 Andreas Pointner , Josef Pichler , Herbert Prähofer

Most scripting languages nowadays use regex pattern-matching libraries. These regex libraries borrow the syntax of regular expressions, but have an informal semantics that is different from the semantics of regular expressions, removing the…

形式语言与自动机理论 · 计算机科学 2014-02-17 Sérgio Medeiros , Fabio Mascarenhas , Roberto Ierusalimschy

Grammatic is a tool for grammar definition and manipulation aimed to improve modularity and reuse of grammars and related development artifacts. It is independent from parsing technology and any other details of target system…

编程语言 · 计算机科学 2009-01-19 Andrey Breslav

Formal grammars are extensively used in Computer Science and related fields to study the rules which govern production of a language. The use of these grammars can be extended beyond mere language production. One possibility is to view…

形式语言与自动机理论 · 计算机科学 2017-08-17 Abhinav Aggarwal

In this paper, we present the concept of Approximate grammar and how it can be used to extract information from a documemt. As the structure of informational strings cannot be defined well in a document, we cannot use the conventional…

计算与语言 · 计算机科学 2007-05-23 V. Sriram , B. Ravi Sekar Reddy , R. Sangal

Prefix parsing asks whether an input prefix can be extended to a complete string generated by a given grammar. In the weighted setting, it also provides prefix probabilities, which are central to context-free language modeling,…

计算与语言 · 计算机科学 2026-05-05 Clemente Pasti , Andreas Opedal , Timothy J. O'Donnell , Ryan Cotterell , Tim Vieira

The space and run-time requirements of broad coverage grammars appear for many applications unreasonably large in relation to the relative simplicity of the task at hand. On the other hand, handcrafted development of application-dependent…

cmp-lg · 计算机科学 2007-05-23 Renate Henschel , John A. Bateman

Parsing is a fundamental building block in modern compilers, and for industrial programming languages, it is a surprisingly involved task. There are known approaches to generate parsers automatically, but the prevailing consensus is that…

形式语言与自动机理论 · 计算机科学 2022-09-20 Joe Zimmerman

Ad hoc abbreviations are commonly found in informal communication channels that favor shorter messages. We consider the task of reversing these abbreviations in context to recover normalized, expanded versions of abbreviated messages. The…

计算与语言 · 计算机科学 2021-10-05 Kyle Gorman , Christo Kirov , Brian Roark , Richard Sproat

Existing technology can parse arbitrary context-free grammars, but only a single, static grammar per input. In order to support more powerful syntax-extension systems, we propose reflective grammars, which can modify their own syntax during…

编程语言 · 计算机科学 2011-02-14 Paul Stansifer , Mitchell Wand

We develop a formal grammatical system called a link grammar, show how English grammar can be encoded in such a system, and give algorithms for efficiently parsing with a link grammar. Although the expressive power of link grammars is…

cmp-lg · 计算机科学 2008-02-03 Daniel D. K. Sleator , Davy Temperley

Classic grammars and regular expressions can be used for a variety of purposes, including parsing, intent detection, and matching. However, the comparisons are performed at a structural level, with constituent elements (words or characters)…

计算与语言 · 计算机科学 2018-08-16 David Wingate , William Myers , Nancy Fulda , Tyler Etchart

Recursive calls over recursive data are useful for generating probability distributions, and probabilistic programming allows computations over these distributions to be expressed in a modular and intuitive way. Exact inference is also…

编程语言 · 计算机科学 2023-03-28 David Chiang , Colin McDonald , Chung-chieh Shan

Knowing the precise format of a program's input is a necessary prerequisite for systematic testing. Given a program and a small set of sample inputs, we (1) track the data flow of inputs to aggregate input fragments that share the same data…

编程语言 · 计算机科学 2017-08-30 Matthias Höschele , Alexander Kampmann , Andreas Zeller

For the purposes of tool development, computer languages are usually described using context-free grammars with annotations such as semantic actions or pretty-printing instructions. These descriptions are processed by generators which…

编程语言 · 计算机科学 2010-01-19 Andrey Breslav

We consider, as a means of making programming languages more flexible and powerful, a parsing algorithm in which the parser may freely modify the grammar while parsing. We are particularly interested in a modification of the canonical LR(1)…

编程语言 · 计算机科学 2007-05-23 Blake Hegerle

A natural language (or ordinary language) is a language that is spoken, written, or signed by humans for general-purpose communication, as distinguished from formal languages (such as computer-programming languages or the "languages" used…

计算与语言 · 计算机科学 2009-12-10 Mirzanur Rahman , Sufal Das , Utpal Sharma
‹ 上一页 1 2 3 10 下一页 ›