simple term exctracter from document