Text this: Optimization of drilling cost using artificial intelligence