Syntactic pattern recognition in the HLP/PAS system