Connectionist architectures for syntactic pattern recognition