Text this: Basics of building a risk-management system at mining enterprises