diff --git a/lib/doc/MkSynopsis.hs b/lib/doc/MkSynopsis.hs index d056623cb..e3fccb627 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 Nor Pes Pnb Pol Ron Rus Spa Swe Urd"] + "Afr Bul Cat Dan Dut Eng Fin Fre Ger Ita Nep Nor Pes Pnb Pol Ron Rus Spa Swe Urd"] main = do xx <- getArgs @@ -247,6 +247,7 @@ paradigmFiles = [ ("German", srcPath "/german/ParadigmsGer.gf"), -- ("Interlingua", srcPath "/interlingua/ParadigmsIna.gf"), ("Italian", srcPath "/italian/ParadigmsIta.gf"), + ("Nepali", srcPath "/nepali/ParadigmsNep.gf"), ("Norwegian", srcPath "/norwegian/ParadigmsNor.gf"), ("Polish", srcPath "/polish/ParadigmsPol.gf"), ("Punjabi", srcPath "/punjabi/ParadigmsPnb.gf"), diff --git a/lib/doc/hovering.png b/lib/doc/hovering.png index ab0844e2b..438a99603 100644 Binary files a/lib/doc/hovering.png and b/lib/doc/hovering.png differ diff --git a/lib/doc/synopsis.html b/lib/doc/synopsis.html index bbe93b80f..5ec2409e7 100644 --- a/lib/doc/synopsis.html +++ b/lib/doc/synopsis.html @@ -524,82 +524,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
@@ -615,27 +615,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
@@ -651,22 +651,22 @@ Lexical category, constructors given in almost_AdN AdN -
atomic term almostAdN
+
atomic term almostAdN
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
@@ -682,7 +682,7 @@ Lexical category, constructors given in always_AdV AdV -
always
+
always
@@ -698,82 +698,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
@@ -789,12 +789,12 @@ Lexical category, constructors given in anteriorAnt Ant -
she has slept
+
she has slept
simultaneousAnt Ant -
she sleeps
+
she sleeps
@@ -810,17 +810,17 @@ Lexical category, constructors given in as_CAdv CAdv -
as
+
as
less_CAdv CAdv -
less
+
less
more_CAdv CAdv -
more
+
more
@@ -836,97 +836,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
@@ -947,7 +947,7 @@ Lexical category, constructors given in mkCard Numeral -> Card -
seven
+
seven
mkCard @@ -973,122 +973,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 @@ -1098,32 +1098,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
@@ -1139,32 +1139,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
@@ -1180,17 +1180,17 @@ Lexical category, constructors given in mkComp AP -> Comp -
old
+
old
mkComp NP -> Comp -
this man
+
this man
mkComp Adv -> Comp -
here
+
here
@@ -1206,27 +1206,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
@@ -1242,62 +1242,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
+
every
few_Det Det -
few
+
few
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 @@ -1317,57 +1317,57 @@ Lexical category, constructors given in mkDet Pron -> Num -> Det -
my five
+
my five
much_Det Det -
much
+
much
somePl_Det Det -
some
+
some
someSg_Det Det -
some
+
some
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
@@ -1449,12 +1449,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
@@ -1470,37 +1470,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
@@ -1537,27 +1537,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
@@ -1573,67 +1573,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
@@ -1649,7 +1649,7 @@ Lexical category, constructors given in which_IQuant IQuant -
which house
+
which house
@@ -1665,17 +1665,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
@@ -1691,17 +1691,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
@@ -1854,77 +1854,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 @@ -1939,147 +1939,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
@@ -2100,12 +2100,12 @@ Lexical category, constructors given in mkNum Numeral -> Num -
twenty
+
twenty
mkNum Digits -> Num -
2 1
+
2 1
mkNum @@ -2115,12 +2115,12 @@ Lexical category, constructors given in mkNum Card -> Num -
almost five
+
almost five
mkNum AdN -> Card -> Num -
almost five
+
almost five
pluralNum @@ -2156,12 +2156,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 @@ -2171,7 +2171,7 @@ Lexical category, constructors given in thousandfoldNumeral Sub1000 -> Numeral -
nine hundred and ninety - nine thousand
+
nine hundred and ninety - nine thousand
@@ -2202,7 +2202,7 @@ Lexical category, constructors given in mkOrd A -> Ord -
smallest
+
smallest
@@ -2218,22 +2218,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
@@ -2257,27 +2257,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
@@ -2293,12 +2293,12 @@ Lexical category, constructors given in negativePol Pol -
she doesn't sleep
+
she doesn't sleep
positivePol Pol -
she sleeps
+
she sleeps
@@ -2314,22 +2314,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
@@ -2345,107 +2345,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
@@ -2461,47 +2461,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
@@ -2517,17 +2517,17 @@ Lexical category, constructors given in exclMarkPunct Punct -
yes !
+
yes !
fullStopPunct Punct -
yes .
+
yes .
questMarkPunct Punct -
yes ?
+
yes ?
@@ -2543,152 +2543,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
@@ -2704,12 +2704,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
@@ -2725,32 +2725,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
@@ -2766,122 +2766,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 @@ -2902,7 +2902,7 @@ Lexical category, constructors given in mkRP Prep -> NP -> RP -> RP -
all the cities in whom
+
all the cities in whom
which_RP @@ -2923,7 +2923,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 @@ -2933,7 +2933,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 @@ -2954,7 +2954,7 @@ Lexical category, constructors given in mkS (Tense) -> (Ant) -> (Pol) -> Cl -> S -
she wouldn't have slept
+
she wouldn't have slept
mkS @@ -2964,17 +2964,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
@@ -2990,17 +2990,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
@@ -3016,7 +3016,7 @@ Lexical category, constructors given in mkSSlash Temp -> Pol -> ClSlash -> SSlash -
she hadn't seen
+
she hadn't seen
@@ -3032,17 +3032,17 @@ Lexical category, constructors given in mkSub100 Unit -> Sub100 -
eight
+
eight
mkSub100 Unit -> Unit -> Sub100 -
eighty - three
+
eighty - three
tenfoldSub100 Unit -> Sub100 -
eight
+
eight
@@ -3058,17 +3058,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
@@ -3084,27 +3084,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
@@ -3136,22 +3136,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
@@ -3172,37 +3172,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 !
@@ -3218,47 +3218,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
@@ -3274,82 +3274,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
@@ -3373,7 +3373,7 @@ Lexical category, constructors given in have_V2 V2 -
to have it
+
to have it
@@ -3437,142 +3437,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 @@ -3593,42 +3593,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 -
atomic term where_Idv
+
atomic term where_Idv
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
@@ -3660,22 +3660,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
@@ -3691,12 +3691,12 @@ Lexical category, constructors given in mkVoc NP -> Voc -
yes , my friend
+
yes , my friend
please_Voc Voc -
please
+
please
@@ -6904,6 +6904,354 @@ source +

