Top Banner
Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and inheritance non-monotonic or ‘default’ inheritance and lexical knowledge representation multiple inheritance DATR: a lexical knowledge representation language
31

Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Dec 20, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Computational language: week 9 Finish finite state machines

FSA’s for modelling word structure Declarative language models

knowledge representation and inheritance non-monotonic or ‘default’ inheritance and

lexical knowledge representation multiple inheritance DATR: a lexical knowledge representation

language

Page 2: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite State Automata Deterministic FSAs

An FSA whose recognition behaviour is fully determined by the state it is in and the input symbol it is looking at

Page 3: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite State Automata Deterministic FSAs

An FSA whose recognition behaviour is fully determined by the state it is in and the input symbol it is looking at

Non-deterministic FSAs An FSA with decision points

Page 4: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite State Automata Deterministic FSAs Non-deterministic FSAs

An FSA with decision points Self-loop may be in a particular state Arcs may have ε transitions

Page 5: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite State Automata Formal language Set of strings Finite symbol set, alphabet

Page 6: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite State Automata Formal language Set of strings Finite symbol set, alphabet L(m) = {baa!, ba!, baaa!,…}“formal language characterised by m”

m = model L = formal language

Page 7: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite State Automata Formal language Set of strings Finite symbol set, alphabet L(m) = {baa!, ba!, baaa!,…} A formal language models a

fragment of a natural language

Page 8: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite state transducers and word structure FSA for word structure

Handles the morphotactics Arc labels drawn from sets of lexical

classes Lexical entries and affixes in the

lexicon Achieve morphological recognition

Page 9: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite state transducers and word structure Finite State Transducers for

morphological parsing distinction between surface level and lexical level

lexical level includes basic stem and morphosyntactic features

cat +N+PL -> cats

Page 10: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite state transducers and word structure Finite State Transducers for

morphological parsing distinction between surface level and lexical level

lexical level includes basic stem and morphosyntactic features

cat +N+PL -> cats FST: maps one of set of symbols onto

another

Page 11: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite state transducers and word structure Finite State Transducers for

morphological parsing distinction between surface level and lexical

level lexical level includes basic stem and

morphosyntactic featurescat +N+PL -> cats FST: maps one of set of symbols onto

another c:c a:a t:t +N:εPL:s

Page 12: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite state transducers and word structure Finite State Transducers for

morphological parsing Boundary markers:

^ morpheme boundary # word boundary

Page 13: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite state transducers and word structure Finite State Transducers for

morphological parsing Boundary markers:

^ morpheme boundary # word boundary

c:c a:a t:t +N:εPL:^s#

Page 14: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Finite state transducers and word structure Finite State Transducers for

morphological parsing Boundary markers:

^ morpheme boundary # word boundary

c:c a:a t:t +N:εPL:^s# g:g o:e o:e s:s e:e +N:εPL:#

Page 15: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation Linguistic knowledge Linguistic facts Relations between linguistic facts Computable

Page 16: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation Linguistic knowledge Linguistic facts

lexicon Relations between linguistic facts Computable

Page 17: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation Linguistic knowledge Linguistic facts

lexicon Relations between linguistic facts

inference default inference

Computable

Page 18: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation Linguistic knowledge Linguistic facts

lexicon Relations between linguistic facts

inference default inference

Computable DATR Prolog

Page 19: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Inheritance hierarchy

Page 20: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Inheritance hierarchy A graphical representation of how

facts or properties are shared amongst entities

Page 21: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Inheritance hierarchy BIRD:

wings = yes flies = yes eggs = yes feathers = yes

Seabird: food = fish Landbird:

food = insects

Page 22: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Inheritance hierarchy BIRD:

wings = yes flies = yes eggs = yes feathers = yes

Seabird: food = fish Landbird:

food = insects

Seagull Goldfinch

Page 23: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon Inheritance hierarchy

BIRD:

wings = yes flies = yes eggs = yes feathers = yes

Seabird: food = fish Landbird:

food = insects

Seagull Goldfinch

Penguin?

Page 24: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Default inheritance hierarchy BIRD:

wings = yes flies = yes eggs = yes feathers = yes

Seabird: food = fish Landbird:

food = insects

Seagull Goldfinch

Penguin: flies = no

Page 25: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Default inheritance

NOUN: singular = plural = s

Count_noun Noncount_noun:

plural = undefined

Book Sand

Cat

Page 26: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Default inheritance

NOUN: singular = plural = s

Count_noun Noncount_noun:

plural = undefined

Book Sand

Cat

Ox?

Page 27: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Default inheritance

NOUN: singular = plural = s

Count_noun Noncount_noun:

plural = undefined

Book Sand

Cat

Ox: plural = en

Page 28: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

Default inheritance

NOUN: singular = plural = s

Count_noun Noncount_noun:

plural = undefined

Book Sand

Cat

Ox: plural = en

Goose: plural = geese

Page 29: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

DATR, lexical knowledge representation language

Inference and default inference Compiled in Prolog Developed by Evans and Gazdar Network Morphology

Page 30: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Knowledge representation and the lexicon

DATR demonstration

Page 31: Computational language: week 9 Finish finite state machines FSA’s for modelling word structure Declarative language models knowledge representation and.

Lexical knowledge representation

Summary

Inheritance Inference rules Formalism Computable