LINGUISTIC PRIMER
Most of the chapters in the book focus on analyzing sentence structures to identify patterns in word sequences using spaCy. To understand sentence analysis and patterns, you need some basic knowledge of linguistics. This appendix contains a linguistic primer to use as a reference.
Dependency Grammars vs. Phrase Structure Grammars
By default, spaCy uses a dependency grammar rather than a phrase structure grammar more commonly used in linguistics. This section explains the difference between these two grammar types. If you have a formal linguistic background, you may find this information helpful.
Also known as a constituent-based ...
Get Natural Language Processing with Python and spaCy 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.