Paradigms for Nepali

+ +

+ +

+

+source ../src/nepali/ParadigmsNep.gf +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FunctionTypeExplanation
masculineGender-
feminineGender-
singularNumber-
pluralNumber-
humanNType-
professionNType-
livingNType-
regNStr -> N = \s -> mkNReg s NonLiving Pers3_L ** {lock_N= <>}-
regNStr -> NPerson -> N = \s,h -> mkNReg s NonLiving h ** {lock_N= <>}-
regNStr -> NType -> N = \s,t -> mkNReg s t Pers3_L ** {lock_N= <>}-
regNStr -> NType -> NPerson -> N = \s,t,h -> mkNReg s t h ** {lock_N= <>}-
mkNFStr -> N = \s -> mkNFem s NonLiving Pers3_L ** {lock_N= <>}-
mkNFStr -> NPerson -> N = \s,h -> mkNFem s NonLiving h ** {lock_N= <>}-
mkNFStr -> NType -> N = \s,t -> mkNFem s t Pers3_L ** {lock_N= <>}-
mkNFStr -> NType -> NPerson -> N = \s,t,h -> mkNFem s t h ** {lock_N= <>}-
mkNUCStr -> N =-
mkNUCStr -> Gender -> N =-
mkNUCStr -> Gender -> NType -> N =-
mkNUCStr -> Gender -> NType -> NPerson -> N =-
--mkNUCStr -> NType -> Gender -> N = \s,t,g -> mkNUnc s g t ** {lock_N= <>}-
mkN2N -> Prep -> Str -> N2 =-
mkN2N -> Prep -> Str -> NType -> N2 =-
mkN2N -> Prep -> Str -> NType -> NPerson -> N2 =-
mkN2N -> Prep -> Str -> N2;-
mkN3N -> Prep -> Prep -> Str-> N3 =-
mkN3N -> Prep -> Prep -> Str-> NType -> N3 =-
mkN3N -> Prep -> Prep -> Str-> N3-
mkCmpdNounStr -> N -> N-
mkPNStr -> PN =-
mkPNStr -> Gender -> NPerson -> PN =-
mkPNStr -> Gender -> NType -> NPerson -> PN =-
mkPronStr -> Str -> Number -> Gender -> NPerson -> Pron =-
mkPron(x1,_,_,_,_,_,x7 : Str) -> Number -> Gender -> NPerson -> Pron =-
demoPNStr -> Str -> Str -> Quant =-
mkDet(s1,s2:Str) -> Number -> Det =-
mkDet(s1,s2,s3,s4:Str) -> Number -> Det =-
mkIDetn(s1,s2:Str) -> Number -> IDet =-
mkIP(x1,x2,x3,x4:Str) -> Number -> IP =-
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 = \s,v -> {s = \\vf => s ++ v.s ! vf lock_V = <>}-
compoundVStr -> V2 -> V = \s,v -> {s = \\vf => s ++ v.s ! vf lock_V = <>}-
mkAdvStr -> Adve.g. today
mkAdVStr -> AdVe.g. always
mkAdAStr -> AdAe.g. quite
mkAdNStr -> AdNe.g. approximately
mkPrepStr -> Prep-
noPrepPrep-
--mkQuantPron -> Quant = \p -> {s = \\_,_,c => p.s!c lock_Quant = <>};-
mkQuant(s1,s2,s3,s4:Str) -> Quant =-
mkQuant(s1,s2:Str) -> 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 = \y -> mk2Conj [] y plural-
mkConjStr -> Number -> Conj = \y,n -> mk2Conj [] y n-
mkConjStr -> Str -> Conj = \x,y -> mk2Conj x y plural-
mkConjStr -> Str -> Number -> Conj = mk2Conj-
mk2ConjStr -> Str -> Number -> Conj = \x,y,n ->-
+ +

