Als nächstesNächster Leitfaden
Abhängigkeitsanalyse
Sprach-KI
Sprach-KI-GUIDE
Constituency parsing builds a nested phrase-structure tree over a sentence.
Hören Sie sich diesen Leitfaden anKI-erzählt · ~2 min
Parsers are evaluated against annotated treebanks; the score depends on the model, test split, and evaluation convention.
Constituency parsing analyzes a sentence according to a phrase-structure grammar, organizing words into nested constituents such as noun phrases (NP), verb phrases (VP), and prepositional phrases (PP). The output is a tree whose leaves are words and whose internal nodes are phrase labels, all rooted at a single S (sentence) node. For example, 'The cat sat on the mat' splits into an NP ('The cat') and a VP ('sat on the mat'), which itself contains a verb and a PP. This differs from dependency parsing, which links words directly to one another rather than grouping them into phrases. Classic approaches used the CYK algorithm with probabilistic context-free grammars; modern systems use neural networks trained on treebanks like the Penn Treebank. Stern et al.’s Minimal Span-Based Neural Constituency Parser scores contiguous word spans and phrase labels independently, then constructs a tree with structured inference. The paper reports 91.79 labeled-bracket F1 on its Penn Treebank setup; scores depend on evaluation protocol and model configuration.
Illustrative: a language-learning tool could display noun and verb phrase boundaries for a learner to inspect.
Illustrative: a researcher could compare phrase structures predicted by two parser models.
Illustrative: a downstream text-analysis pipeline could use phrase spans when its task benefits from them.
Illustrative: a grammar interface could present a parse tree alongside the sentence, with human review for errors.
Neural constituency parsing continues to be evaluated on treebanks such as the Penn Treebank using labeled-bracket F1 and related metrics. Report the model, data split, and scoring protocol with any accuracy figure; the cited papers do not justify a single universal “above 95%” benchmark claim.
Kostenloser Newsletter
Drei verifizierte KI-Geschichten jeden Werktagmorgen, in einfachem Englisch geschrieben. Für immer kostenlos, keine Werbung.
Eine E‑Mail jeden Werktag. Abmelden mit einem Klick. Wir verkaufen oder teilen Ihre Adresse nie.
Testen Sie sich selbst
Sofortiges Feedback zu jeder Antwort und ein teilbares Zertifikat mit verifizierbarer ID, sobald Sie einen Kurs bestanden haben.
Unterstützen Sie kostenlose KI-Bildung. AI Understanding ist eine 501(c)(3) gemeinnützige Organisation – keine Werbung, keine Paywall, nie. Machen Sie eine Spende
Constituency parsing builds a nested phrase-structure tree over a sentence. Parsers are evaluated against annotated treebanks; the score depends on the model, test split, and evaluation convention.
Bei der Konstituentenanalyse werden Wörter in verschachtelte Konstituenten (NP, VP, PP) gruppiert, die in einem Phrasenstrukturbaum angeordnet sind.
Beim Wahlkreis-Parsing werden verschachtelte Phrasengruppierungen erstellt, während beim Abhängigkeits-Parsing direkte kopfabhängige Verbindungen zwischen einzelnen Wörtern erstellt werden.
Der CYK-Algorithmus ist eine dynamische Programmiermethode, die zum Parsen von Sätzen mit (probabilistischen) kontextfreien Grammatiken verwendet wird.
Der gesamte Baum hat seine Wurzel an einem S-Knoten, der den vollständigen Satz darstellt, mit darunter verzweigten Phrasen.
Die Penn Treebank stellt handkommentierte Wahlkreisbäume bereit und ist ein Standard-Benchmark für die englische Analyse.
Lerne weiter
Weitere Leitfäden zu diesem Thema ausgewählt
Als nächstesNächster Leitfaden
Abhängigkeitsanalyse
Sprach-KI