Part 12: Step by Step Guide to Master NLP – Grammar in NLP
Introduction
This article is part of an ongoing blog series on Natural Language Processing (NLP). In the previous article, we discussed some basic concepts related to syntactic analysis. In that article, we covered concepts such as parsing, parse trees, and parsers, etc. But we not discussed the concept of grammar in that article. So, In continuation to that article, we will complete a Syntactic analysis in this article.
So, In this article, we will deep dive into the concept of Grammar with its types that are heavily used while we working on the level of Syntactic Analysis in NLP.
This is part-12 of the blog series on the Step by Step Guide to Natural Language Processing.
Table of Contents
1. What is Grammar?
2. Different Types of Grammar in NLP
- Context-Free Grammar (CFG)
- Constituency Grammar (CG)
- Dependency Grammar (DG)
What is Grammar?
Grammar is defined as the rules for forming well-structured