Linear-time calculation of the expected sum of edge lengths in planar linearizations of trees

07/12/2022
by   Lluís Alemany-Puig, et al.
0

Dependency graphs have proven to be a very successful model to represent the syntactic structure of sentences of human languages. In these graphs, widely accepted to be trees, vertices are words and arcs connect syntactically-dependent words. The tendency of these dependencies to be short has been demonstrated using random baselines for the sum of the lengths of the edges or its variants. A ubiquitous baseline is the expected sum in projective orderings (wherein edges do not cross and the root word of the sentence is not covered by any edge). It was shown that said expected value can be computed in O(n) time. In this article we focus on planar orderings (where the root word can be covered) and present two main results. First, we show the relationship between the expected sum in planar arrangements and the expected sum in projective arrangements. Second, we also derive a O(n)-time algorithm to calculate the expected value of the sum of edge lengths. These two results stem from another contribution of the present article, namely a characterization of planarity that, given a sentence, yields either the number of planar permutations or an efficient algorithm to generate uniformly random planar permutations of the words. Our research paves the way for replicating past research on dependency distance minimization using random planar linearizations as random baseline.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/07/2021

Linear-time calculation of the expected sum of edge lengths in random projective linearizations of trees

The syntactic structure of a sentence is often represented using syntact...
research
06/14/2022

The Maximum Linear Arrangement Problem for trees under projectivity and planarity

The Maximum Linear Arrangement problem (MaxLA) consists of finding a map...
research
04/25/2021

Efficiently Partitioning the Edges of a 1-Planar Graph into a Planar Graph and a Forest

1-planar graphs are graphs that can be drawn in the plane such that any ...
research
08/28/2021

Planar Straight-line Realizations of 2-Trees with Prescribed Edge Lengths

We study a classic problem introduced thirty years ago by Eades and Worm...
research
03/24/2017

Are crossing dependencies really scarce?

The syntactic structure of a sentence can be modelled as a tree, where v...
research
03/06/2020

Fast calculation of the variance of edge crossings in random linear arrangements

The interest in spatial networks where vertices are embedded in a one-di...
research
01/13/2016

The scarcity of crossing dependencies: a direct outcome of a specific constraint?

The structure of a sentence can be represented as a network where vertic...

Please sign up or login with your details

Forgot password? Click here to reset