AI Search & LLMs: Entity SEO and Knowledge Graph Strategies for Brands
- Bonus Lesson – Comparative Analysis of NLP APIs versus generative AI on entity extraction
- What is Named Entity Recognition (Entity Extraction) in Semantic Analysis?
NLP (Concepts & Pipeline)
In shortThe NLP step that analyses a sentence's grammatical structure: parts of speech, word roots and how words depend on each other.
Syntax analysis, or parsing, is the stage of natural language processing that works out the grammatical structure of text: which words are nouns or verbs, what their root forms are, and how the words in a sentence depend on each other. MLforSEO describes the NLP pipeline as modelled on compiler design, where syntax analysis comes after lexical analysis and before semantic analysis checks meaning and logic.
A parser splits text into sentences and tokens, then annotates each token. The Google Cloud Natural Language API syntax method, for example, returns:
Using MLforSEO’s Google Sheets template, you run the query “cheap running shoes for flat feet” through the API. The dependency tree shows “shoes” as the root noun, “running” and “cheap” as modifiers of it, and “feet” (modified by “flat”) attached through the preposition “for”. That tells you the entity is shoes, the attribute values are price and use case, and the page needs to answer all three.