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 (A)</p> Signup and view all the answers

What is stemming used for?

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

Which NLP task often relies on morphological parsing?

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

What does a parse tree represent?

<p>The grammatical structure of a sentence (B)</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 (A)</p> Signup and view all the answers

What is the main purpose of tokenization in NLP?

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

What is a context-free grammar (CFG)?

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

What is syntactic ambiguity?

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

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

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

"I saw bats" contains which type of ambiguity?

<p>Semantic (C)</p> Signup and view all the answers

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

<p>Polysemy (D)</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 (B)</p> Signup and view all the answers

Elements of Semantic analysis

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

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

<p>Mouse (B)</p> Signup and view all the answers

What is the role of syntactic analysis in NLP?

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

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

<p>Derivational (A)</p> Signup and view all the answers

Which approach to WSD uses dictionaries or thesauri?

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

What is syntactic structure used for in NLP?

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

What is the primary challenge of syntactic analysis?

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

Which NLP task is primarily concerned with analyzing sentence structure?

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

What is syntactic analysis?

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

Which type of representation is used in syntactic analysis?

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

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

<p>Homonyms (C)</p> Signup and view all the answers

What is the goal of semantic parsing?

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

Which algorithm is used for parsing sentences in CFG?

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

What does statistical parsing rely on?

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

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

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

Which component of HMM represents transitions between states?

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

What type of grammar is used in syntactic analysis?

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

What is a top-down parsing algorithm?

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

What are the two components of FST?

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

What is bottom-up parsing?

<p>Starts with the input symbols and builds up the parse tree (D)</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 (C)</p> Signup and view all the answers

What is a dependency tree?

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

What is head-dependent structure in syntactic analysis?

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

What is the difference between lemmatization and stemming?

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

What is a collocation in NLP?

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

What is dependency parsing used for?

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

What is lexical semantics?

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

What is Word Sense Disambiguation (WSD)?

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

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

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

What is the output of lemmatization?

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

What is Latent Semantic Analysis (LSA)?

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

What does semantic analysis in NLP focus on?

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

Which of these represents relations among lexemes?

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

What is semantic role labeling?

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

Which approach does LSA primarily rely on?

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

What is a corpus in POS tagging?

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

What is semantic similarity?

<p>A measure of how similar two words or sentences are in meaning (A)</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 (C)</p> Signup and view all the answers

Which type of morpheme conveys grammatical information?

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

What is the challenge in machine translation systems?

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

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

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

What is semantic entailment in NLP?

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

What does HMM stand for in POS tagging?

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

What type of morpheme cannot stand alone?

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

Flashcards

Morphology in NLP

The study of word structure, specifically how words are built from smaller meaningful units called morphemes.

Morpheme

The smallest unit of meaning in a language. It can be a word, a part of a word, or a combination of words that has a single meaning.

Derivational morpheme

A morpheme that changes the meaning or grammatical category of a word. It can be a prefix, suffix, or infix.

Free morpheme

A morpheme that can stand alone as a word. It carries its own meaning and doesn't need another morpheme.

Signup and view all the flashcards

Stemming

A process used in NLP to reduce words to their base or root form. It removes inflectional endings and suffixes, often used for searching and indexing.

Signup and view all the flashcards

Syntactic analysis

The process of analyzing the grammatical structure of a sentence, identifying the relationships between words, and representing it in a hierarchical structure.

Signup and view all the flashcards

Syntactic Ambiguity

A type of syntactic ambiguity where a sentence can be interpreted in multiple ways due to the arrangement of words and phrases.

Signup and view all the flashcards

Parse tree

A tree-like structure that represents the grammatical relationships between words in a sentence. It shows how words are connected and how they function within the sentence.

Signup and view all the flashcards

Inflectional morphology

A type of morphology that deals with changes in the form of a word to indicate grammatical features like tense, number, or case.

Signup and view all the flashcards

Context-free grammar (CFG)

A set of rules that define the syntactic structure of a sentence. It specifies how words can be combined to form grammatically correct sentences.

Signup and view all the flashcards

Probabilistic context-free grammar (PCFG)

A type of CFG where probabilities are assigned to each rule. It helps to predict the most likely parse tree for a sentence.

Signup and view all the flashcards

Tokenization

The process of splitting text into individual units, typically words or punctuation marks. It is a fundamental step in natural language processing.

Signup and view all the flashcards

Part-of-speech (POS) tagging

The process of identifying the grammatical category (e.g., noun, verb, adjective) of each word in a sentence. It is a key step in understanding the structure of a sentence.

Signup and view all the flashcards

Lexical Ambiguity

When a word has multiple meanings, leading to ambiguity in the interpretation of a sentence.

Signup and view all the flashcards

Rule-based parsing

A type of parsing approach that utilizes a set of predefined rules to determine the grammatical structure of a sentence. It follows a deterministic approach.

Signup and view all the flashcards

Statistical parsing

A parsing approach that utilizes statistical models and probabilities to determine the most likely grammatical structure of a sentence. It leverages data to make predictions.

Signup and view all the flashcards

Dependency tree

A set of nodes and edges representing the grammatical relationships between words in a sentence. It shows how words are connected and dependent on each other.

Signup and view all the flashcards

Lemma

The base form of a word to which inflectional or derivational morphemes can be added.

Signup and view all the flashcards

Lemmatization

The process of converting words to their base or dictionary form. It considers morphological analysis and context to provide accurate root forms.

Signup and view all the flashcards

Latent Semantic Analysis (LSA)

A statistical method for analyzing word meanings and relationships. It uses large corpora of text to identify hidden relationships and patterns.

Signup and view all the flashcards

Semantic Analysis

The branch of NLP that deals with the meaning of words, phrases, and sentences. It focuses on understanding the semantic relationships between words and concepts.

Signup and view all the flashcards

Semantic role labeling

A technique for identifying the role or function of words in a sentence. It determines how words contribute to the meaning of the sentence.

Signup and view all the flashcards

Hyponymy

A relationship between two words where one word is a more specific instance of the other. For example, 'dog' is a hyponym of 'animal'.

Signup and view all the flashcards

Synonymy

A relationship between two words where both have similar meanings. For example, 'happy' and 'joyful' are synonyms.

Signup and view all the flashcards

Antonymy

A relationship between two words where one word is the opposite of the other. For example, 'hot' and 'cold' are antonyms.

Signup and view all the flashcards

Polysemy

A word that has multiple meanings, depending on the context. For example, 'bank' can refer to a financial institution or the edge of a river.

Signup and view all the flashcards

Word Sense Disambiguation (WSD)

The technique of determining the correct meaning of a word in a given text or context.

Signup and view all the flashcards

Collocation

The process of identifying words that frequently co-occur together in a text. It can help identify phrases, idioms, and other language patterns.

Signup and view all the flashcards

Hidden Markov Model (HMM)

A model that represents the probabilities of transitions between hidden states and the emission of observable symbols. It is commonly used in natural language processing, particularly for tasks like part-of-speech tagging.

Signup and view all the flashcards

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
Morphology: Words and Morphemes
15 questions

Morphology: Words and Morphemes

ManeuverableHeliotrope8174 avatar
ManeuverableHeliotrope8174
Use Quizgecko on...
Browser
Browser