New opportunity solutions to inverse problems in laser spectroscopy involving artificial neural networks