Text this: Explainable machine learning to predict the cost of capital