diff --git a/CM3060 Natural Language Processing/Week 11/Files/clo.png b/CM3060 Natural Language Processing/Week 11/Files/clo.png new file mode 100644 index 0000000..afbbd35 Binary files /dev/null and b/CM3060 Natural Language Processing/Week 11/Files/clo.png differ diff --git a/CM3060 Natural Language Processing/Week 11/Files/syn1.png b/CM3060 Natural Language Processing/Week 11/Files/syn1.png new file mode 100644 index 0000000..d9171b3 Binary files /dev/null and b/CM3060 Natural Language Processing/Week 11/Files/syn1.png differ diff --git a/CM3060 Natural Language Processing/Week 11/Files/syn2.png b/CM3060 Natural Language Processing/Week 11/Files/syn2.png new file mode 100644 index 0000000..06dfbde Binary files /dev/null and b/CM3060 Natural Language Processing/Week 11/Files/syn2.png differ diff --git a/CM3060 Natural Language Processing/Week 11/Files/syn3.png b/CM3060 Natural Language Processing/Week 11/Files/syn3.png new file mode 100644 index 0000000..68b018b Binary files /dev/null and b/CM3060 Natural Language Processing/Week 11/Files/syn3.png differ diff --git a/CM3060 Natural Language Processing/Week 11/Files/syn4.png b/CM3060 Natural Language Processing/Week 11/Files/syn4.png new file mode 100644 index 0000000..452dfb4 Binary files /dev/null and b/CM3060 Natural Language Processing/Week 11/Files/syn4.png differ diff --git a/CM3060 Natural Language Processing/Week 11/Files/syn5.png b/CM3060 Natural Language Processing/Week 11/Files/syn5.png new file mode 100644 index 0000000..82f2241 Binary files /dev/null and b/CM3060 Natural Language Processing/Week 11/Files/syn5.png differ diff --git a/CM3060 Natural Language Processing/Week 11/Files/syn6.png b/CM3060 Natural Language Processing/Week 11/Files/syn6.png new file mode 100644 index 0000000..7aec1b7 Binary files /dev/null and b/CM3060 Natural Language Processing/Week 11/Files/syn6.png differ diff --git a/CM3060 Natural Language Processing/Week 11/Files/tlo.png b/CM3060 Natural Language Processing/Week 11/Files/tlo.png new file mode 100644 index 0000000..eb60a5f Binary files /dev/null and b/CM3060 Natural Language Processing/Week 11/Files/tlo.png differ diff --git a/CM3060 Natural Language Processing/Week 11/Week 11 notes.md b/CM3060 Natural Language Processing/Week 11/Week 11 notes.md new file mode 100644 index 0000000..a56c9ce --- /dev/null +++ b/CM3060 Natural Language Processing/Week 11/Week 11 notes.md @@ -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) +