Spectral Classification and Analysis of Nuclear Activity in the UZC-Compact Group Sample