1. Home
  2. Data Science
  3. Natural Language Processing (NLP)
  4. Which library in Python is commonly used for NLP tasks?

Added 28 Jan 2024

Which library in Python is commonly used for NLP tasks?

  1. TensorFlow
  2. PyTorch
  3. NLTK (Natural Language Toolkit) Correct answer
  4. Scikit-learn

Correct answer

C. NLTK (Natural Language Toolkit)

19 views

MCQSEXAM

Explanation

NLTK (Natural Language Toolkit) is the classic Python library for NLP, offering tokenisation, stemming, lemmatisation, POS tagging, parsing and many text corpora.

TensorFlow and PyTorch are general deep-learning frameworks and scikit-learn is a general machine-learning library. spaCy and Hugging Face Transformers are the other popular NLP-specific choices.

For more solved questions like this one, see Artificial Intelligence MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Natural Language Processing (NLP) MCQs

Practise all Natural Language Processing (NLP) MCQs

Similar MCQs