Text this: Application of neural and bayesian networks in diesel engines under the flaw detection method