Text this: Learning and diagnosis in manufacturing processes through an executable bayesian network