legislative text analysis