Phrase specifications - corrseponds to grammatical objects.
Varaieties of Phrase Specifications:
Input for Syntactic Realizer should be in the form of a lexicalised
case frame.
This form includes both full semantic content and a specific lexical
items to be used in realising, after content was decided but not the
final form of realization.
give(g,m,b)
The word give here is the symbol for a relation, could be
realized in various ways, various languages.
The planner will decide which information from the knowledge base will
be included in each phrase specification:
the meaning specification of
the sentence.
The predicate-argument structure is refered to with a more syntactical
terms - a process and its participants.
A specification will further include index and semantics
(extension and intenstion, reference and sense).
change of focus - passive realization The blue ball was given to Mary by John Mary was given a blue ball.
(def-test give1
"John does not often give it to Mary."
((cat clause)
(adverb ((lex "often")))
(polarity negative)
(process ((type composite)
(relation-type possessive)
(lex "give")))
(participants ((agent ((cat proper) (lex "John")))
(affected ((cat proper) (lex "Mary")))
(possessor {^ affected})
(possessed ((cat pronoun)))))))
The theory of grammar implemented in SURGE provides a definition for terms
like "clause", "process", "participants", "agent", "possessor" etc. The
following notes give a highlight of this theory.
(def-test t1
"This car is expensive."
((cat clause)
(process ((type ascriptive)))
(participants ((carrier ((lex "car")
(cat common)
(distance near)))
(attribute ((lex "expensive")))))))
The cat of the participant attribute is not specified, because by default,
attributes are adjectival phrases - so it can be inferred from its position.
| John | will | eat | the Apple | |
| Mood | subject | finite | predicator | object | Tranisitivity | process | goal |
| Theme | theme | rheme |
M-x load-system fug5From CL:
(setenv "fug5" "~elhadad/fuf/fuf53") (load "$fug5/fug53.l") :pa fug5Load grammar:
(load "~yaeln/surge23/code/gr.l") (load "~yaeln/surge23/code/linearize2.l")File of examples
~yaeln/surge23/inputs/ir.l ~yaeln/surge23/inputs/code.l You can load them, use them as a tutorial for writing inputs. Run a test: (test :item 'test-name) Run all defined tests: (test :item *ordered-tests*) Clear tests: (clear-tests) Look in the FUF manual for more help.