Skip to content
AD-802 (A) · Natural Language Processing/Quick Revision Short Notes

Natural Language Processing (AD-802 (A)) - Unit 2 Short Notes

How unit 2 is examined

This unit covers the levels of linguistic analysis (sounds, words, sentences, meaning, use) and the word-level tools built on them; no question has been asked recently, so every topic is short but complete.

Linguistic essentials: Phonetics and Phonology

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Phonetics studies the physical production and perception of speech sounds, while phonology studies how a language organises those sounds into patterns and meaningful units called phonemes.</mark>

Key points.

  1. Phonetics has three branches: articulatory (how sounds are produced), acoustic (their waves) and auditory (how they are heard).
  2. A phoneme is the smallest sound unit that changes meaning, for example /p/ and /b/ separate "pat" and "bat".
  3. Allophones are variants of one phoneme that do not change meaning.
  4. NLP uses these ideas in speech recognition and text-to-speech.

Morphology: Morphens

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Morphology is the study of the internal structure of words, and a morpheme is the smallest meaningful unit of a language.</mark>

Key points.

  1. A free morpheme can stand alone as a word ("book"), whereas a bound morpheme must attach to another ("-s", "un-").
  2. Bound morphemes are either derivational (they create a new word or class, as in "happy" to "happiness") or inflectional (they add grammatical information such as plural or tense).
  3. "Unhappiness" has three morphemes: un- + happy + -ness.
  4. A root carries the core meaning and affixes (prefix, suffix, infix, circumfix) modify it.

Syntax

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Syntax is the study of how words combine into phrases and grammatical sentences according to the rules of a language.</mark>

Key points.

  1. Syntax works with word order and grammatical categories such as noun, verb and phrase.
  2. Sentence structure is shown by a parse tree built from grammar rules such as S to NP VP.
  3. A sentence can be grammatical yet meaningless ("Colourless green ideas sleep furiously").
  4. Syntactic analysis, or parsing, is the NLP task that recovers this structure.

Semantics

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Semantics is the study of the literal meaning of words, phrases and sentences, independent of the context of use.</mark>

Key points.

  1. Lexical semantics deals with word meaning and sense relations such as synonymy, antonymy, hyponymy and polysemy.
  2. Compositional semantics builds the meaning of a sentence from the meanings of its parts and their structure.
  3. Ambiguity is the central problem: "bank" may mean a river edge or a financial institution.
  4. NLP represents meaning using logic and performs word sense disambiguation.

Pragmatics

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Pragmatics is the study of how context, speaker intention and shared knowledge shape the meaning of an utterance beyond its literal content.</mark>

Key points.

  1. "Can you pass the salt?" is literally a question but pragmatically a request (speech act).
  2. Deixis words such as "I", "here" and "now" depend on the speaker and situation.
  3. Implicature is meaning implied but not stated, guided by Grice's maxims of quantity, quality, relation and manner.
  4. Semantics gives literal meaning; pragmatics adds intended meaning.

Semiotics

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Semiotics is the study of signs and symbols and of how they create and communicate meaning.</mark>

Key points.

  1. A sign joins a signifier (the form, such as a word or image) with a signified (the concept it stands for).
  2. Peirce classified signs as icon (resembles the object), index (points to it, like smoke for fire) and symbol (arbitrary convention, like words).
  3. Language is a system of symbols whose meaning is agreed by convention.
  4. It helps explain meaning in text, emoji and multimodal data.

Discourse Analysis

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Discourse analysis studies language beyond the single sentence, examining how sentences connect to form coherent text or conversation.</mark>

Key points.

  1. Cohesion is the surface linking of sentences using pronouns, conjunctions and repetition.
  2. Coherence is the logical, meaningful flow that makes a text make sense as a whole.
  3. Anaphora resolution links a pronoun to its earlier referent, as in "Ravi left because he was tired".
  4. NLP uses it in summarisation, dialogue systems and coreference resolution.

Psycholinguistics

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Psycholinguistics is the study of the mental processes by which humans acquire, comprehend, produce and store language.</mark>

Key points.

  1. Its main areas are language acquisition, comprehension, production and the mental lexicon.
  2. Garden-path sentences ("The horse raced past the barn fell") show that people parse incrementally and may need to reanalyse.
  3. Priming shows that related words are activated together in memory.
  4. Its findings inspire cognitively motivated NLP models.

