Spectral Analysis of Stellar Light Curves by Means of Neural Networks