Text this: Mathematical model to support pathological assessment and its integration into a web tool