From dbcf5034727aa4145e0b05166e75a8ae45bb4fc4 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 24 Feb 2012 10:01:43 +0000 Subject: [PATCH] New synopsis with Hindi and Sindhi --- lib/doc/Makefile | 2 + lib/doc/MkSynopsis.hs | 4 +- lib/doc/synopsis-intro.txt | 2 +- lib/doc/synopsis.html | 1404 ++++++++++++++++++++++++------------ 4 files changed, 937 insertions(+), 475 deletions(-) diff --git a/lib/doc/Makefile b/lib/doc/Makefile index 6777a2546..714d2252b 100644 --- a/lib/doc/Makefile +++ b/lib/doc/Makefile @@ -26,6 +26,7 @@ exx: exx-script gf -retain -s ../alltenses/TryFin.gfo api-examples-Fin.txt gf -retain -s ../alltenses/TryFre.gfo api-examples-Fre.txt gf -retain -s ../alltenses/TryGer.gfo api-examples-Ger.txt + gf -retain -s ../alltenses/TryHin.gfo api-examples-Hin.txt gf -retain -s ../alltenses/TryIta.gfo api-examples-Ita.txt gf -retain -s ../alltenses/TryLav.gfo api-examples-Lav.txt gf -retain -s ../alltenses/TryNep.gfo api-examples-Nep.txt @@ -35,6 +36,7 @@ exx: exx-script gf -retain -s ../alltenses/TryPol.gfo api-examples-Pol.txt gf -retain -s ../alltenses/TryRon.gfo api-examples-Ron.txt gf -retain -s ../alltenses/TryRus.gfo api-examples-Rus.txt + gf -retain -s ../alltenses/TrySnd.gfo api-examples-Snd.txt gf -retain -s ../alltenses/TrySpa.gfo api-examples-Spa.txt gf -retain -s ../alltenses/TrySwe.gfo api-examples-Swe.txt gf -retain -s ../alltenses/TryTha.gfo api-examples-Tha.txt diff --git a/lib/doc/MkSynopsis.hs b/lib/doc/MkSynopsis.hs index e076e3e99..f7515f6c2 100644 --- a/lib/doc/MkSynopsis.hs +++ b/lib/doc/MkSynopsis.hs @@ -17,7 +17,7 @@ revealedLang = "Eng" -- all languages shown apiExxFiles = ["api-examples-" ++ lang ++ ".txt" | lang <- words - "Afr Bul Cat Dan Dut Eng Fin Fre Ger Ita Lav Nep Nor Pes Pnb Pol Ron Rus Spa Swe Tha Urd"] + "Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd"] main = do xx <- getArgs @@ -245,6 +245,7 @@ paradigmFiles = [ ("Finnish", srcPath "/finnish/ParadigmsFin.gf"), ("French", srcPath "/french/ParadigmsFre.gf"), ("German", srcPath "/german/ParadigmsGer.gf"), + ("Hindi", srcPath "/hindi/ParadigmsHin.gf"), -- ("Interlingua", srcPath "/interlingua/ParadigmsIna.gf"), ("Italian", srcPath "/italian/ParadigmsIta.gf"), ("Latvian", srcPath "/latvian/ParadigmsLav.gf"), @@ -254,6 +255,7 @@ paradigmFiles = [ ("Punjabi", srcPath "/punjabi/ParadigmsPnb.gf"), ("Romanian", srcPath "/romanian/ParadigmsRon.gf"), ("Russian", srcPath "/russian/ParadigmsRus.gf"), + ("Sindhi", srcPath "/sindhi/ParadigmsSnd.gf"), ("Spanish", srcPath "/spanish/ParadigmsSpa.gf"), ("Swedish", srcPath "/swedish/ParadigmsSwe.gf"), ("Thai", srcPath "/thai/ParadigmsTha.gf"), diff --git a/lib/doc/synopsis-intro.txt b/lib/doc/synopsis-intro.txt index 5c8047ede..266b176dc 100644 --- a/lib/doc/synopsis-intro.txt +++ b/lib/doc/synopsis-intro.txt @@ -8,7 +8,7 @@ =Introduction= The GF Resource Grammar Library is the standard library for Grammatical Framework. -It covers the morphology and basic syntax of currently 22 languages. +It covers the morphology and basic syntax of currently 24 languages. This document contains the most important parts of the GF Resource Grammar API, as needed by a GF application programmer. diff --git a/lib/doc/synopsis.html b/lib/doc/synopsis.html index 00d797d8f..abf39c58c 100644 --- a/lib/doc/synopsis.html +++ b/lib/doc/synopsis.html @@ -17,7 +17,7 @@

The GF Resource Grammar Library is the standard library for Grammatical Framework. -It covers the morphology and basic syntax of currently 22 languages. +It covers the morphology and basic syntax of currently 24 languages.

This document contains the most important parts of the GF Resource Grammar API, @@ -527,82 +527,82 @@ Lexical category, constructors given in comparAP A -> AP -

warmer
+
warmer
mkAP A -> AP -
warm
+
warm
mkAP A -> NP -> AP -
warmer than Paris
+
warmer than Paris
mkAP A2 -> NP -> AP -
married to her
+
married to her
mkAP A2 -> AP -
married
+
married
mkAP AP -> S -> AP -
it is good that she sleeps
+
it is good that she sleeps
mkAP AP -> QS -> AP -
it is uncertain who sleeps
+
it is uncertain who sleeps
mkAP AP -> VP -> AP -
she is ready to sleep
+
she is ready to sleep
mkAP AP -> SC -> AP -
she is ready to sleep
+
she is ready to sleep
mkAP AdA -> A -> AP -
very old
+
very old
mkAP AdA -> AP -> AP -
very very old
+
very very old
mkAP Conj -> AP -> AP -> AP -
old or young
+
old or young
mkAP Conj -> ListAP -> AP -
old , big and warm
+
old , big and warm
mkAP Ord -> AP -
oldest
+
oldest
mkAP CAdv -> AP -> NP -> AP -
as old as she
+
as old as she
reflAP A2 -> AP -
married to itself
+
married to itself
@@ -618,27 +618,27 @@ Lexical category, constructors given in almost_AdA AdA -
almost red
+
almost red
quite_Adv AdA -
quite
+
quite
so_AdA AdA -
so
+
so
too_AdA AdA -
too
+
too
very_AdA AdA -
very
+
very
@@ -654,22 +654,22 @@ Lexical category, constructors given in almost_AdN AdN -
almost eight
+
almost eight
at_least_AdN AdN -
at least eight
+
at least eight
at_most_AdN AdN -
at most eight
+
at most eight
mkAdN CAdv -> AdN -
more than eight
+
more than eight
@@ -685,7 +685,7 @@ Lexical category, constructors given in always_AdV AdV -
always
+
always
@@ -701,82 +701,82 @@ Lexical category, constructors given in everywhere_Adv Adv -
everywhere
+
everywhere
here7from_Adv Adv -
from here
+
from here
here7to_Adv Adv -
to here
+
to here
here_Adv Adv -
here
+
here
mkAdv A -> Adv -
warmly
+
warmly
mkAdv Prep -> NP -> Adv -
in the house
+
in the house
mkAdv Subj -> S -> Adv -
when she sleeps
+
when she sleeps
mkAdv CAdv -> A -> NP -> Adv -
more warmly than he
+
more warmly than he
mkAdv CAdv -> A -> S -> Adv -
more warmly than he runs
+
more warmly than he runs
mkAdv AdA -> Adv -> Adv -
very warmly
+
very warmly
mkAdv Conj -> Adv -> Adv -> Adv -
here and now
+
here and now
mkAdv Conj -> ListAdv -> Adv -
with her , here and now
+
with her , here and now
somewhere_Adv Adv -
somewhere
+
somewhere
there7from_Adv Adv -
from there
+
from there
there7to_Adv Adv -
there
+
there
there_Adv Adv -
there
+
there
@@ -792,12 +792,12 @@ Lexical category, constructors given in anteriorAnt Ant -
she has slept
+
she has slept
simultaneousAnt Ant -
she sleeps
+
she sleeps
@@ -813,17 +813,17 @@ Lexical category, constructors given in as_CAdv CAdv -
as
+
as
less_CAdv CAdv -
less
+
less
more_CAdv CAdv -
more
+
more
@@ -839,97 +839,97 @@ Lexical category, constructors given in mkCN N -> CN -
house
+
house
mkCN N2 -> NP -> CN -
mother of the king
+
mother of the king
mkCN N3 -> NP -> NP -> CN -
distance from this city to Paris
+
distance from this city to Paris
mkCN N2 -> CN -
mother
+
mother
mkCN N3 -> CN -
distance
+
distance
mkCN A -> N -> CN -
big house
+
big house
mkCN A -> CN -> CN -
big blue house
+
big blue house
mkCN AP -> N -> CN -
very big house
+
very big house
mkCN AP -> CN -> CN -
very big blue house
+
very big blue house
mkCN N -> RS -> CN -
man whom she loves
+
man whom she loves
mkCN CN -> RS -> CN -
old man whom she loves
+
old man whom she loves
mkCN N -> Adv -> CN -
house on the hill
+
house on the hill
mkCN CN -> Adv -> CN -
big house on the hill
+
big house on the hill
mkCN CN -> S -> CN -
almost five
+
almost five
mkCN CN -> QS -> CN -
almost five
+
almost five
mkCN CN -> VP -> CN -
reason to sleep
+
reason to sleep
mkCN CN -> SC -> CN -
reason to sleep
+
reason to sleep
mkCN N -> NP -> CN -
king John
+
king John
mkCN CN -> NP -> CN -
old king John
+
old king John
@@ -950,7 +950,7 @@ Lexical category, constructors given in mkCard Numeral -> Card -
seven
+
seven
mkCard @@ -976,122 +976,122 @@ Lexical category, constructors given in genericCl VP -> Cl -
one sleeps
+
one sleeps
mkCl NP -> V -> Cl -
she sleeps
+
she sleeps
mkCl NP -> V2 -> NP -> Cl -
she loves him
+
she loves him
mkCl NP -> V3 -> NP -> NP -> Cl -
she sends it to him
+
she sends it to him
mkCl NP -> VV -> VP -> Cl -
she wants to sleep
+
she wants to sleep
mkCl NP -> VS -> S -> Cl -
she says that I sleep
+
she says that I sleep
mkCl NP -> VQ -> QS -> Cl -
she wonders who sleeps
+
she wonders who sleeps
mkCl NP -> VA -> A -> Cl -
she becomes old
+
she becomes old
mkCl NP -> VA -> AP -> Cl -
she becomes very old
+
she becomes very old
mkCl NP -> V2A -> NP -> A -> Cl -
she paints it red
+
she paints it red
mkCl NP -> V2A -> NP -> AP -> Cl -
she paints it red
+
she paints it red
mkCl NP -> V2S -> NP -> S -> Cl -
she answers to him that we sleep
+
she answers to him that we sleep
mkCl NP -> V2Q -> NP -> QS -> Cl -
she asks him who sleeps
+
she asks him who sleeps
mkCl NP -> V2V -> NP -> VP -> Cl -
she begs him to sleep
+
she begs him to sleep
mkCl NP -> A -> Cl -
she is old
+
she is old
mkCl NP -> A -> NP -> Cl -
she is older than he
+
she is older than he
mkCl NP -> A2 -> NP -> Cl -
she is married to him
+
she is married to him
mkCl NP -> AP -> Cl -
she is very old
+
she is very old
mkCl NP -> NP -> Cl -
she is the woman
+
she is the woman
mkCl NP -> N -> Cl -
she is a woman
+
she is a woman
mkCl NP -> CN -> Cl -
she is an old woman
+
she is an old woman
mkCl NP -> Adv -> Cl -
she is here
+
she is here
mkCl NP -> VP -> Cl -
she always sleeps
+
she always sleeps
mkCl N -> Cl -
there is a house
+
there is a house
mkCl @@ -1101,32 +1101,32 @@ Lexical category, constructors given in mkCl NP -> Cl -
there are many houses
+
there are many houses
mkCl NP -> RS -> Cl -
it is she who sleeps
+
it is she who sleeps
mkCl Adv -> S -> Cl -
it is here that she sleeps
+
it is here that she sleeps
mkCl V -> Cl -
it rains
+
it rains
mkCl VP -> Cl -
it is raining
+
it is raining
mkCl SC -> VP -> Cl -
that she sleeps is good
+
that she sleeps is good
@@ -1142,32 +1142,32 @@ Lexical category, constructors given in mkClSlash NP -> VPSlash -> ClSlash -
whom does she see
+
whom does she see
mkClSlash NP -> V2 -> ClSlash -
whom does she see
+
whom does she see
mkClSlash NP -> VV -> V2 -> ClSlash -
whom does she want to see
+
whom does she want to see
mkClSlash Cl -> Prep -> ClSlash -
with whom does she sleep
+
with whom does she sleep
mkClSlash ClSlash -> Adv -> ClSlash -
whom does she see today
+
whom does she see today
mkClSlash NP -> VS -> SSlash -> ClSlash -
whom does she know that we hadn't seen
+
whom does she know that we hadn't seen
@@ -1183,17 +1183,17 @@ Lexical category, constructors given in mkComp AP -> Comp -
old
+
old
mkComp NP -> Comp -
this man
+
this man
mkComp Adv -> Comp -
here
+
here
@@ -1209,27 +1209,27 @@ Lexical category, constructors given in and_Conj Conj -
here and now
+
here and now
both7and_DConj Conj -
both here and there
+
both here and there
either7or_DConj Conj -
either here or there
+
either here or there
if_then_Conj Conj -
if here then there
+
if here then there
or_Conj Conj -
here or there
+
here or there
@@ -1245,62 +1245,62 @@ Lexical category, constructors given in aPl_Det Det -
women
+
women
aSg_Det Det -
a woman
+
a woman
a_Det Det -
a house
+
a house
every_Det Det -
every woman
+
every woman
few_Det Det -
few women
+
few women
many_Det Det -
many houses
+
many houses
mkDet Quant -> Det -
this
+
this
mkDet Quant -> Card -> Det -
these five
+
these five
mkDet Quant -> Ord -> Det -
the fifth
+
the fifth
mkDet Quant -> Num -> Ord -> Det -
the five best
+
the five best
mkDet Quant -> Num -> Det -
these
+
these
mkDet Card -> Det -
five
+
five
mkDet @@ -1320,57 +1320,57 @@ Lexical category, constructors given in mkDet Pron -> Num -> Det -
my five
+
my five
much_Det Det -
much wine
+
much wine
somePl_Det Det -
some women
+
some women
someSg_Det Det -
some wine
+
some wine
that_Det Det -
that woman
+
that woman
thePl_Det Det -
the houses
+
the houses
theSg_Det Det -
the house
+
the house
the_Det Det -
the house
+
the house
these_Det Det -
these women
+
these women
this_Det Det -
this woman
+
this woman
those_Det Det -
those women
+
those women
@@ -1452,12 +1452,12 @@ Lexical category, constructors given in mkDigits Dig -> Digits -
4
+
4
mkDigits Dig -> Digits -> Digits -
1 , 2 3 3 , 4 8 6
+
1 , 2 3 3 , 4 8 6
@@ -1473,37 +1473,37 @@ Lexical category, constructors given in how8much_IAdv IAdv -
how much
+
how much
how_IAdv IAdv -
how
+
how
mkIAdv Prep -> IP -> IAdv -
in which city
+
in which city
mkIAdv IAdv -> Adv -> IAdv -
where in Paris
+
where in Paris
when_IAdv IAdv -
when
+
when
where_IAdv IAdv -
where
+
where
why_IAdv IAdv -
why
+
why
@@ -1540,27 +1540,27 @@ Lexical category, constructors given in how8many_IDet IDet -
how many houses
+
how many houses
mkIDet IQuant -> Num -> IDet -
which houses
+
which houses
mkIDet IQuant -> IDet -
which house
+
which house
whichPl_IDet IDet -
which houses
+
which houses
which_IDet IDet -
which house
+
which house
@@ -1576,67 +1576,67 @@ Lexical category, constructors given in mkIP IDet -> CN -> IP -
which five big cities
+
which five big cities
mkIP IDet -> N -> IP -
which five cities
+
which five cities
mkIP IDet -> IP -
which five
+
which five
mkIP IQuant -> CN -> IP -
which big city
+
which big city
mkIP IQuant -> Num -> CN -> IP -
which five big cities
+
which five big cities
mkIP IQuant -> N -> IP -
which city
+
which city
mkIP IP -> Adv -> IP -
who in Paris
+
who in Paris
whatPl_IP IP -
what
+
what
whatSg_IP IP -
what
+
what
what_IP IP -
what
+
what
whoPl_IP IP -
who
+
who
whoSg_IP IP -
who
+
who
who_IP IP -
who
+
who
@@ -1652,7 +1652,7 @@ Lexical category, constructors given in which_IQuant IQuant -
which house
+
which house
@@ -1668,17 +1668,17 @@ Lexical category, constructors given in mkImp VP -> Imp -
come to my house
+
come to my house
mkImp V -> Imp -
come
+
come
mkImp V2 -> NP -> Imp -
buy it
+
buy it
@@ -1694,17 +1694,17 @@ Lexical category, constructors given in pluralImpForm ImpForm -
be men
+
be men
politeImpForm ImpForm -
be a man
+
be a man
singularImpForm ImpForm -
be a man
+
be a man
@@ -1857,77 +1857,77 @@ Lexical category, constructors given in everybody_NP NP -
everybody
+
everybody
everything_NP NP -
everything
+
everything
he_NP NP -
he
+
he
i_NP NP -
I
+
I
it_NP NP -
it
+
it
mkNP Quant -> N -> NP -
this man
+
this man
mkNP Quant -> CN -> NP -
this old man
+
this old man
mkNP Quant -> Num -> CN -> NP -
these five old men
+
these five old men
mkNP Quant -> Num -> N -> NP -
these five men
+
these five men
mkNP Det -> CN -> NP -
the five old men
+
the five old men
mkNP Det -> N -> NP -
the five men
+
the five men
mkNP Numeral -> CN -> NP -
fifty old men
+
fifty old men
mkNP Numeral -> N -> NP -
fifty men
+
fifty men
mkNP Digits -> CN -> NP -
5 1 old men
+
5 1 old men
mkNP Digits -> N -> NP -
5 1 men
+
5 1 men
mkNP @@ -1942,147 +1942,147 @@ Lexical category, constructors given in mkNP Pron -> CN -> NP -
my old man
+
my old man
mkNP Pron -> N -> NP -
my man
+
my man
mkNP PN -> NP -
Paris
+
Paris
mkNP Pron -> NP -
we
+
we
mkNP Quant -> NP -
this
+
this
mkNP Quant -> Num -> NP -
these five
+
these five
mkNP Det -> NP -
the five best
+
the five best
mkNP CN -> NP -
old beer
+
old beer
mkNP N -> NP -
beer
+
beer
mkNP Predet -> NP -> NP -
only this woman
+
only this woman
mkNP NP -> V2 -> NP -
the man seen
+
the man seen
mkNP NP -> Adv -> NP -
Paris today
+
Paris today
mkNP NP -> RS -> NP -
John , who walks
+
John , who walks
mkNP Conj -> NP -> NP -> NP -
this woman or John
+
this woman or John
mkNP Conj -> ListNP -> NP -
this woman , John or I
+
this woman , John or I
nobody_NP NP -
nobody
+
nobody
nothing_NP NP -
nothing
+
nothing
she_NP NP -
she
+
she
somebody_NP NP -
somebody
+
somebody
something_NP NP -
something
+
something
that_NP NP -
that
+
that
these_NP NP -
these
+
these
they_NP NP -
they
+
they
this_NP NP -
this
+
this
those_NP NP -
those
+
those
we_NP NP -
we
+
we
youPl_NP NP -
you
+
you
youPol_NP NP -
you
+
you
you_NP NP -
you
+
you
@@ -2103,12 +2103,12 @@ Lexical category, constructors given in mkNum Numeral -> Num -
twenty
+
twenty
mkNum Digits -> Num -
2 1
+
2 1
mkNum @@ -2118,12 +2118,12 @@ Lexical category, constructors given in mkNum Card -> Num -
almost five
+
almost five
mkNum AdN -> Card -> Num -
almost five
+
almost five
pluralNum @@ -2159,12 +2159,12 @@ Lexical category, constructors given in mkNumeral Sub1000 -> Numeral -
nine hundred and ninety - nine
+
nine hundred and ninety - nine
mkNumeral Sub1000 -> Sub1000 -> Numeral -
nine hundred and ninety - nine thousand nine hundred and ninety - nine
+
nine hundred and ninety - nine thousand nine hundred and ninety - nine
mkNumeral @@ -2174,7 +2174,7 @@ Lexical category, constructors given in thousandfoldNumeral Sub1000 -> Numeral -
nine hundred and ninety - nine thousand
+
nine hundred and ninety - nine thousand
@@ -2205,7 +2205,7 @@ Lexical category, constructors given in mkOrd A -> Ord -
smallest
+
smallest
@@ -2221,22 +2221,22 @@ Lexical category, constructors given in but_PConj PConj -
but
+
but
mkPConj Conj -> PConj -
and now
+
and now
otherwise_PConj PConj -
otherwise
+
otherwise
therefore_PConj PConj -
therefore
+
therefore
@@ -2260,27 +2260,27 @@ Lexical category, constructors given in mkPhr (PConj) -> Utt -> (Voc) -> Phr -
but sleep , my friend
+
but sleep , my friend
mkPhr S -> Phr -
she won't sleep
+
she won't sleep
mkPhr Cl -> Phr -
she sleeps
+
she sleeps
mkPhr QS -> Phr -
would she sleep
+
would she sleep
mkPhr Imp -> Phr -
sleep
+
sleep
@@ -2296,12 +2296,12 @@ Lexical category, constructors given in negativePol Pol -
she doesn't sleep
+
she doesn't sleep
positivePol Pol -
she sleeps
+
she sleeps
@@ -2317,22 +2317,22 @@ Lexical category, constructors given in all_Predet Predet -
all the men
+
all the men
most_Predet Predet -
most
+
most
not_Predet Predet -
not everybody
+
not everybody
only_Predet Predet -
only
+
only
@@ -2348,107 +2348,107 @@ Lexical category, constructors given in above_Prep Prep -
above it
+
above it
after_Prep Prep -
after it
+
after it
before_Prep Prep -
before it
+
before it
behind_Prep Prep -
behind it
+
behind it
between_Prep Prep -
between you and me
+
between you and me
by8agent_Prep Prep -
by it
+
by it
by8means_Prep Prep -
by it
+
by it
during_Prep Prep -
during it
+
during it
except_Prep Prep -
except it
+
except it
for_Prep Prep -
for it
+
for it
from_Prep Prep -
from it
+
from it
in8front_Prep Prep -
in front of it
+
in front of it
in_Prep Prep -
in it
+
in it
on_Prep Prep -
on it
+
on it
part_Prep Prep -
of it
+
of it
possess_Prep Prep -
of it
+
of it
through_Prep Prep -
through it
+
through it
to_Prep Prep -
to it
+
to it
under_Prep Prep -
under it
+
under it
with_Prep Prep -
with it
+
with it
without_Prep Prep -
without it
+
without it
@@ -2464,47 +2464,47 @@ Lexical category, constructors given in he_Pron Pron -
he
+
he
i_Pron Pron -
I
+
I
it_Pron Pron -
it
+
it
she_Pron Pron -
she
+
she
they_Pron Pron -
they
+
they
we_Pron Pron -
we
+
we
youPl_Pron Pron -
you
+
you
youPol_Pron Pron -
you
+
you
youSg_Pron Pron -
you
+
you
@@ -2520,17 +2520,17 @@ Lexical category, constructors given in exclMarkPunct Punct -
yes !
+
yes !
fullStopPunct Punct -
yes .
+
yes .
questMarkPunct Punct -
yes ?
+
yes ?
@@ -2546,152 +2546,152 @@ Lexical category, constructors given in mkQCl Cl -> QCl -
does she sleep
+
does she sleep
mkQCl IP -> VP -> QCl -
who always sleeps
+
who always sleeps
mkQCl IP -> V -> QCl -
who sleeps
+
who sleeps
mkQCl IP -> V2 -> NP -> QCl -
who loves her
+
who loves her
mkQCl IP -> V3 -> NP -> NP -> QCl -
who sends it to her
+
who sends it to her
mkQCl IP -> VV -> VP -> QCl -
who wants to sleep
+
who wants to sleep
mkQCl IP -> VS -> S -> QCl -
who says that I sleep
+
who says that I sleep
mkQCl IP -> VQ -> QS -> QCl -
who wonders who sleeps
+
who wonders who sleeps
mkQCl IP -> VA -> A -> QCl -
who becomes old
+
who becomes old
mkQCl IP -> VA -> AP -> QCl -
who becomes very old
+
who becomes very old
mkQCl IP -> V2A -> NP -> A -> QCl -
who paints it red
+
who paints it red
mkQCl IP -> V2A -> NP -> AP -> QCl -
who paints it very red
+
who paints it very red
mkQCl IP -> V2S -> NP -> S -> QCl -
who answers to him that we sleep
+
who answers to him that we sleep
mkQCl IP -> V2Q -> NP -> QS -> QCl -
who asks him who sleeps
+
who asks him who sleeps
mkQCl IP -> V2V -> NP -> VP -> QCl -
who begs him to sleep
+
who begs him to sleep
mkQCl IP -> A -> QCl -
who is old
+
who is old
mkQCl IP -> A -> NP -> QCl -
who is older than he
+
who is older than he
mkQCl IP -> A2 -> NP -> QCl -
who is married to him
+
who is married to him
mkQCl IP -> AP -> QCl -
who is very old
+
who is very old
mkQCl IP -> NP -> QCl -
who is the woman
+
who is the woman
mkQCl IP -> N -> QCl -
who is a woman
+
who is a woman
mkQCl IP -> CN -> QCl -
who is an old woman
+
who is an old woman
mkQCl IP -> Adv -> QCl -
who is here
+
who is here
mkQCl IP -> NP -> V2 -> QCl -
who is her
+
who is her
mkQCl IP -> ClSlash -> QCl -
whom does she love today
+
whom does she love today
mkQCl IAdv -> Cl -> QCl -
why does she sleep
+
why does she sleep
mkQCl Prep -> IP -> Cl -> QCl -
with whom does she sleep
+
with whom does she sleep
mkQCl IAdv -> NP -> QCl -
where is she
+
where is she
mkQCl IComp -> NP -> QCl -
who is this man
+
who is this man
mkQCl IP -> QCl -
which city is there
+
which city is there
@@ -2707,12 +2707,12 @@ Lexical category, constructors given in mkQS (Tense) -> (Ant) -> (Pol) -> QCl -> QS -
who wouldn't have slept
+
who wouldn't have slept
mkQS Cl -> QS -
does she sleep
+
does she sleep
@@ -2728,32 +2728,32 @@ Lexical category, constructors given in a_Quant Quant -
a house
+
a house
mkQuant Pron -> Quant -
my house
+
my house
no_Quant Quant -
no house
+
no house
that_Quant Quant -
that house
+
that house
the_Quant Quant -
the house
+
the house
this_Quant Quant -
this house
+
this house
@@ -2769,122 +2769,122 @@ Lexical category, constructors given in mkRCl RP -> VP -> RCl -
woman who always sleeps
+
woman who always sleeps
mkRCl RP -> V -> RCl -
woman who sleeps
+
woman who sleeps
mkRCl RP -> V2 -> NP -> RCl -
woman who loves him
+
woman who loves him
mkRCl RP -> V3 -> NP -> NP -> RCl -
woman who sends it to him
+
woman who sends it to him
mkRCl RP -> VV -> VP -> RCl -
woman who wants to sleep
+
woman who wants to sleep
mkRCl RP -> VS -> S -> RCl -
woman who says that I sleep
+
woman who says that I sleep
mkRCl RP -> VQ -> QS -> RCl -
woman who wonders who sleeps
+
woman who wonders who sleeps
mkRCl RP -> VA -> A -> RCl -
woman who becomes old
+
woman who becomes old
mkRCl RP -> VA -> AP -> RCl -
woman who becomes very old
+
woman who becomes very old
mkRCl RP -> V2A -> NP -> A -> RCl -
woman who paints it red
+
woman who paints it red
mkRCl RP -> V2A -> NP -> AP -> RCl -
woman who paints it very red
+
woman who paints it very red
mkRCl RP -> V2S -> NP -> S -> RCl -
woman who answers to him that we sleep
+
woman who answers to him that we sleep
mkRCl RP -> V2Q -> NP -> QS -> RCl -
woman who asks him who sleeps
+
woman who asks him who sleeps
mkRCl RP -> V2V -> NP -> VP -> RCl -
woman who begs him to sleep
+
woman who begs him to sleep
mkRCl RP -> A -> RCl -
woman who is old
+
woman who is old
mkRCl RP -> A -> NP -> RCl -
woman who is older than he
+
woman who is older than he
mkRCl RP -> A2 -> NP -> RCl -
woman who is married to him
+
woman who is married to him
mkRCl RP -> AP -> RCl -
woman who is very old
+
woman who is very old
mkRCl RP -> NP -> RCl -
woman who is the woman
+
woman who is the woman
mkRCl RP -> N -> RCl -
student who is a woman
+
student who is a woman
mkRCl RP -> CN -> RCl -
student who is an old woman
+
student who is an old woman
mkRCl RP -> Adv -> RCl -
woman who is here
+
woman who is here
mkRCl RP -> NP -> V2 -> RCl -
woman whom we love
+
woman whom we love
mkRCl RP -> ClSlash -> RCl -
woman whom she loves today
+
woman whom she loves today
mkRCl @@ -2905,7 +2905,7 @@ Lexical category, constructors given in mkRP Prep -> NP -> RP -> RP -
all the cities in whom
+
all the cities in whom
which_RP @@ -2926,7 +2926,7 @@ Lexical category, constructors given in mkRS (Tense) -> (Ant) -> (Pol) -> RCl -> RS -
woman who wouldn't have slept
+
woman who wouldn't have slept
mkRS @@ -2936,7 +2936,7 @@ Lexical category, constructors given in mkRS Conj -> RS -> RS -> RS -
woman who sleeps or whom we love
+
woman who sleeps or whom we love
mkRS @@ -2957,7 +2957,7 @@ Lexical category, constructors given in mkS (Tense) -> (Ant) -> (Pol) -> Cl -> S -
she wouldn't have slept
+
she wouldn't have slept
mkS @@ -2967,17 +2967,17 @@ Lexical category, constructors given in mkS Conj -> S -> S -> S -
she sleeps and I run
+
she sleeps and I run
mkS Conj -> ListS -> S -
she sleeps , I run and you walk
+
she sleeps , I run and you walk
mkS Adv -> S -> S -
today she sleeps
+
today she sleeps
@@ -2993,17 +2993,17 @@ Lexical category, constructors given in mkSC S -> SC -
that she sleeps
+
that she sleeps
mkSC QS -> SC -
who sleeps
+
who sleeps
mkSC VP -> SC -
to sleep
+
to sleep
@@ -3019,7 +3019,7 @@ Lexical category, constructors given in mkSSlash Temp -> Pol -> ClSlash -> SSlash -
she hadn't seen
+
she hadn't seen
@@ -3035,17 +3035,17 @@ Lexical category, constructors given in mkSub100 Unit -> Sub100 -
eight
+
eight
mkSub100 Unit -> Unit -> Sub100 -
eighty - three
+
eighty - three
tenfoldSub100 Unit -> Sub100 -
eight
+
eight
@@ -3061,17 +3061,17 @@ Lexical category, constructors given in mkSub1000 Sub100 -> Sub1000 -
ninety - nine
+
ninety - nine
mkSub1000 Unit -> Sub1000 -
nine hundred
+
nine hundred
mkSub1000 Unit -> Sub100 -> Sub1000 -
nine hundred and ninety - nine
+
nine hundred and ninety - nine
@@ -3087,27 +3087,27 @@ Lexical category, constructors given in although_Subj Subj -
although she sleeps
+
although she sleeps
because_Subj Subj -
because she sleeps
+
because she sleeps
if_Subj Subj -
if she sleeps
+
if she sleeps
that_Subj Subj -
that she sleeps
+
that she sleeps
when_Subj Subj -
when she sleeps
+
when she sleeps
@@ -3139,22 +3139,22 @@ Lexical category, constructors given in conditionalTense Tense -
she would sleep
+
she would sleep
futureTense Tense -
she will sleep
+
she will sleep
pastTense Tense -
she slept
+
she slept
presentTense Tense -
she sleeps
+
she sleeps
@@ -3175,37 +3175,37 @@ Lexical category, constructors given in mkText Phr -> (Punct) -> (Text) -> Text -
does she sleep ? yes .
+
does she sleep ? yes .
mkText Utt -> Text -
yes .
+
yes .
mkText S -> Text -
she slept .
+
she slept .
mkText Cl -> Text -
she sleeps .
+
she sleeps .
mkText QS -> Text -
did she sleep ?
+
did she sleep ?
mkText (Pol) -> Imp -> Text -
don't sleep !
+
don't sleep !
mkText Text -> Text -> Text -
where ? here . when ? now !
+
where ? here . when ? now !
@@ -3221,47 +3221,47 @@ Lexical category, constructors given in n1_Unit Unit -
one
+
one
n2_Unit Unit -
two
+
two
n3_Unit Unit -
three
+
three
n4_Unit Unit -
four
+
four
n5_Unit Unit -
five
+
five
n6_Unit Unit -
six
+
six
n7_Unit Unit -
seven
+
seven
n8_Unit Unit -
eight
+
eight
n9_Unit Unit -
nine
+
nine
@@ -3277,82 +3277,82 @@ Lexical category, constructors given in lets_Utt VP -> Utt -
let's sleep
+
let's sleep
mkUtt S -> Utt -
she slept
+
she slept
mkUtt Cl -> Utt -
she sleeps
+
she sleeps
mkUtt QS -> Utt -
who didn't sleep
+
who didn't sleep
mkUtt QCl -> Utt -
who sleeps
+
who sleeps
mkUtt (ImpForm) -> (Pol) -> Imp -> Utt -
don't be men
+
don't be men
mkUtt IP -> Utt -
who
+
who
mkUtt IAdv -> Utt -
why
+
why
mkUtt NP -> Utt -
this man
+
this man
mkUtt Adv -> Utt -
here
+
here
mkUtt VP -> Utt -
to sleep
+
to sleep
mkUtt CN -> Utt -
beer
+
beer
mkUtt AP -> Utt -
good
+
good
mkUtt Card -> Utt -
five
+
five
no_Utt Utt -
no
+
no
yes_Utt Utt -
yes
+
yes
@@ -3376,7 +3376,7 @@ Lexical category, constructors given in have_V2 V2 -
to have it
+
to have it
@@ -3465,142 +3465,142 @@ Lexical category, constructors given in mkVP V -> VP -
to sleep
+
to sleep
mkVP V2 -> NP -> VP -
to love him
+
to love him
mkVP V3 -> NP -> NP -> VP -
to send it to him
+
to send it to him
mkVP VV -> VP -> VP -
to want to sleep
+
to want to sleep
mkVP VS -> S -> VP -
to know that she sleeps
+
to know that she sleeps
mkVP VQ -> QS -> VP -
to wonder who sleeps
+
to wonder who sleeps
mkVP VA -> AP -> VP -
to become red
+
to become red
mkVP V2A -> NP -> AP -> VP -
to paint it red
+
to paint it red
mkVP V2S -> NP -> S -> VP -
to answer to him that she sleeps
+
to answer to him that she sleeps
mkVP V2Q -> NP -> QS -> VP -
to ask him who sleeps
+
to ask him who sleeps
mkVP V2V -> NP -> VP -> VP -
to beg him to sleep
+
to beg him to sleep
mkVP A -> VP -
to be old
+
to be old
mkVP A -> NP -> VP -
to be older than he
+
to be older than he
mkVP A2 -> NP -> VP -
to be married to him
+
to be married to him
mkVP AP -> VP -
to be very old
+
to be very old
mkVP N -> VP -
to be a woman
+
to be a woman
mkVP CN -> VP -
to be an old woman
+
to be an old woman
mkVP NP -> VP -
to be the woman
+
to be the woman
mkVP Adv -> VP -
to be here
+
to be here
mkVP VP -> Adv -> VP -
to sleep here
+
to sleep here
mkVP AdV -> VP -> VP -
always to sleep
+
always to sleep
mkVP VPSlash -> NP -> VP -
to paint it black
+
to paint it black
mkVP VPSlash -> VP -
to paint itself black
+
to paint itself black
mkVP Comp -> VP -
to be warm
+
to be warm
passiveVP V2 -> VP -
to be loved
+
to be loved
passiveVP V2 -> NP -> VP -
to be loved by her
+
to be loved by her
progressiveVP VP -> VP -
to be sleeping
+
to be sleeping
reflexiveVP V2 -> VP -
to love itself
+
to love itself
reflexiveVP @@ -3621,42 +3621,42 @@ Lexical category, constructors given in mkVPSlash V2 -> VPSlash -
whom does she see
+
whom does she see
mkVPSlash V3 -> NP -> VPSlash -
to whom does she send it
+
to whom does she send it
mkVPSlash V2A -> AP -> VPSlash -
whom does she paint red
+
whom does she paint red
mkVPSlash V2Q -> QS -> VPSlash -
whom does she ask where I sleep
+
whom does she ask where I sleep
mkVPSlash V2S -> S -> VPSlash -
to whom does she answer that I sleep
+
to whom does she answer that I sleep
mkVPSlash V2V -> VP -> VPSlash -
whom does she beg to sleep
+
whom does she beg to sleep
mkVPSlash VV -> VPSlash -> VPSlash -
whom does she want to see
+
whom does she want to see
mkVPSlash V2V -> NP -> VPSlash -> VPSlash -
whom does she beg me to see
+
whom does she beg me to see
@@ -3688,22 +3688,22 @@ Lexical category, constructors given in can8know_VV VV -
to be able to sleep
+
to be able to sleep
can_VV VV -
to be able to sleep
+
to be able to sleep
must_VV VV -
have to
+
have to
want_VV VV -
want
+
want
@@ -3719,12 +3719,12 @@ Lexical category, constructors given in mkVoc NP -> Voc -
yes , my friend
+
yes , my friend
please_Voc Voc -
please
+
please
@@ -6674,6 +6674,234 @@ source +

Paradigms for Hindi

+ +

+ +

+

+source ../src/hindi/ParadigmsHin.gf +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FunctionTypeExplanation
masculineGender-
feminineGender-
singularNumber;-
pluralNumber;-
mkNStr -> N-
mkNStr -> Gender -> N-
mkN(x1,_,_,_,_,x6 : Str) -> Gender -> N-
mkN2N -> Prep -> Str -> N2;-
mkN3N -> Prep -> Str -> Str-> N3-
mkCmpdNounStr -> N -> N-
mkPNStr -> PN-
personalPNStr -> Str -> Str -> Str -> Str -> Str -> Str -> Number -> Gender -> UPerson -> Pron-
demoPNStr -> Str -> Str -> Quant-
mkDetStr -> Str -> Str -> Str -> Number -> Det-
mkIP(x1,x2,x3:Str) -> Number -> Gender -> IP-
mkAdNStr -> AdN-
mkAStr-> A-
mkAStr -> Str -> A2-
mkIrregAStr -> Str -> A2-
mkVStr -> V-
mkV2Str -> V2-
mkV2V -> V2-
mkV2V -> Str -> V2-
mkV3V -> Str -> Str -> V3;-
mkV2VV -> Str -> Str -> Bool -> V2V-
compoundVStr -> V -> V-
compoundVStr -> V2 -> V-
mkAdvStr -> Adv-
mkPrepStr -> Str -> Prep-
mkIQuant(s1,_,_,_,_,_,_,_,_,_,_,s12:Str) -> IQuant-
mkQuantPron -> Quant-
mkQuantPron -> Quant-
mkConjStr -> Conjand (plural agreement)
mkConjStr -> Number -> Conjor (agrement number given as argument)
mkConjStr -> Str -> Conjboth ... and (plural)
mkConjStr -> Str -> Number -> Conjeither ... or (agrement number given as argument)
mkConjStr -> Conj-
mkConjStr -> Number -> Conj-
mkConjStr -> Str -> Conj-
mkConjStr -> Str -> Number -> Conj-
mk2ConjStr -> Str -> Number -> Conj-
mkVVV -> VV-
+ +

Paradigms for Italian

@@ -6956,7 +7184,7 @@ source +

Paradigms for Latvian

@@ -6973,6 +7201,21 @@ source Explanation +Number +Type +- + + +singular +Number +- + + +plural +Number +- + + second_conjugation VerbConj - @@ -7259,7 +7502,7 @@ source +

Paradigms for Nepali

@@ -7607,7 +7850,7 @@ source +

Paradigms for Norwegian

@@ -7860,7 +8103,7 @@ source +

Paradigms for Polish

@@ -7870,7 +8113,7 @@ source ../src/polish/ParadigmsPol.gf

- +

Paradigms for Punjabi

@@ -8083,7 +8326,7 @@ source +

Paradigms for Romanian

@@ -8336,7 +8579,7 @@ source +

Paradigms for Russian

@@ -8524,7 +8767,220 @@ source + +

Paradigms for Sindhi

+ +

+ +

+

+source ../src/sindhi/ParadigmsSnd.gf +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FunctionTypeExplanation
masculineGender-
feminineGender-
singularNumber;-
pluralNumber;-
mkN2N -> Prep -> Str -> N2;-
mkN3N -> Prep -> Str -> Str-> N3-
mkCmpdNounStr -> N -> N-
mkPNStr -> PN-
mkPNStr -> Gender -> PN-
personalPNStr -> Str -> Str -> Str -> Str -> Number -> Gender -> PPerson -> Pron-
demoPNStr -> Str -> Str -> Quant-
mkDetStr -> Str -> Str -> Str -> Number -> Det-
mkIP(x1,x2,x3,x4:Str) -> Number -> Gender -> IP-
mkAdNStr -> AdN-
mkAStr-> A-
mkAStr -> Str -> A2-
mkVStr -> V-
mkV2Str -> V2-
mkV2V -> V2-
mkV2V -> Str -> V2-
mkV3V -> Str -> Str -> V3;-
mkV2VV -> Str -> Str -> Bool -> V2V-
compoundVStr -> V -> V-
compoundVStr -> V2 -> V-
mkAdvStr -> Adv-
mkPrepStr -> Prep-
mkQuant1Pron -> Quant-
mkIQuantStr -> Str -> Str -> Str -> IQuant-
mkQuant1Pron -> Quant-
mkConjStr -> Conjand (plural agreement)
mkConjStr -> Number -> Conjor (agrement number given as argument)
mkConjStr -> Str -> Conjboth ... and (plural)
mkConjStr -> Str -> Number -> Conjeither ... or (agrement number given as argument)
mkConjStr -> Conj-
mkConjStr -> Number -> Conj-
mkConjStr -> Str -> Conj-
mkConjStr -> Str -> Number -> Conj-
mk2ConjStr -> Str -> Number -> Conj-
mkVVV -> VV-
+ +

Paradigms for Spanish

@@ -8812,7 +9268,7 @@ source +

Paradigms for Swedish

@@ -9060,7 +9516,7 @@ source +

Paradigms for Thai

@@ -9233,7 +9689,7 @@ source +

Paradigms for Urdu

@@ -9486,10 +9942,10 @@ source +

Additional Libraries

- +

The Prelude module

@@ -9570,7 +10026,7 @@ strings and booleans. - +

The Predefined module

@@ -9675,7 +10131,7 @@ These functions are hard-coded in GF. They are available without explicit openin - +

The Formal module

@@ -9736,7 +10192,7 @@ use precedence levels and parentheses for grouping subexpressions. - +

The Symbolic module

@@ -9798,7 +10254,7 @@ languages. - +

The Combinators module

@@ -9904,7 +10360,7 @@ expressions (app). It works for all resource languages. - +

Browsing the libraries with GF commands

@@ -9933,7 +10389,7 @@ To try out overloaded syntax, test lexicon, and inflection paradigms: > cc mkCl (mkNP this_Quant (mkN "Farbe")) (mkA "dunkel") - +

An Example of Usage

@@ -10007,7 +10463,7 @@ For each language, an instantiation of the functor: (LexMusic = LexMusicGer) ; - +

Table of Contents

@@ -10109,30 +10565,32 @@ For each language, an instantiation of the functor:
  • Paradigms for Finnish
  • Paradigms for French
  • Paradigms for German -
  • Paradigms for Italian -
  • Paradigms for Latvian -
  • Paradigms for Nepali -
  • Paradigms for Norwegian -
  • Paradigms for Polish -
  • Paradigms for Punjabi -
  • Paradigms for Romanian -
  • Paradigms for Russian -
  • Paradigms for Spanish -
  • Paradigms for Swedish -
  • Paradigms for Thai -
  • Paradigms for Urdu +
  • Paradigms for Hindi +
  • Paradigms for Italian +
  • Paradigms for Latvian +
  • Paradigms for Nepali +
  • Paradigms for Norwegian +
  • Paradigms for Polish +
  • Paradigms for Punjabi +
  • Paradigms for Romanian +
  • Paradigms for Russian +
  • Paradigms for Sindhi +
  • Paradigms for Spanish +
  • Paradigms for Swedish +
  • Paradigms for Thai +
  • Paradigms for Urdu -
  • Additional Libraries +
  • Additional Libraries -
  • Browsing the libraries with GF commands -
  • An Example of Usage -
  • Table of Contents +
  • Browsing the libraries with GF commands +
  • An Example of Usage +
  • Table of Contents