Morphology in NLP
59 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the study of morphology in NLP?

  • Study of syntax
  • Study of sentence structure
  • Study of semantic meaning
  • Study of word structure (correct)
  • What is a morpheme?

  • A word pair
  • A sentence structure
  • The smallest grammatical unit of meaning (correct)
  • A type of syntactic category
  • Which of these is a derivational morpheme?

  • -s
  • un- (correct)
  • -ed
  • -ing
  • Which of these is a free morpheme?

    <p>dog</p> Signup and view all the answers

    What is stemming used for?

    <p>To group inflected forms of words</p> Signup and view all the answers

    Which NLP task often relies on morphological parsing?

    <p>Part-of-speech tagging</p> Signup and view all the answers

    What does a parse tree represent?

    <p>The grammatical structure of a sentence</p> Signup and view all the answers

    Which of the following is an example of inflectional morphology?

    <p>Adding the suffix -ed to a verb</p> Signup and view all the answers

    What is the main purpose of tokenization in NLP?

    <p>Splitting text into meaningful units</p> Signup and view all the answers

    What is a context-free grammar (CFG)?

    <p>A set of rules generating syntactically valid sentences</p> Signup and view all the answers

    What is syntactic ambiguity?

    <p>A sentence having multiple grammatical interpretations</p> Signup and view all the answers

    What is a probabilistic context-free grammar (PCFG)?

    <p>A CFG with probabilities assigned to production rules</p> Signup and view all the answers

    "I saw bats" contains which type of ambiguity?

    <p>Semantic</p> Signup and view all the answers

    The words "bank/data bank/blood bank" is an example of _______________.

    <p>Polysemy</p> Signup and view all the answers

    HMM are designed to model the joint distribution P(H, O), where H is the ________ state and O is the ________ state.

    <p>Hidden, Observed</p> Signup and view all the answers

    Elements of Semantic analysis

    <p>Hyponymy, Homonymy, Polysymy</p> Signup and view all the answers

    Which of the following is an example of irregular noun form?

    <p>Mouse</p> Signup and view all the answers

    What is the role of syntactic analysis in NLP?

    <p>Understanding sentence structure</p> Signup and view all the answers

    _______________ morphology is a type of word formation that creates new lexemes.

    <p>Derivational</p> Signup and view all the answers

    Which approach to WSD uses dictionaries or thesauri?

    <p>Dictionary-based</p> Signup and view all the answers

    What is syntactic structure used for in NLP?

    <p>To determine grammatical relationships in a sentence</p> Signup and view all the answers

    What is the primary challenge of syntactic analysis?

    <p>Resolving syntactic ambiguity</p> Signup and view all the answers

    Which NLP task is primarily concerned with analyzing sentence structure?

    <p>Syntactic analysis</p> Signup and view all the answers

    What is syntactic analysis?

    <p>Parsing the grammatical structure of sentences</p> Signup and view all the answers

    Which type of representation is used in syntactic analysis?

    <p>Parse tree</p> Signup and view all the answers

    Which term describes words that have the same spelling but different meanings?

    <p>Homonyms</p> Signup and view all the answers

    What is the goal of semantic parsing?

    <p>Extracting structured meaning from text</p> Signup and view all the answers

    Which algorithm is used for parsing sentences in CFG?

    <p>CYK algorithm</p> Signup and view all the answers

    What does statistical parsing rely on?

    <p>Probabilistic context-free grammars</p> Signup and view all the answers

    Which parsing technique uses probabilities to select the most likely parse tree?

    <p>Statistical parsing</p> Signup and view all the answers

    Which component of HMM represents transitions between states?

    <p>Transition probabilities</p> Signup and view all the answers

    What type of grammar is used in syntactic analysis?

    <p>Context-free grammar</p> Signup and view all the answers

    What is a top-down parsing algorithm?

    <p>Begins parsing from the root of the parse tree</p> Signup and view all the answers

    What are the two components of FST?

    <p>Transition and output probabilities</p> Signup and view all the answers

    What is bottom-up parsing?

    <p>Starts with the input symbols and builds up the parse tree</p> Signup and view all the answers

    What is the difference between statistical parsing and rule-based parsing?

    <p>Statistical parsing uses probabilities, while rule-based parsing uses fixed rules</p> Signup and view all the answers

    What is a dependency tree?

    <p>A tree showing grammatical relationships between words in a sentence</p> Signup and view all the answers

    What is head-dependent structure in syntactic analysis?

    <p>A grammatical relationship where one word governs another</p> Signup and view all the answers

    What is the difference between lemmatization and stemming?

    <p>Lemmatization provides root words, while stemming cuts endings</p> Signup and view all the answers

    What is a collocation in NLP?

    <p>Words that frequently co-occur together</p> Signup and view all the answers

    What is dependency parsing used for?

    <p>Identifying grammatical relationships between words</p> Signup and view all the answers

    What is lexical semantics?

    <p>Study of word meanings and relationships</p> Signup and view all the answers

    What is Word Sense Disambiguation (WSD)?

    <p>Determining the correct meaning of a word in context</p> Signup and view all the answers

    Which of the following is NOT a feature of lexical semantics?

    <p>Syntactic ambiguity</p> Signup and view all the answers

    What is the output of lemmatization?

    <p>Base form of a word</p> Signup and view all the answers

    What is Latent Semantic Analysis (LSA)?

    <p>A method for extracting hidden relationships between words</p> Signup and view all the answers

    What does semantic analysis in NLP focus on?

    <p>Meaning of words, phrases, and sentences</p> Signup and view all the answers

    Which of these represents relations among lexemes?

    <p>Synonyms and antonyms</p> Signup and view all the answers

    What is semantic role labeling?

    <p>Identifying the role of words in a sentence</p> Signup and view all the answers

    Which approach does LSA primarily rely on?

    <p>Statistical patterns in large corpora</p> Signup and view all the answers

    What is a corpus in POS tagging?

    <p>A large annotated collection of text used for training</p> Signup and view all the answers

    What is semantic similarity?

    <p>A measure of how similar two words or sentences are in meaning</p> Signup and view all the answers

    What is the purpose of a feature extraction step in NLP?

    <p>Converting text data into numerical representations</p> Signup and view all the answers

    Which type of morpheme conveys grammatical information?

    <p>Inflectional morpheme</p> Signup and view all the answers

    What is the challenge in machine translation systems?

    <p>Resolving semantic and syntactic ambiguity</p> Signup and view all the answers

    Which of the following is a measure of similarity between two sentences?

    <p>Cosine similarity</p> Signup and view all the answers

    What is semantic entailment in NLP?

    <p>One sentence logically follows from another</p> Signup and view all the answers

    What does HMM stand for in POS tagging?

    <p>Hidden Markov Model</p> Signup and view all the answers

    What type of morpheme cannot stand alone?

    <p>Bound morpheme</p> Signup and view all the answers

    Study Notes

    Morphology in NLP

    • Morphology in natural language processing (NLP) is the study of word structure
    • It focuses on how words are formed from smaller units called morphemes
    • Morphemes are the smallest meaningful units of language
    • Inflectional morphemes change the form of a word to indicate grammatical properties like tense or number
    • Derivational morphemes create new words by changing the word class or meaning
    • Free morphemes have independent meaning
    • Bound morphemes must combine with other morphemes to have meaning

    Morphemes

    • Morphemes are the smallest meaningful units of a word
    • Derivational morphemes modify the meaning or grammatical class of a word
    • Free morphemes like "dog" have an independent meaning
    • Bound morphemes, like "-ed" in "walked," need to combine with other morphemes to carry meaning

    Stemming

    • Stemming reduces inflected words to their root form
    • This is used for grouping similar words together for tasks in NLP
    • This process simplifies word forms and is generally faster than the alternative approach

    NLP Tasks

    • Part-of-speech (POS) tagging involves identifying the grammatical role of words in a sentence
    • Morphological parsing involves breaking down words into their morphological components
    • Semantic analysis focuses on the meaning of words and sentences in a language
    • Syntactic analysis focuses on the grammatical structure of sentences

    CFG and PCFG

    • Context-Free Grammars (CFG) are sets of rules describing how to build syntactically valid sentences
    • Probabilistic Context-Free Grammars (PCFG) extend CFGs by associating probabilities with productions rules.
    • PCFGs are used to model the likelihood of different syntactic structures in natural language
    • These models are essential for automatic parsing.

    Ambiguity

    • Ambiguity: A sentence can have multiple possible meanings or interpretations.
    • Syntactic ambiguity: A sentence can have more than one possible syntactic structure.
    • Lexical ambiguity: A word can have more than one meaning

    Dependency Parsing

    • Dependency parsing identifies the grammatical relationships between words in a sentence
    • These relationships are represented using directed acyclic graphs, where words are nodes and relationships are directed edges
    • Dependency parsing is a vital tool for automatic sentence structure analysis

    Word Sense Disambiguation (WSD)

    • Aims to determine the correct sense of a word in a given context.

    Semantic Role Labeling

    • Semantic role labeling (SRL) is a technique that identifies the role of each word in a sentence, in relation to the main verb.
    • E.g. who performed the action, what was the object
    • This is very important for many applications of natural language processing (NLP).

    Parse Trees

    • Parse trees are graphical representations of a sentence's grammatical structure.
    • They depict how words and phrases in a sentence combine based on syntactic rules
    • Parse trees aid in determining the grammatical relationships among words in a sentence

    Semantic Similarity

    • Measures the similarity in meaning between two words, phrases or sentences.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    NLP Quiz Questions PDF

    Description

    Explore the concepts of morphology and morphemes in natural language processing (NLP). This quiz covers the formation of words from morphemes, including inflectional and derivational types, as well as the process of stemming. Test your understanding of these fundamental aspects of NLP.

    More Like This

    Morphemes and Morphology
    10 questions
    Morphology and Morphemes Quiz
    7 questions
    Morphemes and Morphology Basics
    5 questions
    Morphology and Morphemes
    8 questions

    Morphology and Morphemes

    BelovedMermaid9861 avatar
    BelovedMermaid9861
    Use Quizgecko on...
    Browser
    Browser