AML-2304 Natural Language ProcessingMidterm(20% of Final grade) AnswersI NSTRUCTOR : Vahid Hadavi, PhD, P.EngC LASS : AML-2304 Please follow Exam Instruction : This Exam includes 20 multiple choice questions, and 5 short answer questions. Read all questions carefully. Just pencil is acceptable for Scantron sheet. Write your name and student ID in front page correctly. Time allowed: 60 minD ATE :...S TUDENT N AME : ...S TUDENT N UMBER : ...2021 LAMBTON COLLEGE IN TORONTOSection 1: Multiple Choice Question Mark: 601. In text mining, converting text into tokens and then converting them into an integer or floating-point vectors can be done usinga. CountVectorizerb. TF-IDFc. Bag of Wordsd. NERsAns: a)CountVectorizer helps do the above, while others are not applicable.text =[Rahul is an avid writer, he enjoys studying understanding and presenting. He loves to play]vectorizer = CountVectorizer()vectorizer.fit(text)vector = vectorizer.transform(text)print(vector.toarray())output [[1 1 1 1 2 1 1 1 1 1 1 1 1 1]]The second section of the interview questions c overs advanced NLP techniques such as Word2Vec, GloVe word embeddings, and advanced models such as GPT, ELMo, BERT, XLNET based questions, and explanations.2. The following areas where NLP can be useful -A. Automatic Text SummarizationB. Information RetrievalC. Automatic Question-Answering SystemsD. All of