CS 904: Natural Language Processing LINGUISTIC ESSENTIALS - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

CS 904: Natural Language Processing LINGUISTIC ESSENTIALS

Description:

Correspond to syntactic or grammatical categories such as noun, verb, adjectives, ... E.g.: The horse raced past the barn fell. Morphology ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 17
Provided by: ven7
Category:

less

Transcript and Presenter's Notes

Title: CS 904: Natural Language Processing LINGUISTIC ESSENTIALS


1
CS 904 Natural Language ProcessingLINGUISTIC
ESSENTIALS
  • L. Venkata Subramaniam
  • January 10, 2002

2
Parts of Speech
  • Correspond to syntactic or grammatical categories
    such as noun, verb, adjectives, prepositions.
  • Word categories are systematically related by
    morphological processes such as the formation of
    plural form from the singular form, past tense
    from present tense.

3
The Parts of Speech
  • Noun Refer to entities like people, places,
    things or idea.
  • Pronoun words that take the place of nouns.
  • Proper noun names.
  • Determiner describes the particular action in a
    noun.
  • Adjective describes the properties of nouns or
    pronouns.
  • Verb action in a sentence.
  • Adverb describes a verb, an adjective or
    another adverb.
  • And many more

4
POS Labeling
  • Children (NOUN) eat (VERB) sweet(ADJECTIVE)
    candy(NOUN)
  • The(ARTICLE) children(NOUN) ate(VERB)
    the(ARTICLE) cake(NOUN)
  • The(ARTICLE) news(NOUN) has(AUXILIARY)
    been(MAIN VERB) quite(ADVERB)
    sad(ADJECTIVE) in(PREPOSITION) fact(NOUN)
    .(PERIOD)

5
A Parse Tree
S
NP VP AT
NNS VBD NP The
children ate AT NN

the cake
6
Context Free Grammars
  • Grammars consisting entirely of rules with a
    single symbol on the left-hand side, called
    mother.
  • Independent of previous or subsequent labels.

7
A Simple Context-Free Grammar
  • The Grammar rules
  • S -gt NP V
  • NP -gt N
  • The Lexicon
  • N -gt John, Gaurav, Ram
  • V -gt walks, talks, eats, went ..

8
Tag Sets
  • A tag indicates the various conventional parts of
    speech.
  • Different Tag Sets have been used E.g., Brown
    Tag Set, Penn Treebank Tag Set.
  • Tag examples NP Proper noun, NN Singular noun,
    AT Article, DET Determinant.

9
Stochastic Grammars
  • Grammars obtained by adding probabilities in a
    fairly transparent way to algebraic (i. e.,
    non-probabilistic) grammars.
  • Stochastic grammars supplement underlying
    algebraic grammars.

10
Dependencies
  • Local Dependency dependence between two words
    expressed within the same syntactic rule.
    (n-grams model this well)
  • Non-local dependency is an instance in which two
    words can be syntactically dependent even though
    they occur far apart in a sentence.

11
Ambiguities
  • Children eat sweet candy
  • Too much boiling will candy the molasses
  • In sentence (1) candy is a noun while in (2) it
    is an adjective.
  • Word category (POS) ambiguity needs to be
    resolved.

12
Ambiguities (Cont.)
  • Semantic Roles Determining thematic roles in a
    sentence.
  • Agent, Patient, Experiencer, Instrument, Goal .
  • Raju(AGENT) hit us (PATIENT) with a ball
    (INSTRUMENT).
  • Complicated by the notions of direct and indirect
    object, active and passive voice.

13
Ambiguities (Cont.)
  • Attachment ambiguities occur with phrases that
    could have been generated by two different nodes
    in the parse tree. E.g. saw the man in the house
    with a pole.
  • Rare Usage and spurious usage A hectare is a
    hundred ares.

14
Garden-Path Sentences
  • Garden-Path sentences are sentences that lead you
    along a path that suddenly turns out not to work.

    E.g. The horse raced past the barn fell.

15
Morphology
  • Study of the way words are built up from smaller
    meaning bearing units.
  • Plural forms, Inflections, Derivation,
    Compounding.
  • (come, comes, coming)
  • (break, broke, broken)
  • (happy, happier, happiest)
  • ??(See, Seed)??

16
Semantics and Pragmatics
  • Semantics concerns what words mean and how these
    meanings combine in sentences to form sentence
    meanings.
  • Pragmatics concerns how sentences are used in
    different situations and how use affects the
    interpretation of the sentence.
  • Issues of Naturalness, acceptability and
    correctness in a given situation, determining,
    what is the speaker actually saying etc.
Write a Comment
User Comments (0)
About PowerShow.com