Question (49th BCS Written (Special); Subject Code: ICT-281; Exam: 10.10.2025): The main challenge of NLP is:
a) ambiguity of sentences
b) parts of speech tagging
c) syntactic analysis
d) tokenization
Why it matters: Exams touch this chapter from three sides. One-mark questions ask a single fact: the main challenge of NLP, which method turns words into vectors that carry meaning, and what OCR is and what it stands for (four different papers, from Janata Bank, BREB, BTRC and Sonali and Janata Bank, 2015 to 2020, asked the OCR one in different words). Written questions ask you to explain: NLP and its major techniques (Combined Bank, 31 October 2026), the objectives of Canny edge detection (BPSC, 2022), OCR against OMR (NPCBL, 2022), and how a citizen-service chatbot should work (Combined Bank, 2025). Everything those questions need is taught below, and then we go further: you will compute TF-IDF, train a toy word2vec, score a translation, run Canny by hand and judge a detector with IoU and AP.
A customer types into a bank's app: "সেবা ভালো না, অ্যাপ বারবার আটকে যায়।" At the same moment, a camera above the vault door sees a face, a motorbike and a shadow. On the manager's desk, a cheque has just come back from the scanner as a grey picture with a handwritten amount. Three very different things: a sentence, a video frame, a page. A person handles all three without effort. A computer handles none of them, because all it can hold is numbers.
So this chapter is about one question asked twice: how do you turn language into numbers, and a picture into numbers, so that a program can still find the meaning? The first half is natural language processing (NLP): preparing text, counting methods (bag of words, TF-IDF), learned word vectors (word2vec, GloVe), and the jobs built on them: sentiment, translation, chatbots, speech, and Bangla with its own traps. The second half is computer vision: pixels, cleaning an image, OCR, edges (Canny), finding objects (IoU, NMS, YOLO), judging a detector (AP) and telling faces apart.