paper-with-me

Papers

How to enumerate trees from a context-free grammar

2023-04-30 · Steven T. Piantadosi

I present a simple algorithm for enumerating the trees generated by a Context Free Grammar (CFG). The algorithm uses a pairing function to form a bijection between CFG derivations and natural numbers, so that trees can be uniquely decoded from counting. This provides a general way to number expressions in natural logical languages, and potentially can be extended to other combinatorial problems. I also show how this algorithm may be generalized to more general forms of derivation, including analogs of Lempel-Ziv coding on trees.

📄 PDF Abstract BibTeX arXiv:2305.00522

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Compound Probabilistic Context-Free Grammars for Grammar Induction

2019-06-24 · ACL 2019 7 · Yoon Kim, Chris Dyer, Alexander M. Rush

We study a formalization of the grammar induction problem that models sentences as being generated by a compound probabilistic context-free grammar. In contrast to traditional formulations which learn a single stochastic…

Constituency Grammar InductionSentenceVariational Inference

A Wide-Coverage Context-Free Grammar for Icelandic and an Accompanying Parsing System

2019-09-01 · RANLP 2019 9 · Vilhj{\'a}lmur {\TH}orsteinsson, Hulda {\'O}lad{\'o}ttir, Hrafn Loftsson

We present an open-source, wide-coverage context-free grammar (CFG) for Icelandic, and an accompanying parsing system. The grammar has over 5,600 nonterminals, 4,600 terminals and 19,000 productions in fully expanded for…

Articles

Joint learning of ontology and semantic parser from text

2016-01-05 · Janez Starc, Dunja Mladenić

Semantic parsing methods are used for capturing and representing semantic meaning of text. Meaning representation capturing all the concepts in the text may not always be available or may not be sufficiently complete. On…

Semantic Parsing

Lexicalization of Probabilistic Linear Context-free Rewriting Systems

2020-07-01 · WS 2020 7 · Richard M{\"o}rbitz, Thomas Ruprecht

In the field of constituent parsing, probabilistic grammar formalisms have been studied to model the syntactic structure of natural language. More recently, approaches utilizing neural models gained lots of traction in t…

Vector symbolic architectures for context-free grammars

2020-03-11 · Peter beim Graben, Markus Huber, Werner Meyer, Ronald Römer 외

Background / introduction. Vector symbolic architectures (VSA) are a viable approach for the hyperdimensional representation of symbolic data, such as documents, syntactic structures, or semantic frames. Methods. We pres…

Explainable artificial intelligenceExplainable Artificial Intelligence (XAI)