NLP Notes
NLP Notes
Q. 1. What is a Chabot?
A. A chatbot is a computer program that's designed to simulate human
conversation through voice commands or text chats or both. Eg: Mitsuku Bot,
Clever Bot etc.
Q. 2. What is NLP (or) Define NLP.
A. Natural Language Processing is a domain of Artificial Intelligence that deals
with the interaction between computers and humans using the natural language
spoken and written by humans. The ultimate objective of NLP is to read, decipher,
understand and make sense of human language in a manner that is valuable. It
bridges the gap between human language and machine language.
Q. 3. What is Syntax and Semantics in NLP
A. Syntax: Syntax refers to the grammatical structure of a sentence.
Semantics: It refers to the meaning of the sentence.
Q. 4. What is the full form of TFIDF?
A. Term Frequency and Inverse Document Frequency
Q. 5. What is meant by a dictionary in NLP?
A. Dictionary in NLP means a list of all the unique words occurring in the corpus.
If some words are repeated in different documents, they are all written just once as
while creating the dictionary.
Q. 6. What is term frequency?
A. Term frequency is the frequency of a word in one document. Term frequency
can easily be found from the document vector table as in that table we mention the
frequency of each word of the vocabulary in each document.
Q. 7. Which package is used for Natural Language Processing in Python
programming?
A. Natural Language Toolkit (NLTK). NLTK is one of the leading platforms for
building Python programs that can work with human language data.
Q. 8. What is a document vector table?
A. Document Vector Table is used while implementing Bag of Words algorithm. In
a document vector table, the header row contains the vocabulary of the corpus and
other rows correspond to different documents. If the document contains a particular
word it is represented by 1 and absence of word is represented by 0 value.
Q. 9. What do you mean by corpus?
A. In Text Normalization, we undergo several steps to normalize the text to a lower
level. That is, we will be working on text from multiple documents and the term
used for the whole textual data from all the documents altogether is known as
corpus.
Q. 10. Differentiate between a script-bot and a smart-bot.
A.
Script-bot Smart-bot
A Scripted chatbot doesn’t carry even a Smart bots are built on NLP and ML.
glimpse of A.I.
Script bots are easy to make. Smart-bots are comparatively difficult to
make.
Script bot functioning is very limited as Smart-bots are flexible and powerful.
they are less powerful.
Script bots work around a script which Smart bots work on bigger databases
is programmed in them. and other resources directly.
No or little language processing skills NLP and ML skills are required.
Limited functionality. Wide functionality.