0% found this document useful (0 votes)
64 views

[4th NLP'22] Final Exam

The document is a final exam for a Natural Language Processing course at Ain Shams University, covering various topics including NLP applications, search engine challenges, and specific NLP tasks. It consists of four questions with a total of 65 marks, requiring students to complete statements, justify applications, discuss search engine characteristics, and implement NLP tasks on given case studies. The exam is intended for 4th-year undergraduate computer science students for the academic year 2021-2022.

Uploaded by

sahar kamal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

[4th NLP'22] Final Exam

The document is a final exam for a Natural Language Processing course at Ain Shams University, covering various topics including NLP applications, search engine challenges, and specific NLP tasks. It consists of four questions with a total of 65 marks, requiring students to complete statements, justify applications, discuss search engine characteristics, and implement NLP tasks on given case studies. The exam is intended for 4th-year undergraduate computer science students for the academic year 2021-2022.

Uploaded by

sahar kamal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

FCIS – Ain Shams University Instructor: Prof.

Zaki Taha
Subject: CSC340 Natural Language Processing Dr. Sally Saad
Exam: (Final) 18/6/2022 Offering Dept.: Computer Science
Year: 4th year undergraduate (CS) Academic year: 2021-2022
Duration: 2 hours

Answer the following 4 questions: (Total marks: 65)


Question 1
Complete the following statements marks:20
a)

1) Natural Language Processing pipeline includes ………………, ……………….., and ………… .


2) ………………..is used to ascertain which sense of a word is being used in a sentence.
3) Natural Language Processing field is an intersection of the fields ……., ………, and ……….. .
4) The most commonly used English stemmer is ………… .
5) Example of two sentences having homonym words are ……………., and …………….. .
6) Three of the NLP common applications are …………., ……………………, and ..…………. .
7) Examples on two sentences having homophones words are ……………., and …………….. .
8) The process of separating the word “‫ ”أنلز مكموها‬into different parts resembling 7-English
words is called ……………….. .
9) Zipf's law mathematical rule is ……………., with the variables’ meaning ……………..
10) Text Summarization can either be ………. Or ……………. .
Question 2
State at least two NLP applications (not preprocessing tasks) that can be used in
the following scenarios. JUSTIFY your Answer. marks: 15

1) Writing an email to a friend.


2) Using Siri as a Voice assistant.
3) Texting a Customer Service Chatbot.

Question 3
Answer the following Questions regarding the Search Engines. marks:15
Search Engines are one of the most common applications in NLP.
1) State briefly three challenges that may encounter the work of a search engine.
2) What are the three main characteristics that should be found in a search
engine?
3) State briefly how do the following searching techniques work?
a. Bi-Word Indexes.
b. Positional Indexes.
c. Ranked Retrieval Search.

Question 4
Implement the following NLP tasks on the given Case study.
marks: 15
‫ ذهب محمد ونادر إىل المدرسة‬.1
. ‫ ثم قابال أصدقائهما ولعبوا فرحي ف المدرسة‬.2

Consider each statement as a separate document.


Show the output of each document after:
1) Normalization and Stop Words Removal. (2 marks)
2) POS Tagging (Show only tags not the tree) and Named Entity Recognition. (2marks)

Page 1 of 2
3) Tokenization and Lemmatization. (2 marks)
4) Compute the Tf-Idf for each document/word, showing the following tables: (9 marks)
a. Bag of Words and Term Frequency Tables.
b. Inverse Document Frequency Table.
c. TF-IDF Table.
Given the following POS Tags to be used

Abbreviation Meaning

S sentence; subject

VBD Verb, past tense

PP prepositional phrase

IN Preposition or subordinating
conjunction

VP Verbal phrase

NP noun phrase

DTNN Determiner

JJ Adjective

NN Noun, singular or mass

PUNC punctual aspect

CC Coordinating conjunction

With our best wishes,


Prof. Zaki Taha
And Dr. Sally S.Ismail `

Page 2 of 2

You might also like