In this paper we present a sampling algorithm for constrained strings representing the state of parameters of a universal
grammar. This sampling algorithm has been used to assess statistical
significance of the parametric comparison method, a new syntax-based
approach to reconstruct linguistic phylogeny