Characterization of NMR and UV spectra usino Neural network