Generation and polynomial parsing of graph languages with non-structural reentrancies

J Björklund, F Drewes, A Jonsson - Computational Linguistics, 2023 - direct.mit.edu
Graph-based semantic representations are popular in natural language processing, where it
is often convenient to model linguistic concepts as nodes and relations as edges between …

Extending predictive shift-reduce parsing to contextual hyperedge replacement grammars

F Drewes, B Hoffmann, M Minas - … Conference, ICGT 2019, Held as Part of …, 2019 - Springer
Parsing with respect to grammars based on hyperedge replacement (HR) is NP-hard in
general, even for some fixed grammars. In recent work, we have devised predictive shift …

Engineering grammar-based type checking for graph rewriting languages

N Yamamoto, K Ueda - IEEE Access, 2022 - ieeexplore.ieee.org
The ability to handle evolving graph structures is important both for programming languages
and modeling languages. Of various languages that adopt graphs as primary data …

[HTML][HTML] Transduction from trees to graphs through folding

M Berglund, H Björklund, J Björklund… - Information and …, 2023 - Elsevier
We introduce a fold operation that realises a tree-to-graph transduction by merging selected
nodes in the input tree to form a possibly cyclic output graph. The work is motivated by the …

Parsing weighted order-preserving hyperedge replacement grammars

H Björklund, F Drewes, P Ericson - 16th Meeting on the Mathematics …, 2019 - diva-portal.org
We introduce a weighted extension of the recently proposed notion of order-preserving
hyperedge-replacement grammars and prove that the weight of a graph according to such a …

Best Trees Extraction and Contextual Grammars for Language Processing

A Jonsson - 2021 - diva-portal.org
In natural language processing, the syntax of a sentence refers to the words used in the
sentence, their grammatical role, and their order. Semantics concerns the concepts …

Complexity of the Uniform Membership Problem for Hyperedge Replacement Grammars

T Pshenitsyn - arXiv preprint arXiv:2501.08082, 2025 - arxiv.org
We investigate complexity of the uniform membership problem for hyperedge replacement
grammars in comparison with other mildly context-sensitive grammar formalisms. It turns out …

Tree-Based Generation of Restricted Graph Languages

H Björklund, J Björklund, P Ericson - International Journal of …, 2024 - World Scientific
Order-preserving DAG grammars (OPDGs) is a formalism for representing languages of
structurally restricted graphs. As demonstrated in [17], they are sufficiently expressive to …

Polynomial graph parsing with non-structural reentrancies

J Björklund, F Drewes, A Jonsson - arXiv preprint arXiv:2105.02033, 2021 - arxiv.org
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 …

Random Graph Generation in Hyperedge Replacement Languages

F Vastarini - 2024 - etheses.whiterose.ac.uk
We present a novel approach for the random generation of graphs in context-free
hypergraph languages. It is obtained by adapting both of Mairson's generation algorithms for …