forked from GitHub/gf-core
documenting Quant
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Adjectives and adjectival phrases</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:43 2006
|
||||
Last update: Thu Feb 2 16:24:06 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Adverbs and adverbial phrases</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:44 2006
|
||||
Last update: Thu Feb 2 16:24:06 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The category system</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:44 2006
|
||||
Last update: Thu Feb 2 16:24:07 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
@@ -134,8 +134,9 @@ as defined in <A HREF="Noun.html">Noun</A>.
|
||||
Pron ; -- personal pronoun e.g. "she"
|
||||
Det ; -- determiner phrase e.g. "all the seven"
|
||||
Predet; -- predeterminer (prefixed Quant) e.g. "all"
|
||||
QuantSg;-- quantifier ('nucleus' of sing. Det) e.g. "this"
|
||||
QuantPl;-- quantifier ('nucleus' of plur. Det) e.g. "these"
|
||||
QuantSg;-- quantifier ('nucleus' of sing. Det) e.g. "every"
|
||||
QuantPl;-- quantifier ('nucleus' of plur. Det) e.g. "many"
|
||||
Quant ; -- quantifier with both sg and pl e.g. "this/these"
|
||||
Num ; -- cardinal number (used with QuantPl) e.g. "seven"
|
||||
Ord ; -- ordinal number (used in Det) e.g. "seventh"
|
||||
</PRE>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Coordination</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:44 2006
|
||||
Last update: Thu Feb 2 16:24:07 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Tue Jan 31 18:15:47 2006
|
||||
Last update: Thu Feb 2 16:24:10 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The Main Module of the Resource Grammar</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:44 2006
|
||||
Last update: Thu Feb 2 16:24:07 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The Mathematics API to the Resource Grammar</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:47 2006
|
||||
Last update: Thu Feb 2 16:24:10 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Tue Jan 31 18:15:47 2006
|
||||
Last update: Thu Feb 2 16:24:10 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The construction of nouns, noun phrases, and determiners</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:45 2006
|
||||
Last update: Thu Feb 2 16:24:07 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
@@ -77,13 +77,20 @@ cardinal and ordinal.)
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
Quantifiers that have both forms can be used in both ways.
|
||||
</P>
|
||||
<PRE>
|
||||
SgQuant : Quant -> QuantSg ; -- this
|
||||
PlQuant : Quant -> QuantPl ; -- these
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
Pronouns have possessive forms. Genitives of other kinds
|
||||
of noun phrases are not given here, since they are not possible
|
||||
in e.g. Romance languages.
|
||||
</P>
|
||||
<PRE>
|
||||
PossSg : Pron -> QuantSg ; -- my (house)
|
||||
PossPl : Pron -> QuantPl ; -- my (houses)
|
||||
PossPron : Pron -> Quant ; -- my (house)
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -133,10 +140,8 @@ neatly distinct words (Spanish <I>un, unos ; el, los</I>) but also without
|
||||
any particular word (Finnish; Swedish definites).
|
||||
</P>
|
||||
<PRE>
|
||||
DefSg : QuantSg ; -- the (house)
|
||||
DefPl : QuantPl ; -- the (houses)
|
||||
IndefSg : QuantSg ; -- a (house)
|
||||
IndefPl : QuantPl ; -- (houses)
|
||||
DefArt : Quant ; -- the (house), the (houses)
|
||||
IndefArt : Quant ; -- a (house), (houses)
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -145,7 +150,7 @@ not distinguish mass nouns from other common nouns, which can result
|
||||
in semantically odd expressions.
|
||||
</P>
|
||||
<PRE>
|
||||
MassDet : QuantSg ; -- (beer)
|
||||
MassDet : QuantSg ; -- (beer)
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Numerals</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:45 2006
|
||||
Last update: Thu Feb 2 16:24:07 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Tue Jan 31 18:15:46 2006
|
||||
Last update: Thu Feb 2 16:24:09 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Tue Jan 31 18:15:46 2006
|
||||
Last update: Thu Feb 2 16:24:09 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
@@ -344,10 +344,11 @@ that gives the third person singular present indicative and future
|
||||
<P></P>
|
||||
<P>
|
||||
The function <CODE>regV</CODE> gives all verbs the compound auxiliary <I>avoir</I>.
|
||||
To change it to <I>être</I>, use the following function.
|
||||
To change it to <I>être</I>, use the following function. Reflexive implies <I>être</I>.
|
||||
</P>
|
||||
<PRE>
|
||||
etreV : V -> V ;
|
||||
reflV : V -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc13"></A>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Tue Jan 31 18:15:46 2006
|
||||
Last update: Thu Feb 2 16:24:09 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Wed Feb 1 17:52:51 2006
|
||||
Last update: Thu Feb 2 16:24:09 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Tue Jan 31 18:15:46 2006
|
||||
Last update: Thu Feb 2 16:24:09 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Tue Jan 31 18:15:47 2006
|
||||
Last update: Thu Feb 2 16:24:10 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Phrases and utterances</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:45 2006
|
||||
Last update: Thu Feb 2 16:24:08 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> A Small Predication Library</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:47 2006
|
||||
Last update: Thu Feb 2 16:24:10 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
@@ -48,33 +48,31 @@ API of resource grammars.
|
||||
<A NAME="toc2"></A>
|
||||
<H2>The category of atomic sentences</H2>
|
||||
<P>
|
||||
These sentences have both a positive and a negative form
|
||||
We want to use sentences in positive and negative forms but do not care about
|
||||
tenses.
|
||||
</P>
|
||||
<PRE>
|
||||
cat
|
||||
AS ;
|
||||
|
||||
fun
|
||||
PosAS : AS -> S ;
|
||||
NegAS : AS -> S ;
|
||||
PosCl : Cl -> S ; -- positive sentence: "x intersects y"
|
||||
NegCl : Cl -> S ; -- negative sentence: "x doesn't intersect y"
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc3"></A>
|
||||
<H2>Predication patterns.</H2>
|
||||
<PRE>
|
||||
predV : V -> NP -> AS ; -- one-place verb: "x converges"
|
||||
predV2 : V2 -> NP -> NP -> AS ; -- two-place verb: "x intersects y"
|
||||
predV3 : V3 -> NP->NP-> NP -> AS; -- three-place verb: "x intersects y at z"
|
||||
predVColl : V -> NP -> NP -> AS ; -- collective verb: "x and y intersect"
|
||||
predA : A -> NP -> AS ; -- one-place adjective: "x is even"
|
||||
predA2 : A2 -> NP -> NP -> AS ; -- two-place adj: "x is divisible by y"
|
||||
predAComp : A -> NP -> NP -> AS; -- comparative adj: "x is greater than y"
|
||||
predAColl : A -> NP -> NP -> AS ; -- collective adj: "x and y are parallel"
|
||||
predN : N -> NP -> AS ; -- one-place noun: "x is a point"
|
||||
predN2 : N2 -> NP -> NP -> AS ; -- two-place noun: "x is a divisor of y"
|
||||
predNColl : N -> NP -> NP -> AS ; -- collective noun: "x and y are duals"
|
||||
predAdv : Adv -> NP -> AS ; -- adverb: "x is inside"
|
||||
predPrep : Prep -> NP -> NP -> AS ; -- preposition: "x is outside y"
|
||||
predV : V -> NP -> Cl ; -- one-place verb: "x converges"
|
||||
predV2 : V2 -> NP -> NP -> Cl ; -- two-place verb: "x intersects y"
|
||||
predV3 : V3 -> NP->NP-> NP -> Cl; -- three-place verb: "x intersects y at z"
|
||||
predVColl : V -> NP -> NP -> Cl ; -- collective verb: "x and y intersect"
|
||||
predA : A -> NP -> Cl ; -- one-place adjective: "x is even"
|
||||
predA2 : A2 -> NP -> NP -> Cl ; -- two-place adj: "x is divisible by y"
|
||||
predAComp : A -> NP -> NP -> Cl; -- comparative adj: "x is greater than y"
|
||||
predAColl : A -> NP -> NP -> Cl ; -- collective adj: "x and y are parallel"
|
||||
predN : N -> NP -> Cl ; -- one-place noun: "x is a point"
|
||||
predN2 : N2 -> NP -> NP -> Cl ; -- two-place noun: "x is a divisor of y"
|
||||
predNColl : N -> NP -> NP -> Cl ; -- collective noun: "x and y are duals"
|
||||
predAdv : Adv -> NP -> Cl ; -- adverb: "x is inside"
|
||||
predPrep : Prep -> NP -> NP -> Cl ; -- preposition: "x is outside y"
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc4"></A>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Questions and interrogative pronouns</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:45 2006
|
||||
Last update: Thu Feb 2 16:24:08 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:45 2006
|
||||
Last update: Thu Feb 2 16:24:08 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Sentences, clauses, imperatives, and sentential complements</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:45 2006
|
||||
Last update: Thu Feb 2 16:24:08 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> GF Resource Grammar API for Structural Words</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:45 2006
|
||||
Last update: Thu Feb 2 16:24:08 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
@@ -106,19 +106,17 @@ This is an alphabetical list of structural words
|
||||
somebody_NP : NP ;
|
||||
something_NP : NP ;
|
||||
somewhere_Adv : Adv ;
|
||||
that_Quant : QuantSg ;
|
||||
that_Quant : Quant ;
|
||||
that_NP : NP ;
|
||||
there_Adv : Adv ;
|
||||
there7to_Adv : Adv ;
|
||||
there7from_Adv : Adv ;
|
||||
therefore_PConj : PConj ;
|
||||
these_NP : NP ;
|
||||
these_Quant : QuantPl ;
|
||||
they_Pron : Pron ;
|
||||
this_Quant : QuantSg ;
|
||||
this_Quant : Quant ;
|
||||
this_NP : NP ;
|
||||
those_NP : NP ;
|
||||
those_Quant : QuantPl ;
|
||||
through_Prep : Prep ;
|
||||
to_Prep : Prep ;
|
||||
too_AdA : AdA ;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Symbolic expressions</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:47 2006
|
||||
Last update: Thu Feb 2 16:24:10 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Tense, Polarity, and Anteriority</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:46 2006
|
||||
Last update: Thu Feb 2 16:24:08 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Jan 31 18:15:46 2006
|
||||
Last update: Thu Feb 2 16:24:09 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
Reference in New Issue
Block a user