A Computational Model Of Cognitive Constraints In Syntactic Locality