go back  59 - Analyze Podcast Transcripts with NLTK - Part II




This challenge write-up first appeared on PyBites.

There is an immense amount to be learned simply by tinkering with things. - Henry Ford

Hey Pythonistas, in this challenge you will expand on the work of PCC58, doing some natural language processing (NLP) on the podcast transcript data you collected. Have fun!

The Challenge

Here are the steps you would follow:

  • Run your script of PCC58 to have the data ready in your project folder. If you have not done this and you want to work on the Talk Python To Me podcast transcripts, you can use one of the PR'd scripts here.
  • Make a virtual environment and pip install nltk = NLTK / Natural Language Toolkit.
  • Read up on how to use the library. You can read Natural Language Processing with Python for free online, isn't that awesome?
  • From here on we leave you totally free to find the patterns in the data that you are interested in: sentiments, book recommendations, you name it.
  • Show the results any way you like. We are new to the library ourselves, but we love Jupyter notebooks for their exploratory nature!
  • PR your work via our platform. If you are reading this on our blog use this link.

Good luck and have fun!

Ideas and feedback

If you have ideas for a future challenge or find any issues, open a GH Issue or reach out via Twitter, Slack or Email.

Last but not least: there is no best solution, only learning more and better Python. Good luck!

Become a Python Ninja

At PyBites you get to master Python through Code Challenges:

  • Subscribe to our blog (sidebar) to periodically get new PyBites Code Challenges (PCCs) in your inbox.

  • Apart from this blog code challenge we have a growing collection which you can check out on our platform.

  • Prefer coding bite-sized Python exercises in the comfort of your browser? Try our growing collection of Bites of Py.

  • Want to do the #100DaysOfCode but not sure what to work on? Take our course and/or start logging your 100 Days progress using our Progress Grid Feature on our platform (you can also use the Grid to do 100 Bite exercises in 100 days, earning a die hard PyBites Ninja Certificate!)


>>> from pybites import Bob, Julian

Keep Calm and Code in Python!