Pattern recognition system for the RTIBuilder software