Skip to main content

Showing 1–9 of 9 results for author: Drewes, F

  1. arXiv:2404.15052  [pdf, other

    cs.FL

    Finite Automata for Efficient Graph Recognition

    Authors: Frank Drewes, Berthold Hoffmann, Mark Minas

    Abstract: Engelfriet and Vereijken have shown that linear graph grammars based on hyperedge replacement generate graph languages that can be considered as interpretations of regular string languages over typed symbols. In this paper we show that finite automata can be lifted from strings to graphs within the same framework. For the efficient recognition of graphs with these automata, we make them determinis… ▽ More

    Submitted 23 April, 2024; originally announced April 2024.

    Comments: 23 pages, accepted for publication in the Postproceedings of the 14th International Workshop on Graph Computational Models (GCM 2023)

    ACM Class: F.4.2

  2. Generating Semantic Graph Corpora with Graph Expansion Grammar

    Authors: Eric Andersson, Johanna Björklund, Frank Drewes, Anna Jonsson

    Abstract: 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… ▽ More

    Submitted 15 September, 2023; originally announced September 2023.

    Comments: In Proceedings NCMA 2023, arXiv:2309.07333

    ACM Class: F.4.3; I.2.7

    Journal ref: EPTCS 388, 2023, pp. 3-15

  3. arXiv:2210.04652  [pdf, ps, other

    math.CO

    Optimal Strategies for Static Black-Peg AB Game With Two and Three Pegs

    Authors: Gerold Jäger, Frank Drewes

    Abstract: The AB~Game is a game similar to the popular game Mastermind. We study a version of this game called Static Black-Peg AB~Game. It is played by two players, the codemaker and the codebreaker. The codemaker creates a so-called secret by placing a color from a set of $c$ colors on each of $p \le c$ pegs, subject to the condition that every color is used at most once. The codebreaker tries to determin… ▽ More

    Submitted 10 October, 2022; originally announced October 2022.

  4. arXiv:2204.02813  [pdf, other

    cs.CL cs.FL cs.LO

    An Algebraic Approach to Learning and Grounding

    Authors: Johanna Björklund, Adam Dahlgren Lindström, Frank Drewes

    Abstract: We consider the problem of learning the semantics of composite algebraic expressions from examples. The outcome is a versatile framework for studying learning tasks that can be put into the following abstract form: The input is a partial algebra $\alg$ and a finite set of examples $(\varphi_1, O_1), (\varphi_2, O_2), \ldots$, each consisting of an algebraic term $\varphi_i$ and a set of objects~… ▽ More

    Submitted 4 July, 2022; v1 submitted 6 April, 2022; originally announced April 2022.

    Comments: Accepted to LearnAut 2022 at ICALP 2022

    ACM Class: I.2.4; I.2.7; I.2.10; I.1.3; I.2

  5. arXiv:2105.02033  [pdf, ps, other

    cs.FL cs.CL cs.DM

    Polynomial Graph Parsing with Non-Structural Reentrancies

    Authors: Johanna Björklund, Frank Drewes, Anna Jonsson

    Abstract: Graph-based semantic representations are valuable in natural language processing, where it is often simple and effective to represent linguistic concepts as nodes, and relations as edges between them. Several attempts has been made to find a generative device that is sufficiently powerful to represent languages of semantic graphs, while at the same allowing efficient parsing. We add to this line o… ▽ More

    Submitted 7 May, 2021; v1 submitted 5 May, 2021; originally announced May 2021.

    Comments: 23 pages with 7 figures

    MSC Class: 68R10 (Primary) 05C85 (Secondary) ACM Class: F.4.3; I.2.7; I.2.4

  6. Probing Multimodal Embeddings for Linguistic Properties: the Visual-Semantic Case

    Authors: Adam Dahlgren Lindström, Suna Bensch, Johanna Björklund, Frank Drewes

    Abstract: Semantic embeddings have advanced the state of the art for countless natural language processing tasks, and various extensions to multimodal domains, such as visual-semantic embeddings, have been proposed. While the power of visual-semantic embeddings comes from the distillation and enrichment of information through machine learning, their inner workings are poorly understood and there is a shorta… ▽ More

    Submitted 22 February, 2021; originally announced February 2021.

    Comments: Submitted July 1 2020, COLING 2020 main conference

  7. Formalization and Correctness of Predictive Shift-Reduce Parsers for Graph Grammars based on Hyperedge Replacement

    Authors: Frank Drewes, Berthold Hoffmann, Mark Minas

    Abstract: Hyperedge replacement (HR) grammars can generate NP-complete graph languages, which makes parsing hard even for fixed HR languages. Therefore, we study predictive shift-reduce (PSR) parsing that yields efficient parsers for a subclass of HR grammars, by generalizing the concepts of SLR(1) string parsing to graphs. We formalize the construction of PSR parsers and show that it is correct. PSR parser… ▽ More

    Submitted 14 January, 2019; v1 submitted 31 December, 2018; originally announced December 2018.

    Comments: 63 pages; fixed wrong email address of one of the authors and some typos

    Journal ref: Journal of Logical and Algebraic Methods in Programming, vol. 104, April 2019, pp. 303-341

  8. Analyzing Catastrophic Backtracking Behavior in Practical Regular Expression Matching

    Authors: Martin Berglund, Frank Drewes, Brink van der Merwe

    Abstract: We develop a formal perspective on how regular expression matching works in Java, a popular representative of the category of regex-directed matching engines. In particular, we define an automata model which captures all the aspects needed to study such matching engines in a formal way. Based on this, we propose two types of static analysis, which take a regular expression and tell whether there… ▽ More

    Submitted 21 May, 2014; originally announced May 2014.

    Comments: In Proceedings AFL 2014, arXiv:1405.5272

    Journal ref: EPTCS 151, 2014, pp. 109-123

  9. Term Graph Rewriting and Parallel Term Rewriting

    Authors: Andrea Corradini, Frank Drewes

    Abstract: The relationship between Term Graph Rewriting and Term Rewriting is well understood: a single term graph reduction may correspond to several term reductions, due to sharing. It is also known that if term graphs are allowed to contain cycles, then one term graph reduction may correspond to infinitely many term reductions. We stress that this fact can be interpreted in two ways. According to the "s… ▽ More

    Submitted 13 February, 2011; originally announced February 2011.

    Comments: In Proceedings TERMGRAPH 2011, arXiv:1102.2268

    ACM Class: F.4.2

    Journal ref: EPTCS 48, 2011, pp. 3-18