Paradigms for Norwegian

@@ -7156,7 +7504,7 @@ source +

Paradigms for Polish

@@ -7769,7 +8117,7 @@ source +

Paradigms for Punjabi

@@ -7982,7 +8330,7 @@ source +

Paradigms for Romanian

@@ -8235,7 +8583,7 @@ source +

Paradigms for Russian

@@ -8408,7 +8756,7 @@ source +

Paradigms for Spanish

@@ -8696,7 +9044,7 @@ source +

Paradigms for Swedish

@@ -8939,7 +9287,7 @@ source +

Paradigms for Urdu

@@ -9192,10 +9540,10 @@ source +

Additional Libraries

- +

The Prelude module

@@ -9276,7 +9624,7 @@ strings and booleans. - +

The Predefined module

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

The Formal module

@@ -9442,7 +9790,7 @@ use precedence levels and parentheses for grouping subexpressions. - +

The Symbolic module

@@ -9504,7 +9852,7 @@ languages. - +

The Combinators module

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

Browsing the libraries with GF commands

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

An Example of Usage

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

Table of Contents

@@ -9816,26 +10164,27 @@ For each language, an instantiation of the functor:
  • Paradigms for French
  • Paradigms for German
  • Paradigms for Italian -
  • Paradigms for Norwegian -
  • Paradigms for Polish -
  • Paradigms for Punjabi -
  • Paradigms for Romanian -
  • Paradigms for Russian -
  • Paradigms for Spanish -
  • Paradigms for Swedish -
  • Paradigms for Urdu +
  • 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 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 diff --git a/lib/src/Make.hs b/lib/src/Make.hs index 2a6f979f0..2493ca0c0 100644 --- a/lib/src/Make.hs +++ b/lib/src/Make.hs @@ -43,7 +43,9 @@ langsCoding = [ (("interlingua","Ina"),""), (("italian", "Ita"),"Romance"), (("latin", "Lat"),""), + (("nepali", "Nep"),""), (("norwegian","Nor"),"Scand"), + (("persian", "Pes"),""), (("polish", "Pol"),""), (("punjabi", "Pnb"),""), (("romanian", "Ron"),""), @@ -65,6 +67,9 @@ langsLangAll = langs -- languagues that are almost complete and for which Lang is normally compiled langsLang = langs `except` langsIncomplete ---- [] +-- languagues that have notpresent marked +langsPresent = langsLang `except` ["Nep","Pes"] + -- languages for which Lang can be compiled but which are incomplete langsIncomplete = ["Amh","Ara","Hin","Lat","Tha","Tur"] @@ -72,7 +77,7 @@ langsIncomplete = ["Amh","Ara","Hin","Lat","Tha","Tur"] langsAPI = langsLang `except` langsIncomplete -- languages for which to compile Symbolic -langsSymbolic = langsLang `except` (langsIncomplete ++ ["Afr","Ina","Pnb","Rus"]) +langsSymbolic = langsLang `except` (langsIncomplete ++ ["Afr","Ina","Pes","Pnb","Rus"]) -- languages for which to compile minimal Syntax langsMinimal = langs `only` ["Ara","Eng","Bul","Rus"] @@ -109,7 +114,7 @@ make xx = do let optl ls = maybe ls id $ getOptLangs xx ifx "lang" $ do - let lans = optl langsLang + let lans = optl $ if pres then langsPresent else langsLang mapM_ (gfc pres [] . lang) lans mapM_ (gfc pres presSymbolPath . symbol) lans ---- (optl langsAPI) copyl lans "*.gfo" dir diff --git a/lib/src/api/TrySpa.gf b/lib/src/api/TrySpa.gf index 06e74933b..bd00bef01 100644 --- a/lib/src/api/TrySpa.gf +++ b/lib/src/api/TrySpa.gf @@ -1,3 +1,3 @@ --# -path=.:alltenses:prelude -resource TrySpa = SyntaxSpa, LexiconSpa, ParadigmsSpa - [mkAdv] ; +resource TrySpa = SyntaxSpa, LexiconSpa, ParadigmsSpa - [mkAdv,mkAdN,mkDet,mkOrd,mkQuant] ; diff --git a/lib/src/nepali/CombinatorsNep.gf b/lib/src/nepali/CombinatorsNep.gf deleted file mode 100644 index e69de29bb..000000000 diff --git a/lib/src/nepali/ConstructorsNep.gf b/lib/src/nepali/ConstructorsNep.gf deleted file mode 100644 index e69de29bb..000000000 diff --git a/lib/src/nepali/SyntaxNep.gf b/lib/src/nepali/SyntaxNep.gf deleted file mode 100644 index e69de29bb..000000000