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

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

The syntactic structure of a sentence is often represented using syntactic dependency trees. The sum of the distances between syntactically related words has been in the limelight for the past decades. Research on dependency distances led to the formulation of the principle of dependency distance minimization whereby words in sentences are ordered so as to minimize that sum. Numerous random baselines have been defined to carry out related quantitative studies on languages. The simplest random baseline is the expected value of the sum in unconstrained random permutations of the words in the sentence, namely when all the shufflings of the words of a sentence are allowed and equally likely. Here we focus on a popular baseline: random projective permutations of the words of the sentence, that is, permutations where the syntactic dependency structure is projective, a formal constraint that sentences satisfy often in languages. Thus far, the expectation of the sum of dependency distances in random projective shufflings of a sentence has been estimated approximately with a Monte Carlo procedure whose cost is of the order of Zn, where n is the number of words of the sentence and Z is the number of samples; the larger Z, the lower the error of the estimation but the larger the time cost. Here we present formulae to compute that expectation without error in time of the order of n. Furthermore, we show that star trees maximize it, and devise a dynamic programming algorithm to retrieve the trees that minimize it.

READ FULL TEXT
research
07/12/2022

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

Dependency graphs have proven to be a very successful model to represent...
research
07/30/2020

The optimality of syntactic dependency distances

It is often stated that human languages, as other biological systems, ar...
research
06/13/2019

Anti dependency distance minimization in short sequences. A graph theoretic approach

Dependency distance minimization (DDm) is a word order principle favouri...
research
11/26/2022

The distribution of syntactic dependency distances

The syntactic structure of a sentence can be represented as a graph wher...
research
03/24/2017

Are crossing dependencies really scarce?

The syntactic structure of a sentence can be modelled as a tree, where v...
research
09/18/2021

Dependency distance minimization predicts compression

Dependency distance minimization (DDm) is a well-established principle o...
research
05/01/2020

Distributions of restricted rotation distances

Rotation distances measure the differences in structure between rooted o...

Please sign up or login with your details

Forgot password? Click here to reset