An approach for module decomposition based on fuzzy pattern recognition