Text this: COMPUTATIONAL INFERENCE TECHNIQUE FOR MINING STRUCTURED MOTIFS