Text this: Mathematical model design to integrate EDM with KDDM framework