Docsity

Study Guide - Shallow Processing Techniques for Natural Language Processing | LING 570, Study notes of Linguistics

Partial preview of the text

Download Study Guide - Shallow Processing Techniques for Natural Language Processing | LING 570 and more Study notes Linguistics in PDF only on Docsity!

Summary

LING 570

Fei Xia

Week 11: 12/05/

Outline

  • Main units
  • Main techniques
  • What’s next?

Unit #0: introduction and prereq

  • 1 week
  • Quiz #1, Hw1, Hw2 (Part I)
  • Course overview
  • Tokenization
  • Introduction to probability theory

Unit #1: finite-state machine

  • 3 weeks
  • Quiz #2, Hw2 – Hw
  • Formal language
  • Formal grammar
  • Regular expression
  • FSA
  • Regular relation and FST
  • Morphological analyzer

Unit #3: POS tagging and HMM

  • 2 weeks
  • Quiz #3, Hw7-Hw
  • HMM: two types of HMM, relation with

WFA

  • POS tagging: n-gram models and others

Unit #4: Classification and

sequence labeling problems

  • 2 weeks
  • Quiz #4, Hw
  • Classification tasks:
    • Text classification
    • WSD
  • Sequence labeling problem: IOB scheme
    • POS tagging
    • NE tagging: treated as a tagging problem
    • Chunking: treated as a tagging problem

Main techniques

Main techniques

  • Probability theory:
    • The chain rule
    • The Bayes’ rule
    • The (conditional) independence
    • …
  • Regexp, regular language and regular

grammar:

Main techniques (cont)

  • Classification and sequence labeling

problems:

  • Selecting features is very important
  • Many problems can be treated as classification or sequence labeling problems
  • Beam search

Tools created

  • English Tokenizer (hw1): regexp
  • Morphological analyzer (hw4): FST
  • LM (hw5-hw6)
  • Tagger:
    • Unigram model (hw3): FST
    • Trigram model (hw7-hw9): HMM
  • Classifier (hw10):
  • Using existing packages: Carmel, Mallet

What’s next?

  • Other tasks  NLP 571 (winter)
    • Ex: parsing, semantics, discourse
  • Supervised learning  NLP 572 (winter)
    • Ex: MaxEnt, Naïve Bayes, SVM, …
  • Unsupervised learning  NLP 575 (winter)
    • Ex: EM, co-training, …

Tentative plan for LING 572

(subject to change)

  • Unit #0: Introduction
    • 1 week (by Dan Jinguji)
    • Features, training/testing, …
    • Classification algorithms
  • Unit #1: Simple algorithms
    • 2 weeks
    • kNN
    • Decision tree
    • Naïve Bayes

A head start with LING 572?

  • Textbook: none
  • Tentative schedule:

http://courses.washington.edu/ling572/winter08/syll abus.htm

  • 30% of material will be changed from last year’s schedule: - Removing Rocchio, Decision List, Boosting, Bagging, self-training, and EM - Adding CRF and SVM

LING 575

  • Theme: unsupervised tagging and/or parsing
  • Not a survey course.
  • Starting with EM, modify it to improve the

performance.

  • Goal: labeled F-measure: 20%  50%