Text this: Introduction of affinity set and its application in data-mining example of delayed diagnosis