Text this: Dynamic risk analysis in the chemical and petroleum industry