Text this: On the learning of vague languages for syntactic pattern recognition