Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 1
Wednesday, February 4, 2015
Unification Parsing Typed Feature Structures demo: agree grammar - - PowerPoint PPT Presentation
Ling 571 Unification Parsing; Deep Processing Techniques for NLP Typed Feature Structures Unification Parsing Typed Feature Structures demo: agree grammar engineering Ling 571: Deep Processing Techniques for NLP February 4, 2015 Glenn
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 1
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 2
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 3
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 4
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 5
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 6
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 7
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 8
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 9
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 10
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 11
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 12
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 13
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 14
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 15
Wednesday, February 4, 2015
Fokkens/Zhang
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 16
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 17
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 18
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 19
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 20
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 21
Wednesday, February 4, 2015
a typed feature structure has a finite number of nodes
a typed feature structure has a unique root node; apart from the root, all nodes have at least one parent
no node has an arc that points back to the root node or to another node that intervenes between the node itself and the root
no node has two features with the same name and different values
each node has single type which is defined in the hierarchy
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 22
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 23
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 24
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 25
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 26
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 27
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 28
Wednesday, February 4, 2015
– unifying the front of B (i.e. the value of its LIST feature) into the tail of A (its LAST value) and – using the tail of difference list B as the new tail for the result of the concatenation.
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 29
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 30
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 31
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 32
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 33
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 34
Wednesday, February 4, 2015
Copestake, A., Flickinger, D., Pollard, C. J., and Sag, I. A. (2005). Minimal recursion semantics: an introduction. Research on Language and Computation, 3(4):281–332.
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 35
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 36
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 37
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 38
Wednesday, February 4, 2015
[incr tsdb()] (Oepen and Flickinger 1998)
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 39
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 40
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 41
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 42
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 43
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 44
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 45
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 46
Wednesday, February 4, 2015
HPSG, Pollard & Sag 1994
Krieger & Schafer 1994
Carpenter 1992
Copestake et al. 1995, 2005
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 47
Wednesday, February 4, 2015
demonst-numcl-lex := raise-sem-lex-item & [ SYNSEM.LOCAL [ CAT [ HEAD numcl & [ MOD < > ], VAL [ COMPS < [ OPT +, LOCAL [ CAT.HEAD num, CONT.HOOK [ XARG #xarg, LTOP #larg ] ] ] >, SPEC < >, SPR < >, SUBJ < > ] ], CONT.HOOK [ XARG #xarg, LTOP #larg ] ] ].
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 48
Wednesday, February 4, 2015
;;; Types string := *top*. *list* := *top*. *ne-list* := *list* & [ FIRST *top*, REST *list* ]. *null* := *list*. synsem-struc := *top* & [ CATEGORY cat, NUMAGR agr ]. cat := *top*. s := cat. np := cat. vp := cat. det := cat. n := cat. agr := *top*. sg := agr.
;;; Lexicon this := sg-lexeme & [ ORTH "this", CATEGORY det ]. these := pl-lexeme & [ ORTH "these", CATEGORY det ]. sleep := pl-lexeme & [ ORTH "sleep", CATEGORY vp ]. sleeps := sg-lexeme & [ ORTH "sleeps", CATEGORY vp ]. dog := sg-lexeme & [ ORTH "dog", CATEGORY n ]. dogs := pl-lexeme & [ ORTH "dogs", CATEGORY n ]. ;;; Rules s_rule := phrase & [ CATEGORY s, NUMAGR #1, ARGS [ FIRST [ CATEGORY np,...
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 49
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 50
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 51
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 52
Wednesday, February 4, 2015
“The cat is sleeping.”
“The cat is sleeping.”
Matrix grammar
English Resource Grammar agree grammar engineering system
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 53
Wednesday, February 4, 2015
Thai Grammar English Resource Grammar thai-language.com production server agree-sys engine agree console parser agree chart debugger agree WPF client app
tl-db database Thai text utilities
JACY agree utilities
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 54
Wednesday, February 4, 2015
Type Hierarchy Lexicon Provider Corpus Provider Tokenizer
Start Symbols Grammar Rules Lexical Rules Lexical Entries
lexicon
TFS management MRS management
Parser Generator
Type Hierarchy Lexicon Provider Corpus Provider Tokenizer
Start Symbols Grammar Rules Lexical Rules Lexical Entries corpora Unifier
TDL loader Config/settings mgr. Workspace mgmt. Job control
Morphology
multiple grammars… Packing/unpacking Parse selection
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 55
Wednesday, February 4, 2015
Time to parse 287 sentences from ‘hike’ corpus; agree concurrency x8
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 56
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 57
Wednesday, February 4, 2015
Unification Parsing; Typed Feature Structures Ling 571 Deep Processing Techniques for NLP 58
Wednesday, February 4, 2015