Skip to content

Compling2-Spring2023-SBU/main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computational Linguistics 2

Course Info

Instructor

Course

  • MW 08:30-09:50
  • from next class: Comp Ling Lab in SBS
  • Office Hours are Tuesdays and Thursdays from 11:30-13:00pm and by appointment.
  • Syllabus
  • Useful Links for github, markdown, LaTeX, and Haskell

Class Log

Mon 03 May 2023

Mon 01 May 2023

Wed 26 Apr 2023

  • We concluded our overview of Subregular classes of formal languages (sections 3.1 and 3.2 of this paper)
  • We studied non-deterministic transducers and their composition (chapter 6.6), which we saw also lets us compute the potentially infinite set of outputs a word is related to.

Mon 24 Apr 2023

Wed 19 Apr 2023

  • We studied top-down, deterministic tree transducers chapter 7.
  • We also discussed generalized deterministic sequential functions, where the outputs of the transducer are elements of a monoid chapter 6.3.

Mon 17 Apr 2023

  • We studied bottom-up, deterministic tree transducers chapter 7.

Wed 12 Apr 2023

  • We continued studying deterministic string transducers chapter 6, in particular closure properties like composition.
  • We also discussed left and right sequential transducers.

Mon 10 Apr 2023

Wed 05 Apr 2023

  • We studied top-down (root-to-frontier) tree acceptors chapter 5.

Mon 03 Apr 2023

Wed 29 Mar 2023

  • We reviewed the powerset construction for determinizing nfa.
  • We discussed how to minimize a dfa by reducing indistinguihsable states.
  • chapter 4

Mon 27 Mar 2023

  • Today we reviewed in chapter 4 how nfa recognize strings by processing sets of states along with the epsilon closure.
  • We also saw how it is easy to show that regular languages are closed under union, concatenation, and Kleene star with nfa.
  • Reminder: project proposals due on Friday (email me a pdf)

Wed 22 Mar 2023

  • Today we reviewed, among other things, the product construction for union and intersection in chapter 4.
  • HW10: dfa product construction. This is due before next class Mon March 27.

Mon 20 Mar 2023

  • Today we introduced deterministic finite-state string acceptors in chapter 4.
  • HW09: dfa exercises. This is due before next class Wed March 22.

SPRING BREAK (13 - 15 Mar 2023)

Wed 08 Mar 2023

  • We nearly concluded our discussion of trees and functions over trees.
  • HW08: tree exercises. This is due before next class Monday March 20.
  • Have a great spring break!

Mon 06 Mar 2023

  • We nearly concluded our discussion of trees and functions over trees.

Wed 01 Mar 2023

  • We discussed HW07.
  • We discussed functional composition in Chapter 7 of Hutton.
  • We discussed a definition of trees, and studied a definition of size of trees.
  • For Monday read Stabler 2019

Mon 27 Feb 2023

  • We reviewed HW06.
  • We discussed higher functions in Chapter 7 of Hutton.
  • We discussed how to define concatenation using a "reverse append" operation.
  • HW07: higher functions and lists. This is due before class on Wednesday!

Wed 22 Feb 2023

  • We finally finished our discussion of logic to define formal languages.
  • We defined strings as recursive data structures, and saw how this kind of definition allows one to define functions over such structures easily.
  • We reviewed parts of Chapter 6 of Hutton.
  • HW06: Recursive definitions. This is due Friday by 5pm!

Mon 20 Feb 2023

Mon 15 Feb 2023

  • Class cancelled

Mon 13 Feb 2023

Wed 08 Feb 2023

  • Today we finished our discussion of rewrite grammars and the Chomsky Hierarchy.
  • We also discussed how to define functions in Haskell.
  • HW: Chapter 4 exercises of Hutton 2016. This is due Monday before class!

Mon 06 Feb 2023

  • Today we went over Chap 3 Hutton HW, finished discussing concepts in Chapter 3 including polymorphic types, overloaded operators, and class constraints on types.
  • We introduced type synonyms and new data types in Chapter 8 (8.1 and 8.2).
  • We began discussing Rewrite Grammars on page 14 and did exercises 6,7,8.
  • For Wednesday, review and/or get ahead on Chapter 4 of Hutton.

Wed 01 Feb 2023

  • Today we finished our discussion of Piecewise Local expressions. We also discussed the tier operation which denotes the maximal inverse tier projection.
  • We also discussed types and type inference in Haskell, as well as reviewed concepts in chapter 3 of Hutton 2016.
  • HW: Chapter 3 exercises of Hutton 2016. This is due Monday before class!

Mon 30 Jan 2023

  • Today we reviewed some of the star-free expressions you proposed for the formal languages in example 1.
  • Today we reviewed Piecewise Local expressions.
  • We also reviewed the basics of working in Haskell (ghci and text editors).
  • HW: write as many of the formal languages in Example 1 as you can with Piecewise-Local expressions.
  • HW: Chapter 2 exercises of Hutton 2016

Wed 25 Jan 2023

  • Today we reviewed some the regular expressions you proposed for the formal languages in example 1.
  • We reviewed, Cat-Union Expressions, Generalized Regular Expressions, and Star-Free expressions.
  • HW: write as many of the formal languages in Example 1 as you can with Star-Free expressions.
  • HW: Chapter 1 exercises of Hutton 2016 submitted via github

Mon 23 Jan 2023

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published