Spectral Classification of Galaxies and Identification of Galactic H ii Regions Based on LAMOST Spectral Line Features. (21st May 2019)