Week 8 notes completed

This commit is contained in:
levdoescode
2023-03-21 13:08:21 -05:00
parent 02e3e445c5
commit 8cd84b4578
9 changed files with 33 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@ -0,0 +1,33 @@
# Syntax and parsing
## Course learning objectives
![](Files/clo.png)
## Topic learning objectives
![](Files/tlo.png)
# Intro to syntax and parsing
![](Files/syn1.png)
POS (Parts Of Speech) are lexical categories which we attach to words, equivalent to gramatical classes.
## Constituency
![](Files/syn1.png)
Constituents have a common behaviour, in this case, the noun phrases can appear before verbs
## Context-free grammars
![](Files/syn3.png)
The constituents can be formalized.
These are production rules and are composed of **non-terminals** (noun, phrase, det, etc.) and **terminal** symbols (words or symbols in the language)
*Symbol* -> *non-terminals* and/or *terminals*
The rules are used for generation or assigning structure.
Constituents form higher-level constituents.
![](Files/syn4.png)
Example
![](Files/syn5.png)
Another way of thinking about grammatical structure
![](Files/syn6.png)