mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-25 04:22:50 -06:00
updated synopsis with information on extra modules and gfdoc for internal abstract syntax
This commit is contained in:
40
lib/doc/gfdoc/Relative.html
Normal file
40
lib/doc/gfdoc/Relative.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<html>
|
||||
<body>
|
||||
<i> Produced by
|
||||
gfdoc - a rudimentary GF document generator.
|
||||
(c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.
|
||||
</i>
|
||||
<p>
|
||||
<h1> Relative clauses and pronouns</h1>
|
||||
|
||||
<pre>
|
||||
abstract Relative = Cat ** {
|
||||
|
||||
fun
|
||||
</pre>
|
||||
|
||||
The simplest way to form a relative clause is from a clause by
|
||||
a pronoun similar to <i>such that</i>.
|
||||
<pre>
|
||||
RelCl : Cl -> RCl ; -- such that John loves her
|
||||
</pre>
|
||||
|
||||
The more proper ways are from a verb phrase
|
||||
(formed in [``Verb`` Verb.html]) or a sentence
|
||||
with a missing noun phrase (formed in [``Sentence`` Sentence.html]).
|
||||
<pre>
|
||||
RelVP : RP -> VP -> RCl ; -- who loves John
|
||||
RelSlash : RP -> ClSlash -> RCl ; -- whom John loves
|
||||
</pre>
|
||||
|
||||
Relative pronouns are formed from an 'identity element' by prefixing
|
||||
or suffixing (depending on language) prepositional phrases or genitives.
|
||||
<pre>
|
||||
IdRP : RP ; -- which
|
||||
FunRP : Prep -> NP -> RP -> RP ; -- the mother of whom
|
||||
|
||||
}
|
||||
</pre>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user