Week 8

Learning Objectives

(color key: Python/Programming NLP/CL Software Engineering)

Algorithmic Thinking

  1. What is the task? What is the minimum I need to do to complete the task?

Read the instructions! Laziness is a virtue!

  1. What are the tools and components I have at my disposal? What format or structure are they in? How can I access the information I need?

Know your basics well! list, dict, for, in, etc..

  1. What is the first step? How can I make sure it is working?

Start simply! Introduce complexity slowly!

Demo: Quiz 1

Reading

Please see the slides from M. W. Goodman’s 2019 workshop on regular expressions for a quick introduction:

For applications of regular expressions to NLP, please read these sections from the NLTK book:

Also, we’ve discussed tokenization and basic normalization already, but now see the following to better understand stemming, lemmatization, and segmentation.

Additional Reading

These links may be helpful, but are not assigned reading:

Testing Your Knowledge

Questions

Practical Work