Text this: Application of Artificial Neural Networks in Optical Properties of Nanosemiconductors