Complex networks in the assessment of text quality