Density Measures for Language Generation