Class 10 Artificial Intelligence
Natural Language Processing
52 Class 10 Artificial Intelligence questions on Natural Language Processing from the CBSE board papers 2022–2026, each with its answer and a step-by-step solution.
Questions · page 3 of 3
- Q41 CBSE 2023Define Chatbot. What are its types ?Step-by-step solution →
Show answer
A chatbot is a program that converses with a person in human language; its two types are the script-bot and the smart-bot.
A chatbot is a computer program that holds a conversation with a person in ordinary human language and answers questions or carries out tasks. Its two types are the script-bot, which follows a fixed script, and the smart-bot, which is flexible and powerful. - Q42 CBSE 2023With reference to data processing, expand the term TFIDF. Also give any two applications of TFIDF.Step-by-step solution →
Show answer
TFIDF is Term Frequency - Inverse Document Frequency; applications include document classification and information retrieval in search engines.
TFIDF stands for Term Frequency - Inverse Document Frequency. Two of its applications are document classification and information retrieval in search engines; topic modelling and stop-word filtering are equally acceptable. - Q43 CBSE 2023Create a document vector table from the following documents by implementing all the four steps of Bag of words model. Also depict the outcome of each step. Document 1 : Sameera and Sanya are classmates. Document 2 : Sameera likes dancing but Sanya loves to study mathematics.Step-by-step solution →
Show answer
The 12-word dictionary gives the vectors for Document 1 and for Document 2.
Step 1, text normalisation: both sentences are lower-cased, their full stops removed and the words tokenised; no stop word is dropped. Step 2, the dictionary holds the 12 unique words of the corpus: sameera, and, sanya, are, classmates, likes, dancing, but, loves, to, study, mathematics. Step 3, each dictionary word is counted in each document, giving a vector of 12 numbers per document. Step 4, the two vectors form the document vector table below. - Q44 CBSE 2022What is NLP ?Step-by-step solution →
Show answer
NLP is the sub-field of AI that enables computers to understand and process human languages.
NLP (Natural Language Processing) is the sub-field of AI that enables computers to understand and process human languages, spoken or written. - Q45 CBSE 2022Mention any two commonly used applications of NLP.Step-by-step solution →
Show answer
Two applications of NLP are virtual assistants such as Siri and Alexa, and sentiment analysis of reviews.
Two applications of NLP are virtual assistants (such as Siri and Alexa) and sentiment analysis of customer reviews. - Q46 CBSE 2022Name any two currently popular virtual assistants.Step-by-step solution →
Show answer
Google Assistant and Amazon Alexa are two popular virtual assistants.
- Q47 CBSE 2022Name the process of dividing whole corpus into sentences.Step-by-step solution →
Show answer
The process is sentence segmentation.
Sentence segmentation. - Q48 CBSE 2022What is Tokenization ? Count how many tokens are present in the following statement : I find that the harder I work, the more luck I seem to have.Step-by-step solution →
Show answer
Tokenisation divides a sentence into tokens; the given statement has 16 tokens (14 words, one comma and one full stop).
Tokenisation is the step of text normalisation in which each sentence is divided into tokens, every word, number and special character being a separate token. The given statement has 16 tokens: 14 words, one comma and one full stop. - Q49 CBSE 2022Kaira, a beginner in the field of NLP is trying to understand the process of Stemming. Help her in filling up the following table by suggesting appropriate affixes and stem of the words mentioned there :
S. No. Word Affixes Stem i. Tries ii. Learning Step-by-step solution →Show answer
Tries has affix -es and stem tri; Learning has affix -ing and stem learn.
(i) Tries: affix -es, stem tri. (ii) Learning: affix -ing, stem learn. - Q50 CBSE 2022Explain the following picture which depicts one of the processes on NLP. Also mention the purpose which will be achieved by this process.Step-by-step solution →
Show answer
The picture shows conversion to a common (lower) case in text normalisation, so the machine does not treat the same word as different words.
The picture shows converting text to a common case, a step of text normalisation: all six forms of the word (HELLO, HeLlo, HELLo, hELLO, hElLO, HellO) are converted to lower case, hello. Purpose: the case-sensitive machine does not treat the same word as different words just because of its case. - Q51 CBSE 2022Consider the text of following documents : Document 1 : Sahil likes to play cricket Document 2 : Sajal likes cricket too Document 3 : Sajal also likes to play basketball Apply all the four steps of Bag of words model of NLP on the above given documents and generate the output.Step-by-step solution →
Show answer
The nine-word dictionary gives the vectors , and for Documents 1 to 3.
Step 1, text normalisation: the documents are put in lower case and split into tokens, with no stop word removed for so small a corpus. Step 2, the dictionary holds nine words: sahil, likes, to, play, cricket, sajal, too, also, basketball. Step 3, each document's words are counted into a vector. Step 4, the three vectors form the document vector table below, which is the output. - Q52 CBSE 2022With reference to NLP, explain the following terms in detail with the help of suitable example : Term frequency Inverse Document FrequencyStep-by-step solution →
Show answer
TF is a word's frequency in one document; IDF is total documents divided by documents containing the word; TFIDF gives rare words high value.
Term frequency is the frequency of a word in one document; it is read from the document vector table (in Sajal likes cricket too, TF(cricket) = 1). Inverse document frequency is the total number of documents divided by the number of documents in which the word occurs. For the corpus Sahil likes to play cricket / Sajal likes cricket too / Sajal also likes to play basketball, likes occurs in all 3, so IDF , while basketball occurs in 1, so IDF . Together, TFIDF gives common words low value and rare words high value.