Question
Which natural language processing (NLP) technique is
best suited for understanding the contextual meaning of words in a sentence?Solution
Transformers like BERT (Bidirectional Encoder Representations from Transformers) have revolutionized NLP by capturing contextual word representations. Unlike traditional techniques, BERT processes words in both their preceding and succeeding contexts, enabling nuanced understanding. 1. Contextual Embeddings: BERT generates embeddings that vary depending on the surrounding words, addressing issues like polysemy (e.g., "bank" as a financial institution vs. a riverbank). 2. Bidirectionality: By analyzing text in both directions, BERT captures deeper linguistic patterns and relationships. 3. Pretraining and Fine-Tuning: BERT is pretrained on vast corpora and fine-tuned for specific NLP tasks, making it versatile for applications like sentiment analysis, question answering, and translation. Why Other Options Are Incorrect: • A) Bag of Words: Ignores word order and context, treating sentences as a collection of words. • B) One-Hot Encoding: Fails to capture semantic relationships between words. • C) Word2Vec: Generates static word embeddings, lacking context sensitivity. • D) TF-IDF: Focuses on word importance across documents but overlooks word order and meaning.
In each of the following questions, a question is followed by information given in three statements. You have to study the question along with the stat...
What is the circumference of semi-circle (in cm)?
I. Area of the semi-circle is half of the area of a parallelogram.
II. The length of the...
What was the sum of the ages of the father and the daughter 5 years earlier?
A.  Ratio of the father’s present age to the daughter’s age af...
What was the percentage of discount offered?
I) Profit earned by selling the article for Rs. 324 after giving a discount was Rs. 24.
II) H...
A real estate investor owns three properties: X, Y, and Z. What is the total profit earned from these properties after selling them?
Statements:...
In an 800-meter race involving 'Amit', 'Bhanu', and 'Chinky', calculate the distance 'Amit' was ahead of 'Chinky'.
Statement I : 'Amit' finishes...
What was the profit earned by selling an article?
I: The article was sold for Rs 850 after getting a discount of 15% on the labelled price.
<...What is the profit percentage earned on the mobile?
Statement I: 50% of the sum of the selling prices of the mobile and TV is Rs. 5400 more than ...
How old is Jack?
I. After 20 years, Jack will be twice as old as he is today.
II. Five years ago, Jack was ¾ times of his present age.
What is the profit percent or loss percent incurred in the transaction?
I. 5% discount is given on the marked price.
II. Cost price is 10%...