Download presentation
Presentation is loading. Please wait.
Published byClement Bishop Modified over 8 years ago
1
Carnegie Mellon School of Computer Science Copyright © 2007, Carnegie Mellon. All Rights Reserved. 1 LTI Grammars and Lexicons Grammar Writing 11-721 Grammars and Lexicons November 12, 2007 Teruko Mitamura teruko@cs.cmu.edu www.cs.cmu.edu/~teruko
2
Carnegie Mellon School of Computer Science Copyright © 2007, Carnegie Mellon. All Rights Reserved. 2 LTI Grammars and Lexicons Schedule of Grammar Writing Nov 7 Wednesday How to run the parser –Grammar guide –Simple-dog.gra –Create Result file How to debug a grammar –Dog.gra (This grammar has problems.) –Debugger –Result file –Dog-correct.gra (Fix the problems and create a new grammar.) –Create Result file Grammar writing project
3
Carnegie Mellon School of Computer Science Copyright © 2007, Carnegie Mellon. All Rights Reserved. 3 LTI Grammars and Lexicons November 12, 2007 Q/A for the 1 st assignment: step 1-2 and test suite for one type Finish the dog grammar exercise –Grammar file: dog.gra –Test file: dog-test.lisp –File location: /afs/cs/project/cmt-55/lti/Lab/Modules/GNL-721/2007/ Start a new grammar exercise –Grammar file: bird.gra –Test file: bird-test.lisp
4
Carnegie Mellon School of Computer Science Copyright © 2007, Carnegie Mellon. All Rights Reserved. 4 LTI Grammars and Lexicons Grammar Exercise Goal: To learn basic equations General problems we often have: –Incomplete F-structure –Incorrect F-structure F-structure should contain all the necessary grammatical information Be able to reconstruct the original sentence
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.