لماذا يغيّر السياق معنى الكلمة
Bank بمعنى ضفة النهر مقابل Bank بمعنى المال
لماذا يغيّر السياق معنى الكلمة درس مجاني في NLP Academy على CoddyKit. هذا هو الدرس 1 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في NLP Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة NLP Academy 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
One Word, Many Meanings
The word bank can mean a river edge or a place for money. Its meaning depends entirely on the context around it.
Static Vectors Fall Short
word2vec and GloVe give each word one fixed vector. So bank gets a single static meaning, no matter the sentence it appears in.
See the Problem
These two sentences use bank in opposite ways, yet a static model hands them the very same vector for the word.
s1 = "sit on the bank of the river"
s2 = "deposit cash at the bank"Humans Read Context
You instantly know which bank is meant because you read the surrounding words. Meaning lives in context, not in the word alone.
Enter Contextual Embeddings
A contextual model gives bank a different vector in each sentence. The embedding now shifts to fit its context every time. ✨
Meet BERT
BERT is a transformer that reads a whole sentence at once and produces context-aware vectors. It is built around attention over all the words.
Reading Both Directions
BERT looks at words on the left and the right of each token together. That two-way view is what bidirectional means.
Same Token, New Vector
Feed both river and money sentences to BERT and bank comes out with two distinct vectors. The embedding tracks the sentence.
Polysemy Solved
Words with many senses, called polysemy, used to confuse static models. Contextual embeddings finally separate those senses cleanly.
Why It Matters
Search, translation, and question answering all improve when a model truly grasps which meaning a word carries right now.
The Big Shift
Moving from one vector per word to one per usage was a turning point. This is the heart of modern NLP.
Quick Check
What makes contextual embeddings different from static ones?
Recap
Static vectors trap each word in one meaning. Contextual embeddings from BERT shift per sentence, capturing the right sense. ✅
الأسئلة الشائعة
هل درس «لماذا يغيّر السياق معنى الكلمة» مجاني؟
نعم — نص درس «لماذا يغيّر السياق معنى الكلمة» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة NLP Academy، انتقل إلى CoddyKit PRO. تتضمن دورة NLP Academy 4 دروس في المجموع.
ماذا ستتعلم في «لماذا يغيّر السياق معنى الكلمة»؟
Bank بمعنى ضفة النهر مقابل Bank بمعنى المال تتمرن على NLP Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ NLP Academy؟
لا تُشترط خبرة سابقة. NLP Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 1 من أصل 4.
كم من الوقت يستغرق درس «لماذا يغيّر السياق معنى الكلمة»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس NLP Academy هذا؟
نعم. كل درس في NLP Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- لماذا يغيّر السياق معنى الكلمة
- نمذجة اللغة المقنّعة
- تضمين الجمل باستخدام BERT
- اختيار النموذج المدرّب مسبقًا المناسب