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.
Which of the following rules of interpretation is applied when the words of a statute are clear and unambiguous, and there is no need to infer the inten...
Which of the following is true of a Simple Mortgage under Section 58(b) of the Transfer of Property Act?Â
What is the legal status of a contract where the performance of the agreed-upon act, after the contract is made, becomes impossible or unlawful due to a...
Which chapter of the Bharatiya Nagarik Suraksha Sanhita, 2023, deals with the processes that compel the production of documents?
What happens to a contingent contract if the uncertain future event it depends on does not occur as per the provisions of the Contract Act?
What does "fixed term employment" mean according to the Code on Social Security?
Which of the following is not true about High Courts in India?
Consider the following statements with respect to Section 65 (tampering with computer source documents) of the IT Act, 2000:
1. The section appli...
JECFA is an international scientific expert committee that has been meeting to evaluate the food safety of
What is the minimum number of members required to form a public company?