filmov
tv
nlp 4- Semantic Grammar and CFG

Показать описание
Semantic Grammar-Semantic grammars encode semantic information into a syntactic grammar. The proper constituents of semantic grammar
are noun phrase (NP), verb phrase (VP), Noun (N), Verb (V), Preposition phrase (PP), Adverb (ADV) and so on...
CFG- The grammar in which each production has exactly one terminal symbol in its left hand side and at least
one symbol at the right hand side is called context free grammar. A CFG is a four tuple [sigma, V, S, P]
are noun phrase (NP), verb phrase (VP), Noun (N), Verb (V), Preposition phrase (PP), Adverb (ADV) and so on...
CFG- The grammar in which each production has exactly one terminal symbol in its left hand side and at least
one symbol at the right hand side is called context free grammar. A CFG is a four tuple [sigma, V, S, P]