Text this: A method of solving inverse problem of electro-logging