Related Natural Language Processing Links
Learn Frame Semantics Natural Language Processing Tutorial, validate concepts with Frame Semantics Natural Language Processing MCQ Questions, and prepare interviews through Frame Semantics Natural Language Processing Interview Questions and Answers.
Frame Semantics & FrameNet
Discover how Frame Semantics models meaning through event scenarios called 'frames', with frame elements and lexical units.
Frame Semantics & FrameNet
Frame Semantics is a rich theory of meaning developed by linguist Charles J. Fillmore. It proposes that to truly understand the meaning of a word, you must understand the entire cognitive background scenario (or "frame") that the word evokes.
The Core Insight
You cannot understand the word "to buy" in isolation. It only makes sense when you understand the entire commercial transaction scenario, which includes: a Buyer, a Seller, Goods, a Price, and a Place of Purchase.
Example: The COMMERCE_BUY Frame
Sentence: "Mary bought a laptop from the store for $1200."
| Frame Element Role | Value in Sentence |
|---|---|
| Buyer | Mary |
| Goods | a laptop |
| Seller | the store |
| Money (Price) | $1,200 |
Exploring FrameNet with NLTK
import nltk
from nltk.corpus import framenet as fn
# Look up a specific frame
commerce_frame = fn.frame('Commerce_buy')
print(f"Frame: {commerce_frame.name}")
print(f"Description: {commerce_frame.definition}")