forked from GitHub/gf-core
Synopsis: no duplicate sections for syntactic categories.
This commit is contained in:
@@ -198,8 +198,9 @@ sortRules = groupBy sameCat . sortBy compareRules
|
||||
|
||||
addLexicalCats :: Cats -> [Rules] -> [(String,Rules)]
|
||||
addLexicalCats cs rss =
|
||||
sortBy (\x y -> compare (fst x) (fst y)) $
|
||||
map head $ groupBy fstEq $ sortBy (\x y -> compare (fst x) (fst y)) $
|
||||
[ (resultCat r, rs) | rs@(r:_) <- rss] ++ [(n,[]) | (n,_,_) <- cs]
|
||||
where fstEq p1 p2 = fst p1 == fst p2
|
||||
|
||||
resultCat :: (String,String,String) -> String
|
||||
resultCat (_,t,_) = last (words t)
|
||||
|
||||
@@ -23,32 +23,22 @@
|
||||
<LI><A HREF="#A" TITLE="A - one-place adjective">A - one-place adjective</A>
|
||||
<LI><A HREF="#A2" TITLE="A2 - two-place adjective">A2 - two-place adjective</A>
|
||||
<LI><A HREF="#AP" TITLE="AP - adjectival phrase">AP - adjectival phrase</A>
|
||||
<LI><A HREF="#AP" TITLE="AP - adjectival phrase">AP - adjectival phrase</A>
|
||||
<LI><A HREF="#AdA" TITLE="AdA - adjective-modifying adverb">AdA - adjective-modifying adverb</A>
|
||||
<LI><A HREF="#AdN" TITLE="AdN - numeral-modifying adverb">AdN - numeral-modifying adverb</A>
|
||||
<LI><A HREF="#AdN" TITLE="AdN - numeral-modifying adverb">AdN - numeral-modifying adverb</A>
|
||||
<LI><A HREF="#AdV" TITLE="Adv - verb-phrase-modifying adverb">AdV - adverb directly attached to verb</A>
|
||||
<LI><A HREF="#Adv" TITLE="Adv - verb-phrase-modifying adverb">Adv - verb-phrase-modifying adverb</A>
|
||||
<LI><A HREF="#Adv" TITLE="Adv - verb-phrase-modifying adverb">Adv - verb-phrase-modifying adverb</A>
|
||||
<LI><A HREF="#Ant" TITLE="Ant - anteriority">Ant - anteriority</A>
|
||||
<LI><A HREF="#Ant" TITLE="Ant - anteriority">Ant - anteriority</A>
|
||||
<LI><A HREF="#CAdv" TITLE="CAdv - comparative adverb">CAdv - comparative adverb</A>
|
||||
<LI><A HREF="#CN" TITLE="CN - common noun (without determiner)">CN - common noun (without determiner)</A>
|
||||
<LI><A HREF="#CN" TITLE="CN - common noun (without determiner)">CN - common noun (without determiner)</A>
|
||||
<LI><A HREF="#Cl" TITLE="Cl - declarative clause, with all tenses">Cl - declarative clause, with all tenses</A>
|
||||
<LI><A HREF="#Cl" TITLE="Cl - declarative clause, with all tenses">Cl - declarative clause, with all tenses</A>
|
||||
<LI><A HREF="#Comp" TITLE="Comp - complement of copula, such as AP">Comp - complement of copula, such as AP</A>
|
||||
<LI><A HREF="#Conj" TITLE="Conj - conjunction">Conj - conjunction</A>
|
||||
<LI><A HREF="#DConj" TITLE="DConj - distributed conjunction">DConj - distributed conjunction</A>
|
||||
<LI><A HREF="#Det" TITLE="Det - determiner phrase">Det - determiner phrase</A>
|
||||
<LI><A HREF="#Det" TITLE="Det - determiner phrase">Det - determiner phrase</A>
|
||||
<LI><A HREF="#IAdv" TITLE="IAdv - interrogative adverb">IAdv - interrogative adverb</A>
|
||||
<LI><A HREF="#IAdv" TITLE="IAdv - interrogative adverb">IAdv - interrogative adverb</A>
|
||||
<LI><A HREF="#IComp" TITLE="IComp - interrogative complement of copula">IComp - interrogative complement of copula</A>
|
||||
<LI><A HREF="#IDet" TITLE="IDet - interrogative determiner">IDet - interrogative determiner</A>
|
||||
<LI><A HREF="#IP" TITLE="IP - interrogative pronoun">IP - interrogative pronoun</A>
|
||||
<LI><A HREF="#IP" TITLE="IP - interrogative pronoun">IP - interrogative pronoun</A>
|
||||
<LI><A HREF="#Imp" TITLE="Imp - imperative">Imp - imperative</A>
|
||||
<LI><A HREF="#Imp" TITLE="Imp - imperative">Imp - imperative</A>
|
||||
<LI><A HREF="#ImpForm">ImpForm</A>
|
||||
<LI><A HREF="#ListAP">ListAP</A>
|
||||
@@ -59,48 +49,31 @@
|
||||
<LI><A HREF="#N2" TITLE="N2 - relational noun">N2 - relational noun</A>
|
||||
<LI><A HREF="#N3" TITLE="N3 - three-place relational noun">N3 - three-place relational noun</A>
|
||||
<LI><A HREF="#NP" TITLE="NP - noun phrase (subject or object)">NP - noun phrase (subject or object)</A>
|
||||
<LI><A HREF="#NP" TITLE="NP - noun phrase (subject or object)">NP - noun phrase (subject or object)</A>
|
||||
<LI><A HREF="#Num" TITLE="Num - cardinal number (used with QuantPl)">Num - cardinal number (used with QuantPl)</A>
|
||||
<LI><A HREF="#Num" TITLE="Num - cardinal number (used with QuantPl)">Num - cardinal number (used with QuantPl)</A>
|
||||
<LI><A HREF="#Numeral">Numeral</A>
|
||||
<LI><A HREF="#Ord" TITLE="Ord - ordinal number (used in Det)">Ord - ordinal number (used in Det)</A>
|
||||
<LI><A HREF="#Ord" TITLE="Ord - ordinal number (used in Det)">Ord - ordinal number (used in Det)</A>
|
||||
<LI><A HREF="#PConj" TITLE="PConj - phrase-beginning conjunction">PConj - phrase-beginning conjunction</A>
|
||||
<LI><A HREF="#PConj" TITLE="PConj - phrase-beginning conjunction">PConj - phrase-beginning conjunction</A>
|
||||
<LI><A HREF="#PN" TITLE="PN - proper name">PN - proper name</A>
|
||||
<LI><A HREF="#Phr" TITLE="Phr - phrase in a text">Phr - phrase in a text</A>
|
||||
<LI><A HREF="#Phr" TITLE="Phr - phrase in a text">Phr - phrase in a text</A>
|
||||
<LI><A HREF="#Pol" TITLE="Pol - polarity">Pol - polarity</A>
|
||||
<LI><A HREF="#Pol" TITLE="Pol - polarity">Pol - polarity</A>
|
||||
<LI><A HREF="#Predet" TITLE="Predet - predeterminer (prefixed Quant)">Predet - predeterminer (prefixed Quant)</A>
|
||||
<LI><A HREF="#Prep" TITLE="Prep - preposition, or just case">Prep - preposition, or just case</A>
|
||||
<LI><A HREF="#Pron" TITLE="Pron - personal pronoun">Pron - personal pronoun</A>
|
||||
<LI><A HREF="#Punct">Punct</A>
|
||||
<LI><A HREF="#QCl" TITLE="QCl - question clause, with all tenses">QCl - question clause, with all tenses</A>
|
||||
<LI><A HREF="#QCl" TITLE="QCl - question clause, with all tenses">QCl - question clause, with all tenses</A>
|
||||
<LI><A HREF="#QS" TITLE="QS - question">QS - question</A>
|
||||
<LI><A HREF="#QS" TITLE="QS - question">QS - question</A>
|
||||
<LI><A HREF="#Quant" TITLE="Quant - quantifier with both sg and pl">Quant - quantifier with both sg and pl</A>
|
||||
<LI><A HREF="#Quant" TITLE="Quant - quantifier with both sg and pl">Quant - quantifier with both sg and pl</A>
|
||||
<LI><A HREF="#QuantPl">QuantPl</A>
|
||||
<LI><A HREF="#QuantSg">QuantSg</A>
|
||||
<LI><A HREF="#RCl" TITLE="RCl - relative clause, with all tenses">RCl - relative clause, with all tenses</A>
|
||||
<LI><A HREF="#RCl" TITLE="RCl - relative clause, with all tenses">RCl - relative clause, with all tenses</A>
|
||||
<LI><A HREF="#RP" TITLE="RP - relative pronoun">RP - relative pronoun</A>
|
||||
<LI><A HREF="#RP" TITLE="RP - relative pronoun">RP - relative pronoun</A>
|
||||
<LI><A HREF="#RS" TITLE="RS - relative">RS - relative</A>
|
||||
<LI><A HREF="#RS" TITLE="RS - relative">RS - relative</A>
|
||||
<LI><A HREF="#S" TITLE="S - declarative sentence">S - declarative sentence</A>
|
||||
<LI><A HREF="#S" TITLE="S - declarative sentence">S - declarative sentence</A>
|
||||
<LI><A HREF="#SC" TITLE="SC - embedded sentence or question">SC - embedded sentence or question</A>
|
||||
<LI><A HREF="#Slash" TITLE="Slash - clause missing NP (S/NP in GPSG)">Slash - clause missing NP (S/NP in GPSG)</A>
|
||||
<LI><A HREF="#Slash" TITLE="Slash - clause missing NP (S/NP in GPSG)">Slash - clause missing NP (S/NP in GPSG)</A>
|
||||
<LI><A HREF="#Subj" TITLE="Subj - subjunction">Subj - subjunction</A>
|
||||
<LI><A HREF="#Tense" TITLE="Tense - tense">Tense - tense</A>
|
||||
<LI><A HREF="#Tense" TITLE="Tense - tense">Tense - tense</A>
|
||||
<LI><A HREF="#Text" TITLE="Text - text consisting of several phrases">Text - text consisting of several phrases</A>
|
||||
<LI><A HREF="#Text" TITLE="Text - text consisting of several phrases">Text - text consisting of several phrases</A>
|
||||
<LI><A HREF="#Utt" TITLE="Utt - sentence, question, word...">Utt - sentence, question, word...</A>
|
||||
<LI><A HREF="#Utt" TITLE="Utt - sentence, question, word...">Utt - sentence, question, word...</A>
|
||||
<LI><A HREF="#V" TITLE="V - one-place verb">V - one-place verb</A>
|
||||
<LI><A HREF="#V2" TITLE="V2 - two-place verb">V2 - two-place verb</A>
|
||||
@@ -108,26 +81,24 @@
|
||||
<LI><A HREF="#V3" TITLE="V3 - three-place verb">V3 - three-place verb</A>
|
||||
<LI><A HREF="#VA" TITLE="VA - adjective-complement verb">VA - adjective-complement verb</A>
|
||||
<LI><A HREF="#VP" TITLE="VP - verb phrase">VP - verb phrase</A>
|
||||
<LI><A HREF="#VP" TITLE="VP - verb phrase">VP - verb phrase</A>
|
||||
<LI><A HREF="#VQ" TITLE="VQ - question-complement verb">VQ - question-complement verb</A>
|
||||
<LI><A HREF="#VS" TITLE="VS - sentence-complement verb">VS - sentence-complement verb</A>
|
||||
<LI><A HREF="#VV" TITLE="VV - verb-phrase-complement verb">VV - verb-phrase-complement verb</A>
|
||||
<LI><A HREF="#Voc" TITLE="Voc - vocative or "please"">Voc - vocative or "please"</A>
|
||||
<LI><A HREF="#Voc" TITLE="Voc - vocative or "please"">Voc - vocative or "please"</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc99">Structural Words</A>
|
||||
<LI><A HREF="#toc100">Paradigms for Danish</A>
|
||||
<LI><A HREF="#toc101">Paradigms for English</A>
|
||||
<LI><A HREF="#toc102">Paradigms for Finnish</A>
|
||||
<LI><A HREF="#toc103">Paradigms for French</A>
|
||||
<LI><A HREF="#toc104">Paradigms for German</A>
|
||||
<LI><A HREF="#toc105">Paradigms for Italian</A>
|
||||
<LI><A HREF="#toc106">Paradigms for Norwegian</A>
|
||||
<LI><A HREF="#toc107">Paradigms for Russian</A>
|
||||
<LI><A HREF="#toc108">Paradigms for Spanish</A>
|
||||
<LI><A HREF="#toc109">Paradigms for Swedish</A>
|
||||
<LI><A HREF="#toc110">Browsing the libraries with GF commands</A>
|
||||
<LI><A HREF="#toc111">An Example of Usage</A>
|
||||
<LI><A HREF="#toc70">Structural Words</A>
|
||||
<LI><A HREF="#toc71">Paradigms for Danish</A>
|
||||
<LI><A HREF="#toc72">Paradigms for English</A>
|
||||
<LI><A HREF="#toc73">Paradigms for Finnish</A>
|
||||
<LI><A HREF="#toc74">Paradigms for French</A>
|
||||
<LI><A HREF="#toc75">Paradigms for German</A>
|
||||
<LI><A HREF="#toc76">Paradigms for Italian</A>
|
||||
<LI><A HREF="#toc77">Paradigms for Norwegian</A>
|
||||
<LI><A HREF="#toc78">Paradigms for Russian</A>
|
||||
<LI><A HREF="#toc79">Paradigms for Spanish</A>
|
||||
<LI><A HREF="#toc80">Paradigms for Swedish</A>
|
||||
<LI><A HREF="#toc81">Browsing the libraries with GF commands</A>
|
||||
<LI><A HREF="#toc82">An Example of Usage</A>
|
||||
</UL>
|
||||
|
||||
<P></P>
|
||||
@@ -606,8 +577,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="AP"></A>
|
||||
<H2>AP - adjectival phrase</H2>
|
||||
<A NAME="AdA"></A>
|
||||
<H2>AdA - adjective-modifying adverb</H2>
|
||||
<A NAME="AdN"></A>
|
||||
@@ -625,8 +594,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="AdN"></A>
|
||||
<H2>AdN - numeral-modifying adverb</H2>
|
||||
<A NAME="AdV"></A>
|
||||
<H2>AdV - adverb directly attached to verb</H2>
|
||||
<A NAME="Adv"></A>
|
||||
@@ -689,8 +656,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Adv"></A>
|
||||
<H2>Adv - verb-phrase-modifying adverb</H2>
|
||||
<A NAME="Ant"></A>
|
||||
<H2>Ant - anteriority</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -711,8 +676,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Ant"></A>
|
||||
<H2>Ant - anteriority</H2>
|
||||
<A NAME="CAdv"></A>
|
||||
<H2>CAdv - comparative adverb</H2>
|
||||
<A NAME="CN"></A>
|
||||
@@ -815,8 +778,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="CN"></A>
|
||||
<H2>CN - common noun (without determiner)</H2>
|
||||
<A NAME="Cl"></A>
|
||||
<H2>Cl - declarative clause, with all tenses</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -952,8 +913,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Cl"></A>
|
||||
<H2>Cl - declarative clause, with all tenses</H2>
|
||||
<A NAME="Comp"></A>
|
||||
<H2>Comp - complement of copula, such as AP</H2>
|
||||
<A NAME="Conj"></A>
|
||||
@@ -1040,8 +999,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Det"></A>
|
||||
<H2>Det - determiner phrase</H2>
|
||||
<A NAME="IAdv"></A>
|
||||
<H2>IAdv - interrogative adverb</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1057,8 +1014,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="IAdv"></A>
|
||||
<H2>IAdv - interrogative adverb</H2>
|
||||
<A NAME="IComp"></A>
|
||||
<H2>IComp - interrogative complement of copula</H2>
|
||||
<A NAME="IDet"></A>
|
||||
@@ -1088,8 +1043,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="IP"></A>
|
||||
<H2>IP - interrogative pronoun</H2>
|
||||
<A NAME="Imp"></A>
|
||||
<H2>Imp - imperative</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1115,8 +1068,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Imp"></A>
|
||||
<H2>Imp - imperative</H2>
|
||||
<A NAME="ImpForm"></A>
|
||||
<H2>ImpForm</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1353,8 +1304,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="NP"></A>
|
||||
<H2>NP - noun phrase (subject or object)</H2>
|
||||
<A NAME="Num"></A>
|
||||
<H2>Num - cardinal number (used with QuantPl)</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1380,8 +1329,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Num"></A>
|
||||
<H2>Num - cardinal number (used with QuantPl)</H2>
|
||||
<A NAME="Numeral"></A>
|
||||
<H2>Numeral</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1482,8 +1429,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Ord"></A>
|
||||
<H2>Ord - ordinal number (used in Det)</H2>
|
||||
<A NAME="PConj"></A>
|
||||
<H2>PConj - phrase-beginning conjunction</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1499,8 +1444,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="PConj"></A>
|
||||
<H2>PConj - phrase-beginning conjunction</H2>
|
||||
<A NAME="PN"></A>
|
||||
<H2>PN - proper name</H2>
|
||||
<A NAME="Phr"></A>
|
||||
@@ -1543,8 +1486,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Phr"></A>
|
||||
<H2>Phr - phrase in a text</H2>
|
||||
<A NAME="Pol"></A>
|
||||
<H2>Pol - polarity</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1565,8 +1506,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Pol"></A>
|
||||
<H2>Pol - polarity</H2>
|
||||
<A NAME="Predet"></A>
|
||||
<H2>Predet - predeterminer (prefixed Quant)</H2>
|
||||
<A NAME="Prep"></A>
|
||||
@@ -1648,8 +1587,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="QCl"></A>
|
||||
<H2>QCl - question clause, with all tenses</H2>
|
||||
<A NAME="QS"></A>
|
||||
<H2>QS - question</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1675,8 +1612,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="QS"></A>
|
||||
<H2>QS - question</H2>
|
||||
<A NAME="Quant"></A>
|
||||
<H2>Quant - quantifier with both sg and pl</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1697,8 +1632,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Quant"></A>
|
||||
<H2>Quant - quantifier with both sg and pl</H2>
|
||||
<A NAME="QuantPl"></A>
|
||||
<H2>QuantPl</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1804,8 +1737,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="RCl"></A>
|
||||
<H2>RCl - relative clause, with all tenses</H2>
|
||||
<A NAME="RP"></A>
|
||||
<H2>RP - relative pronoun</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1826,8 +1757,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="RP"></A>
|
||||
<H2>RP - relative pronoun</H2>
|
||||
<A NAME="RS"></A>
|
||||
<H2>RS - relative</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1848,8 +1777,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="RS"></A>
|
||||
<H2>RS - relative</H2>
|
||||
<A NAME="S"></A>
|
||||
<H2>S - declarative sentence</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -1895,8 +1822,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="S"></A>
|
||||
<H2>S - declarative sentence</H2>
|
||||
<A NAME="SC"></A>
|
||||
<H2>SC - embedded sentence or question</H2>
|
||||
<A NAME="Slash"></A>
|
||||
@@ -1929,8 +1854,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Slash"></A>
|
||||
<H2>Slash - clause missing NP (S/NP in GPSG)</H2>
|
||||
<A NAME="Subj"></A>
|
||||
<H2>Subj - subjunction</H2>
|
||||
<A NAME="Tense"></A>
|
||||
@@ -1963,8 +1886,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Tense"></A>
|
||||
<H2>Tense - tense</H2>
|
||||
<A NAME="Text"></A>
|
||||
<H2>Text - text consisting of several phrases</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -2015,8 +1936,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Text"></A>
|
||||
<H2>Text - text consisting of several phrases</H2>
|
||||
<A NAME="Utt"></A>
|
||||
<H2>Utt - sentence, question, word...</H2>
|
||||
<TABLE CELLPADDING="4" BORDER="1">
|
||||
@@ -2082,8 +2001,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Utt"></A>
|
||||
<H2>Utt - sentence, question, word...</H2>
|
||||
<A NAME="V"></A>
|
||||
<H2>V - one-place verb</H2>
|
||||
<A NAME="V2"></A>
|
||||
@@ -2214,8 +2131,6 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="VP"></A>
|
||||
<H2>VP - verb phrase</H2>
|
||||
<A NAME="VQ"></A>
|
||||
<H2>VQ - question-complement verb</H2>
|
||||
<A NAME="VS"></A>
|
||||
@@ -2237,9 +2152,7 @@ Source: <A HREF="../api/Constructors.gf"><CODE>http://www.cs.chalmers.se/~aarne/
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Voc"></A>
|
||||
<H2>Voc - vocative or "please"</H2>
|
||||
<A NAME="toc99"></A>
|
||||
<A NAME="toc70"></A>
|
||||
<H1>Structural Words</H1>
|
||||
<P>
|
||||
Source: <A HREF="../abstract/Structural.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/abstract/Structural.gf</CODE></A>
|
||||
@@ -2635,7 +2548,7 @@ Source: <A HREF="../abstract/Structural.gf"><CODE>http://www.cs.chalmers.se/~aar
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc100"></A>
|
||||
<A NAME="toc71"></A>
|
||||
<H1>Paradigms for Danish</H1>
|
||||
<P>
|
||||
source <A HREF="../danish/ParadigmsDan.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/danish/ParadigmsDan.gf</CODE></A>
|
||||
@@ -2879,7 +2792,7 @@ source <A HREF="../danish/ParadigmsDan.gf"><CODE>http://www.cs.chalmers.se/~aarn
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc101"></A>
|
||||
<A NAME="toc72"></A>
|
||||
<H1>Paradigms for English</H1>
|
||||
<P>
|
||||
source <A HREF="../english/ParadigmsEng.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/english/ParadigmsEng.gf</CODE></A>
|
||||
@@ -3107,7 +3020,7 @@ source <A HREF="../english/ParadigmsEng.gf"><CODE>http://www.cs.chalmers.se/~aar
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc102"></A>
|
||||
<A NAME="toc73"></A>
|
||||
<H1>Paradigms for Finnish</H1>
|
||||
<P>
|
||||
source <A HREF="../finnish/ParadigmsFin.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/finnish/ParadigmsFin.gf</CODE></A>
|
||||
@@ -3443,7 +3356,7 @@ source <A HREF="../finnish/ParadigmsFin.gf"><CODE>http://www.cs.chalmers.se/~aar
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc103"></A>
|
||||
<A NAME="toc74"></A>
|
||||
<H1>Paradigms for French</H1>
|
||||
<P>
|
||||
source <A HREF="../french/ParadigmsFre.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/french/ParadigmsFre.gf</CODE></A>
|
||||
@@ -3671,7 +3584,7 @@ source <A HREF="../french/ParadigmsFre.gf"><CODE>http://www.cs.chalmers.se/~aarn
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc104"></A>
|
||||
<A NAME="toc75"></A>
|
||||
<H1>Paradigms for German</H1>
|
||||
<P>
|
||||
source <A HREF="../german/ParadigmsGer.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/german/ParadigmsGer.gf</CODE></A>
|
||||
@@ -3923,7 +3836,7 @@ source <A HREF="../german/ParadigmsGer.gf"><CODE>http://www.cs.chalmers.se/~aarn
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc105"></A>
|
||||
<A NAME="toc76"></A>
|
||||
<H1>Paradigms for Italian</H1>
|
||||
<P>
|
||||
source <A HREF="../italian/ParadigmsIta.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/italian/ParadigmsIta.gf</CODE></A>
|
||||
@@ -4155,7 +4068,7 @@ source <A HREF="../italian/ParadigmsIta.gf"><CODE>http://www.cs.chalmers.se/~aar
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc106"></A>
|
||||
<A NAME="toc77"></A>
|
||||
<H1>Paradigms for Norwegian</H1>
|
||||
<P>
|
||||
source <A HREF="../norwegian/ParadigmsNor.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/norwegian/ParadigmsNor.gf</CODE></A>
|
||||
@@ -4399,7 +4312,7 @@ source <A HREF="../norwegian/ParadigmsNor.gf"><CODE>http://www.cs.chalmers.se/~a
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc107"></A>
|
||||
<A NAME="toc78"></A>
|
||||
<H1>Paradigms for Russian</H1>
|
||||
<P>
|
||||
source <A HREF="../russian/ParadigmsRus.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/russian/ParadigmsRus.gf</CODE></A>
|
||||
@@ -4639,7 +4552,7 @@ source <A HREF="../russian/ParadigmsRus.gf"><CODE>http://www.cs.chalmers.se/~aar
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc108"></A>
|
||||
<A NAME="toc79"></A>
|
||||
<H1>Paradigms for Spanish</H1>
|
||||
<P>
|
||||
source <A HREF="../spanish/ParadigmsSpa.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/spanish/ParadigmsSpa.gf</CODE></A>
|
||||
@@ -4871,7 +4784,7 @@ source <A HREF="../spanish/ParadigmsSpa.gf"><CODE>http://www.cs.chalmers.se/~aar
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc109"></A>
|
||||
<A NAME="toc80"></A>
|
||||
<H1>Paradigms for Swedish</H1>
|
||||
<P>
|
||||
source <A HREF="../swedish/ParadigmsSwe.gf"><CODE>http://www.cs.chalmers.se/~aarne/GF/lib/resource/swedish/ParadigmsSwe.gf</CODE></A>
|
||||
@@ -5111,7 +5024,7 @@ source <A HREF="../swedish/ParadigmsSwe.gf"><CODE>http://www.cs.chalmers.se/~aar
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="toc110"></A>
|
||||
<A NAME="toc81"></A>
|
||||
<H1>Browsing the libraries with GF commands</H1>
|
||||
<P>
|
||||
All of the following assume
|
||||
@@ -5148,7 +5061,7 @@ To view linearizations in all languages by parsing from English:
|
||||
> p -cat=S -lang=LangEng "this grammar is too big" | tb
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc111"></A>
|
||||
<A NAME="toc82"></A>
|
||||
<H1>An Example of Usage</H1>
|
||||
<P>
|
||||
The standard way of building an application has the following modules.
|
||||
|
||||
Reference in New Issue
Block a user