Text this: Model-based fault detection using hierarchical artificial neural network