Updated script for text analysis examples
Updated script for text analysis examples