Text this: Application of machine learning in restoration of dental defect