Text this: Assessment of building failure within and around quarries