Discovering Textual Structures: Generative Grammar Induction using Template Trees

09/09/2020
by   Thomas Winters, et al.
1

Natural language generation provides designers with methods for automatically generating text, e.g. for creating summaries, chatbots and game content. In practise, text generators are often either learned and hard to interpret, or created by hand using techniques such as grammars and templates. In this paper, we introduce a novel grammar induction algorithm for learning interpretable grammars for generative purposes, called Gitta. We also introduce the novel notion of template trees to discover latent templates in corpora to derive these generative grammars. By using existing human-created grammars, we found that the algorithm can reasonably approximate these grammars using only a few examples. These results indicate that Gitta could be used to automatically learn interpretable and easily modifiable grammars, and thus provide a stepping stone for human-machine co-creation of generative models.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/21/2021

Shape Inference and Grammar Induction for Example-based Procedural Generation

Designers increasingly rely on procedural generation for automatic gener...
research
09/16/2016

Grammatical Templates: Improving Text Difficulty Evaluation for Language Learners

Language students are most engaged while reading texts at an appropriate...
research
09/19/2019

Generating Philosophical Statements using Interpolated Markov Models and Dynamic Templates

Automatically imitating input text is a common task in natural language ...
research
05/24/2016

Experiments in Linear Template Combination using Genetic Algorithms

Natural Language Generation systems typically have two parts - strategic...
research
11/29/2020

Latent Template Induction with Gumbel-CRFs

Learning to control the structure of sentences is a challenging problem ...
research
07/03/2023

Prompt Middleware: Mapping Prompts for Large Language Models to UI Affordances

To help users do complex work, researchers have developed techniques to ...
research
09/23/2022

A Neural Model for Regular Grammar Induction

Grammatical inference is a classical problem in computational learning t...

Please sign up or login with your details

Forgot password? Click here to reset