Corpus Linguistics

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Corpus linguistics studies language by analysing large, real-world collections of text or speech called corpora, using empirical and statistical methods.</mark>

Key points.

  1. A corpus is a large, machine-readable, representative body of authentic text, for example the Brown Corpus.
  2. Annotated corpora carry labels such as POS tags or parse trees, and treebanks are the syntactic kind.
  3. Typical outputs are word frequencies, concordances and collocations.
  4. Corpora are the training and test data for statistical NLP.

Word Formation Processes

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Word formation processes are the ways a language creates new words from existing material.</mark>

Key points.

  1. Derivation adds prefixes or suffixes to change meaning or class ("teach" to "teacher").
  2. Compounding joins two words ("blackboard"); inflection only changes grammatical form ("walk" to "walked").
  3. Other processes are conversion (noun to verb, "email"), blending ("brunch"), clipping ("phone"), acronyms ("NASA") and back-formation ("edit" from "editor").
  4. Reduplication repeats a word or part of it, common in Hindi ("chhota-chhota").

Morphological analysis

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>Morphological analysis breaks a word into its root and affixes and identifies their grammatical features.</mark>

Key points.

  1. For "cats" it returns root "cat" + plural suffix -s, so it gives both structure and features.
  2. Stemming crudely chops suffixes ("studies" to "studi") and needs no dictionary.
  3. Lemmatization uses a lexicon and morphology to return the valid base form ("better" to "good").
  4. It reduces vocabulary size and helps search, translation and tagging.

Morphological Finite State Transducers

<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>

Definition. <mark>A finite state transducer (FST) is a finite automaton with two tapes that maps an input string to an output string, so it can convert between the surface form of a word and its lexical form.</mark>

Key points.

  1. Each arc carries a pair input:output, and the machine reads a surface word while writing its analysis.
  2. Example: surface "cats" maps to lexical "cat +N +PL".
  3. The same FST works in both directions, for analysis (parsing) and generation.
  4. Spelling changes such as "fox" + "s" to "foxes" (e-insertion) are handled by orthographic rules compiled as FSTs, which are cascaded with the lexicon.

Last-minute revision

  • Phonetics is speech sounds; phonology is sound patterns; the phoneme is the smallest meaning-changing sound.
  • A morpheme is the smallest meaningful unit; free morphemes stand alone, bound ones do not.
  • Derivational morphemes change word or class; inflectional ones add grammar only.
  • Syntax is sentence structure; semantics is literal meaning; pragmatics is meaning in context.
  • Grice's maxims: quantity, quality, relation, manner.
  • Peirce's signs: icon, index, symbol.
  • Cohesion is surface linking; coherence is logical flow.
  • A corpus is a large annotated text collection; a treebank holds parse trees.
  • Word formation: derivation, compounding, conversion, blending, clipping, acronym, back-formation.
  • Stemming chops suffixes; lemmatization returns the dictionary form.
  • An FST maps surface to lexical form ("cats" to "cat +N +PL") in both directions.

Memory hooks

  • Levels of language, small to big: Sounds, Morphemes, Syntax, Semantics, Pragmatics, Discourse.
  • Icon looks like it, index points to it, symbol is agreed.
  • Stem is stupid (chops), lemma is learned (lexicon).
  • FST has two tapes: surface in, lexical out.

Coverage checklist

  • Linguistic essentials: Phonetics and Phonology: definition, phoneme, branches (no past questions).
  • Morphology: Morphens: morpheme types (no past questions).
  • Syntax: parse structure (no past questions).
  • Semantics: lexical and compositional meaning (no past questions).
  • Pragmatics: speech acts, implicature (no past questions).
  • Semiotics: sign types (no past questions).
  • Discourse Analysis: cohesion, coherence (no past questions).
  • Psycholinguistics: language processing in the mind (no past questions).
  • Corpus Linguistics: corpora and treebanks (no past questions).
  • Word Formation Processes: derivation, compounding and others (no past questions).
  • Morphological analysis: root, affixes, stemming vs lemmatization (no past questions).
  • Morphological Finite State Transducers: two-tape FST (no past questions).
Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in