The two approaches in parsing
There are mainly two views/approaches used to deal with parsing, which are as follows:
The rule-based approach |
The probabilistic approach |
---|---|
This approach is based on rules/grammar |
In this approach, you learn rules/grammar by using probabilistic models |
Manual grammatical rules are coded down in CFG, and so on, in this approach |
This uses observed probabilities of linguistic features |
This has a top-down approach |
This has a bottom-up approach |
This approach includes CFG and Regex- based parser |
This approach includes PCFG and the Stanford parser |
Get Natural Language Processing: Python and NLTK now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.