Text this: Automated classification of celestial objects using machine learning