0% found this document useful (0 votes)
9 views4 pages

Text Processing Questions With Answers

The document contains a series of multiple choice, 2-mark, and 4-mark questions related to text processing in NLP, covering topics such as text normalization, tokenization, stop words, stemming, and lemmatization. It includes answers to each question, explaining key concepts and processes in text processing. The content emphasizes the importance of these techniques in preparing text data for machine understanding.

Uploaded by

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

Text Processing Questions With Answers

The document contains a series of multiple choice, 2-mark, and 4-mark questions related to text processing in NLP, covering topics such as text normalization, tokenization, stop words, stemming, and lemmatization. It includes answers to each question, explaining key concepts and processes in text processing. The content emphasizes the importance of these techniques in preparing text data for machine understanding.

Uploaded by

comp5
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Text Processing – Questions (MCQs, 2M, 4M)

Multiple Choice Questions (MCQs)


 1. What is the first step in text processing for NLP?
a) Tokenization
b) Lemmatization
c) Text Normalisation ✅
d) Parsing
 2. Which of the following is an example of a stop word?
a) Email
b) Study
c) The ✅
d) Computer
 3. What is the difference between stemming and lemmatization?
a) Stemming is slower than lemmatization
b) Lemmatization returns meaningful words ✅
c) Stemming returns more accurate results
d) Both are identical in operation
 4. What is a corpus in text processing?
a) A root word
b) A single sentence
c) Collection of documents ✅
d) A word token
 5. What is the purpose of converting text to lowercase during text normalization?
a) To improve grammar
b) To ensure case-insensitive comparison ✅
c) To increase data size
d) To remove stop words

2-Mark Questions (LOTS/MOTS)


 1. What is text normalization in NLP and why is it important?
 2. Define the term ‘token’ in text processing.
 3. List any two examples of stop words and explain their significance.
 4. What happens during the process of sentence segmentation?
 5. Explain the difference between stemming and lemmatization in one sentence each.

4-Mark Questions (HOTS)


 1. Explain the complete process of text normalization with appropriate examples for
each step.
 2. Suppose a chatbot is not responding accurately due to inconsistent word forms (like
'healed', 'healing', 'healer'). Explain how stemming and lemmatization can help resolve
this issue. Which one would be more effective and why?
 3. Analyze why it might be necessary to retain special characters and numbers in some
corpora and remove them in others, with examples.
 4. A student has a corpus containing medical reports. How should text normalization
steps be applied carefully considering domain-specific vocabulary and data integrity?
Answers – Text Processing Questions

Answers to Multiple Choice Questions


 1. c) Text Normalisation
 2. c) The
 3. b) Lemmatization returns meaningful words
 4. c) Collection of documents
 5. b) To ensure case-insensitive comparison

Answers to 2-Mark Questions (LOTS/MOTS)


 1. Text normalization is the process of cleaning and simplifying textual data so that it
becomes easier for machines to process. It helps reduce complexity by converting text
to a standard format.
 2. A token is any individual word, number, or special character extracted from a
sentence during tokenization.
 3. Examples of stop words include 'is' and 'the'. They are frequently occurring words
that don't carry significant meaning and can be removed to focus on important terms.
 4. Sentence segmentation is the step where a corpus is divided into individual
sentences, each treated as a separate unit of data.
 5. Stemming reduces a word to its root form without checking for meaningfulness (e.g.,
'studies' → 'studi'), while lemmatization reduces a word to its base form ensuring it is a
valid word (e.g., 'studies' → 'study').

Answers to 4-Mark Questions (HOTS)


 1. The text normalization process involves:
- Sentence Segmentation: Splitting the corpus into sentences.
- Tokenization: Breaking each sentence into words or tokens.
- Removing Stop Words and Special Characters: Filtering out irrelevant words like 'is',
'the', and possibly unwanted symbols.
- Lowercasing: Converting all text to lowercase to ensure uniformity.
- Stemming: Reducing words to their base form (e.g., 'healing' → 'heal') or
- Lemmatization: More accurate, returns valid dictionary words (e.g., 'studies' →
'study').
 2. Stemming and lemmatization help unify different forms of the same word. For
example, 'healed', 'healing', and 'healer' will all become 'heal'. Lemmatization is more
effective because it ensures the resulting words are meaningful, which is crucial for
chatbot understanding.
 3. In some corpora like emails or programming documents, special characters and
numbers (e.g., '@', '123') are meaningful and should be retained. In literature or
reviews, such characters may not add value and can be removed to reduce noise in data.
 4. In a medical corpus, apply:
- Careful sentence segmentation to handle abbreviations.
- Custom stop word list to retain important words like 'no', 'less'.
- Preserve numbers and units like '500mg'.
- Apply lowercasing with caution for acronyms (e.g., 'HIV').
- Prefer lemmatization to retain meaningful clinical terminology.

Common questions

Powered by AI

Retaining special characters and numbers can be necessary in text processing when these elements carry significant meaning, such as in emails or programming documents. In these contexts, characters like '@' or numbers provide essential information. In contrast, they may be irrelevant in literary texts where such characters could introduce noise .

Text normalization enhances the processability of textual data by cleaning and simplifying it to convert into a standard format, thus reducing complexity. This involves converting text to lowercase for uniformity, removing stop words, and applying stemming or lemmatization to unify word forms while preserving semantics .

Lemmatization improves the performance of NLP applications by returning valid dictionary words, which enhances semantic clarity and interpretation accuracy. Unlike stemming, which can produce non-words causing potential misinterpretations, lemmatization provides consistency and contextual correctness crucial for accurate text analysis and application performance .

Using stemming in a chatbot application implies reduced computational complexity but less accurate conversion to base forms, which might lead to semantically incorrect interpretations. Lemmatization, while computationally intensive, ensures returned words are meaningful and contextually correct, thus more effective for understanding and response accuracy in chatbot applications .

Maintaining domain-specific vocabulary integrity during text normalization is crucial, especially in specialized corpora like medical reports, to prevent loss of critical information. In such contexts, steps like custom stop word lists, careful handling of abbreviations, and preference for lemmatization over stemming preserve necessary domain-specific terms and ensure data utility and accuracy .

In a corpus with domain-specific language, sentence segmentation should account for unique syntactic structures, such as abbreviations and technical terms in medical reports. Approaches must include sophisticated parsing techniques to accurately identify sentence boundaries without unduly fragmenting meaningful medical expressions, thus maintaining data integrity while ensuring optimal readability and processability .

Stop words are frequently occurring words with minimal semantic value, such as 'is' and 'the'. Their removal in NLP tasks benefits by reducing data complexity and focusing the analysis on more meaningful terms. This leads to improved performance and reduction in processing overhead for algorithms .

Stemming contributes to resolving inconsistent word forms by reducing words to their root forms. For instance, words like 'healed', 'healing', and 'healer' are reduced to 'heal', unifying variant forms into a single base for easier processing and analysis, streamlining interpretation and consistency in language applications .

Challenges from converting all text to lowercase include loss of case sensitivity, which may be important for proper nouns or acronyms like 'NASA'. These can lead to misinterpretation. Such challenges can be mitigated by applying case conversion selectively or maintaining case for specific entities through custom rules and exceptions in the normalization process .

Sentence segmentation divides a text corpus into individual sentences, which are treated as separate units of data. This separation enables more accurate tokenization and ensuing processes like normalization, allowing NLP algorithms to manage, analyze, and infer from text data with clarity. It provides structural order and reduces complexity in text processing .

You might also like