Fine classification of the emission-line spectra of active galaxies