text processing in ipytho notebook gallerty