Text this: Foundations of fuzzy logic and artificial neural networks