text mining script