A pedagogical agent which incorporates a text mining tool to promote collaborative writing