Information retrieval by mining text and image