An intelligent system for classification of the communication formats using PSO