diff --git a/lib/doc/Makefile b/lib/doc/Makefile index eacd4348b..6777a2546 100644 --- a/lib/doc/Makefile +++ b/lib/doc/Makefile @@ -27,6 +27,7 @@ exx: exx-script gf -retain -s ../alltenses/TryFre.gfo api-examples-Fre.txt gf -retain -s ../alltenses/TryGer.gfo api-examples-Ger.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 gf -retain -s ../alltenses/TryNor.gfo api-examples-Nor.txt gf -retain -s ../alltenses/TryPes.gfo api-examples-Pes.txt diff --git a/lib/doc/MkSynopsis.hs b/lib/doc/MkSynopsis.hs index f5aaa8821..e076e3e99 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 Nep Nor Pes Pnb Pol Ron Rus Spa Swe Tha Urd"] + "Afr Bul Cat Dan Dut Eng Fin Fre Ger Ita Lav Nep Nor Pes Pnb Pol Ron Rus Spa Swe Tha Urd"] main = do xx <- getArgs @@ -136,7 +136,7 @@ getRules aexx file = do _ -> getrs rs ss2 rule s = (name, typ, ex) where - ws = takeWhile (flip notElem ["--#", "--:"]) $ words s + ws = takeWhile (flip notElem ["--#", "--:", "="]) $ words s name = head ws (t,e) = span (/="--") (tail ws) typ = unwords $ filtype (drop 1 t) @@ -247,6 +247,7 @@ paradigmFiles = [ ("German", srcPath "/german/ParadigmsGer.gf"), -- ("Interlingua", srcPath "/interlingua/ParadigmsIna.gf"), ("Italian", srcPath "/italian/ParadigmsIta.gf"), + ("Latvian", srcPath "/latvian/ParadigmsLav.gf"), ("Nepali", srcPath "/nepali/ParadigmsNep.gf"), ("Norwegian", srcPath "/norwegian/ParadigmsNor.gf"), ("Polish", srcPath "/polish/ParadigmsPol.gf"), diff --git a/lib/doc/status.html b/lib/doc/status.html index 8edf6b4bd..c3d35d9c3 100644 --- a/lib/doc/status.html +++ b/lib/doc/status.html @@ -7,7 +7,7 @@

The Status of the GF Resource Grammar Library

Aarne Ranta
-20111204 +20111229

@@ -272,14 +272,14 @@ are marked in the table Lav + - +++ ++ ++ ++ - - - -- -- -- -- -*NG +*NG,*PP Mon @@ -549,6 +549,7 @@ NE Nyamsuren Erdenebadrakh, NF Nick Frolov, NG Normunds Gruzitis, RE Ramona Enache, +PP Peteris Paikens, SC Server Cimen, SM Sofy Moradi, SV Shafqat Virk, diff --git a/lib/doc/status.txt b/lib/doc/status.txt index e535712b7..58b468f17 100644 --- a/lib/doc/status.txt +++ b/lib/doc/status.txt @@ -31,7 +31,7 @@ are marked in the table | Ina | + | + | ++ | + | + | - | - | - | - | JB | Ita | + | + | ++ | + | + | + | + | - | - | *AR,*RE,GP | Lat | + | - | - | - | - | - | - | - | - | *AR -| Lav | + | - | - | - | - | - | - | - | - | *NG +| Lav | + | - | ++ | + | + | + | - | - | - | *NG,*PP | Mon | - | - | - | - | - | - | - | - | - | *NE | Nep | + | + | ++ | + | + | - | - | - | - | *DS | Nor | + | + | ++ | + | + | + | + | + | - | *AR @@ -107,6 +107,7 @@ NE Nyamsuren Erdenebadrakh, NF Nick Frolov, NG Normunds Gruzitis, RE Ramona Enache, +PP Peteris Paikens, SC Server Cimen, SM Sofy Moradi, SV Shafqat Virk, diff --git a/lib/doc/synopsis-intro.txt b/lib/doc/synopsis-intro.txt index 8447d4fda..5c8047ede 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 21 languages. +It covers the morphology and basic syntax of currently 22 languages. This document contains the most important parts of the GF Resource Grammar API, as needed by a GF application programmer. @@ -23,12 +23,12 @@ constructing trees in them. - [Chapter 2 #toc5]: syntactic construction functions, with cross-links and examples. - [Chapter 3 #toc83]: morphological paradigms. -- [Chapter 4 #toc103]: additional libraries. -- [Chapter 5 #toc110]: how to "browse" the library by +- [Chapter 4 #toc105]: additional libraries. +- [Chapter 5 #toc111]: how to "browse" the library by loading the grammars into the ``gf`` command editor. -- [Chapter 6 #toc111]: a brief example of how application grammars can +- [Chapter 6 #toc112]: a brief example of how application grammars can use the resource modules. -- [Detailed table of contents #toc112]. +- [Detailed table of contents #toc113]. Other relevant documents: diff --git a/lib/doc/synopsis.html b/lib/doc/synopsis.html index c91ad5037..00d797d8f 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 21 languages. +It covers the morphology and basic syntax of currently 22 languages.

This document contains the most important parts of the GF Resource Grammar API, @@ -37,12 +37,12 @@ constructing trees in them.

  • Chapter 2: syntactic construction functions, with cross-links and examples.
  • Chapter 3: morphological paradigms. -
  • Chapter 4: additional libraries. -
  • Chapter 5: how to "browse" the library by +
  • Chapter 4: additional libraries. +
  • Chapter 5: how to "browse" the library by loading the grammars into the gf command editor. -
  • Chapter 6: a brief example of how application grammars can +
  • Chapter 6: a brief example of how application grammars can use the resource modules. -
  • Detailed table of contents. +
  • Detailed table of contents.

    @@ -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
    @@ -4792,7 +4792,7 @@ source A -> Str -> A = +A -> Str -> A - @@ -6957,6 +6957,309 @@ source +

    Paradigms for Latvian

    + +

    + +

    +

    +source ../src/latvian/ParadigmsLav.gf +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FunctionTypeExplanation
    second_conjugationVerbConj-
    third_conjugationVerbConj-
    nominativeCase-
    genitiveCase-
    dativeCase-
    accusativeCase-
    locativeCase-
    mkN(lemma : Str) -> N-
    mkN(lemma : Str) -> Bool -> N-
    mkN(lemma : Str) -> Gender -> N-
    mkN(lemma : Str) -> NounDecl -> N-
    mkN(lemma : Str) -> Gender -> Bool -> N-
    mkN(lemma : Str) -> NounDecl -> Bool -> N-
    mkN(lemma : Str) -> Gender -> NounDecl -> N-
    mkN(lemma : Str) -> Gender -> NounDecl -> Bool -> N-
    mkN(lemma : Str) -> PN-
    mkN(lemma : Str) -> Number -> PN-
    mkN2N -> Prep -> N2-
    mkN2N -> Prep -> Bool -> N2-
    mkN3N -> Prep -> Prep -> N3-
    mkA(lemma : Str) -> A-
    mkA(lemma : Str) -> AdjType -> A-
    mkA(v : Verb) -> A-
    mkA2A -> Prep -> A2-
    mkASA -> AS =\a -> lin A a-
    mkA2SA -> Prep -> A2S =\a,p -> lin A2 (a ** { p-
    mkAVA -> AV-
    mkA2VA -> Prep -> A2V-
    mkV(lemma : Str) -> V-
    mkV(lemma : Str) -> VerbConj -> V-
    mkV(lemma : Str) -> Str -> Str -> V-
    mkV2V -> Prep -> V2-
    mkVSV -> Subj -> VS-
    mkV2SV -> Prep -> Subj -> V2S-
    mkVAV -> VA-
    mkV2AV -> Prep -> V2A-
    mkVQV -> VQ-
    mkV2QV -> Prep -> V2Q-
    mkVVV -> VV-
    mkV2VV -> Prep -> V2V-
    mkV3V -> Prep -> Prep -> V3-
    mkCAdvStr -> Str -> Degree -> CAdv-
    mkPrepStr -> Case -> Case -> Prep-
    mkPrepCase -> Prep-
    mkAdvStr -> Adv-
    mkAdVStr -> AdV-
    mkAdAStr -> AdA-
    mkAdNStr -> AdN-
    mkConjStr -> Conj-
    mkConjStr -> Number -> Conj-
    mkConjStr -> Str -> Conj-
    mkConjStr -> Str -> Number -> Conj-
    mk2ConjStr -> Str -> Number -> Conj-
    mkNumRegStr -> Str -> Number -> { s : DForm => CardOrd => Gender => Case => Str }-
    mkNumSpecStr -> Str -> Str -> Str -> Number -> { s : DForm => CardOrd => Gender => Case => Str }-
    simtsCardOrd => Gender => Number => Case => Str-
    tuukstotisCardOrd => Gender => Number => Case => Str-
    + +

    Paradigms for Nepali

    @@ -7009,82 +7312,82 @@ source N = \s -> mkNReg s NonLiving Pers3_L ** {lock_N= <>} +Str -> N - regN -Str -> NPerson -> N = \s,h -> mkNReg s NonLiving h ** {lock_N= <>} +Str -> NPerson -> N - regN -Str -> NType -> N = \s,t -> mkNReg s t Pers3_L ** {lock_N= <>} +Str -> NType -> N - regN -Str -> NType -> NPerson -> N = \s,t,h -> mkNReg s t h ** {lock_N= <>} +Str -> NType -> NPerson -> N - mkNF -Str -> N = \s -> mkNFem s NonLiving Pers3_L ** {lock_N= <>} +Str -> N - mkNF -Str -> NPerson -> N = \s,h -> mkNFem s NonLiving h ** {lock_N= <>} +Str -> NPerson -> N - mkNF -Str -> NType -> N = \s,t -> mkNFem s t Pers3_L ** {lock_N= <>} +Str -> NType -> N - mkNF -Str -> NType -> NPerson -> N = \s,t,h -> mkNFem s t h ** {lock_N= <>} +Str -> NType -> NPerson -> N - mkNUC -Str -> N = +Str -> N - mkNUC -Str -> Gender -> N = +Str -> Gender -> N - mkNUC -Str -> Gender -> NType -> N = +Str -> Gender -> NType -> N - mkNUC -Str -> Gender -> NType -> NPerson -> N = +Str -> Gender -> NType -> NPerson -> N - --mkNUC -Str -> NType -> Gender -> N = \s,t,g -> mkNUnc s g t ** {lock_N= <>} +Str -> NType -> Gender -> N - mkN2 -N -> Prep -> Str -> N2 = +N -> Prep -> Str -> N2 - mkN2 -N -> Prep -> Str -> NType -> N2 = +N -> Prep -> Str -> NType -> N2 - mkN2 -N -> Prep -> Str -> NType -> NPerson -> N2 = +N -> Prep -> Str -> NType -> NPerson -> N2 - @@ -7094,12 +7397,12 @@ source N -> Prep -> Prep -> Str-> N3 = +N -> Prep -> Prep -> Str-> N3 - mkN3 -N -> Prep -> Prep -> Str-> NType -> N3 = +N -> Prep -> Prep -> Str-> NType -> N3 - @@ -7114,52 +7417,52 @@ source PN = +Str -> PN - mkPN -Str -> Gender -> NPerson -> PN = +Str -> Gender -> NPerson -> PN - mkPN -Str -> Gender -> NType -> NPerson -> PN = +Str -> Gender -> NType -> NPerson -> PN - mkPron -Str -> Str -> Number -> Gender -> NPerson -> Pron = +Str -> Str -> Number -> Gender -> NPerson -> Pron - mkPron -(x1,_,_,_,_,_,x7 : Str) -> Number -> Gender -> NPerson -> Pron = +(x1,_,_,_,_,_,x7 : Str) -> Number -> Gender -> NPerson -> Pron - demoPN -Str -> Str -> Str -> Quant = +Str -> Str -> Str -> Quant - mkDet -(s1,s2:Str) -> Number -> Det = +(s1,s2:Str) -> Number -> Det - mkDet -(s1,s2,s3,s4:Str) -> Number -> Det = +(s1,s2,s3,s4:Str) -> Number -> Det - mkIDetn -(s1,s2:Str) -> Number -> IDet = +(s1,s2:Str) -> Number -> IDet - mkIP -(x1,x2,x3,x4:Str) -> Number -> IP = +(x1,x2,x3,x4:Str) -> Number -> IP - @@ -7174,7 +7477,7 @@ source V = +Str -> V - @@ -7204,12 +7507,12 @@ source V -> V = \s,v -> {s = \\vf => s ++ v.s ! vf lock_V = <>} +Str -> V -> V - compoundV -Str -> V2 -> V = \s,v -> {s = \\vf => s ++ v.s ! vf lock_V = <>} +Str -> V2 -> V - @@ -7244,17 +7547,17 @@ source Pron -> Quant = \p -> {s = \\_,_,c => p.s!c lock_Quant = <>}; +Pron -> Quant - mkQuant -(s1,s2,s3,s4:Str) -> Quant = +(s1,s2,s3,s4:Str) -> Quant - mkQuant -(s1,s2:Str) -> Quant = +(s1,s2:Str) -> Quant - @@ -7279,32 +7582,32 @@ source Conj = \y -> mk2Conj [] y plural +Str -> Conj - mkConj -Str -> Number -> Conj = \y,n -> mk2Conj [] y n +Str -> Number -> Conj - mkConj -Str -> Str -> Conj = \x,y -> mk2Conj x y plural +Str -> Str -> Conj - mkConj -Str -> Str -> Number -> Conj = mk2Conj +Str -> Str -> Number -> Conj - mk2Conj -Str -> Str -> Number -> Conj = \x,y,n -> +Str -> Str -> Number -> Conj - - +

    Paradigms for Norwegian

    @@ -7557,7 +7860,7 @@ source +

    Paradigms for Polish

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

    - +

    Paradigms for Punjabi

    @@ -7620,37 +7923,37 @@ source PN = +Str -> PN - mkPN -Str -> Gender -> PN = +Str -> Gender -> PN - personalPN -Str -> Str -> Str -> Str -> Str -> Number -> Gender -> PPerson -> Pron = +Str -> Str -> Str -> Str -> Str -> Number -> Gender -> PPerson -> Pron - demoPN -Str -> Str -> Str -> Quant = +Str -> Str -> Str -> Quant - mkDet -Str -> Str -> Str -> Str -> Number -> Det = +Str -> Str -> Str -> Str -> Number -> Det - mkIP -(x1,x2,x3,x4:Str) -> Number -> Gender -> IP = +(x1,x2,x3,x4:Str) -> Number -> Gender -> IP - mkAdN -Str -> AdN = \s -> ss s +Str -> AdN - @@ -7695,17 +7998,17 @@ source V -> V = \s,v -> {s = \\vf => s ++ v.s ! vf lock_V = <>} +Str -> V -> V - compoundV -Str -> V2 -> V = \s,v -> {s = \\vf => s ++ v.s ! vf lock_V = <>} +Str -> V2 -> V - mkAdv -Str -> Adv = \str -> {s =\\ _ => str lock_Adv = <>}; +Str -> Adv - @@ -7725,7 +8028,7 @@ source Pron -> Quant = \p -> {s = \\_,_,c => p.s!c ;a = p.a lock_Quant = <>}; +Pron -> Quant - @@ -7750,37 +8053,37 @@ source Conj = \y -> mk2Conj [] y plural +Str -> Conj - mkConj -Str -> Number -> Conj = \y,n -> mk2Conj [] y n +Str -> Number -> Conj - mkConj -Str -> Str -> Conj = \x,y -> mk2Conj x y plural +Str -> Str -> Conj - mkConj -Str -> Str -> Number -> Conj = mk2Conj +Str -> Str -> Number -> Conj - mk2Conj -Str -> Str -> Number -> Conj = \x,y,n -> +Str -> Str -> Number -> Conj - mkVV -V -> VV = \v -> lin VV (v ** {isAux = False}); +V -> VV - - +

    Paradigms for Romanian

    @@ -8033,7 +8336,7 @@ source +

    Paradigms for Russian

    @@ -8221,7 +8524,7 @@ source +

    Paradigms for Spanish

    @@ -8509,7 +8812,7 @@ source +

    Paradigms for Swedish

    @@ -8757,7 +9060,7 @@ source +

    Paradigms for Thai

    @@ -8830,7 +9133,7 @@ source A = \s -> lin A (mkAdj s) +Str -> A - @@ -8885,52 +9188,52 @@ source V -> VQ = +V -> VQ - mkVS -V -> VS = +V -> VS - mkVA -V -> VA = +V -> VA - mkV2Q -V -> Str -> V2Q = +V -> Str -> V2Q - mkV2V -V -> Str -> Str -> V2V = +V -> Str -> Str -> V2V - mkV2S -V -> Str -> V2S = +V -> Str -> V2S - mkV2A -V -> Str -> Str -> V2A = +V -> Str -> Str -> V2A - mkAdv -Str -> Adv = +Str -> Adv - mkPrep -Str -> Prep = +Str -> Prep - - +

    Paradigms for Urdu

    @@ -8998,32 +9301,32 @@ source PN = \s -> let n = regNoun s in {s = n.s ! Sg g = n.g lock_PN = <>} +Str -> PN - personalPN -Str -> Str -> Str -> Str -> Str -> Str -> Str -> Number -> Gender -> UPerson -> Pron = +Str -> Str -> Str -> Str -> Str -> Str -> Str -> Number -> Gender -> UPerson -> Pron - demoPN -Str -> Str -> Str -> Quant = \s1,s2,s3 -> let n = makeDemonPronForm s1 s2 s3 in {s = n.s a = defaultAgr lock_Quant = <>}; +Str -> Str -> Str -> Quant - mkDet -Str -> Str -> Str -> Str -> Number -> Det = \s1,s2,s3,s4,nb -> let dt = makeDet s1 s2 s3 s4 nb in {s = dt.s n = nb lock_Det = <>}; +Str -> Str -> Str -> Str -> Number -> Det - mkIP -(x1,x2,x3:Str) -> Number -> Gender -> IP = \s1,s2,s3,n,g -> let p = mkIntPronForm s1 s2 s3 in { s = p.s n = n g = g lock_IP = <>}; +(x1,x2,x3:Str) -> Number -> Gender -> IP - mkAdN -Str -> AdN = \s -> {s = s p = False lock_AdN = <>} +Str -> AdN - @@ -9068,7 +9371,7 @@ source V -> V2 = \v -> v ** {c2 = {s = [] c = VTrans} lock_V2 = <>} +V -> V2 - @@ -9113,7 +9416,7 @@ source IQuant = \s -> makeIQuant s +Str -> IQuant - @@ -9138,27 +9441,27 @@ source Conj = \y -> mk2Conj [] y plural +Str -> Conj - mkConj -Str -> Number -> Conj = \y,n -> mk2Conj [] y n +Str -> Number -> Conj - mkConj -Str -> Str -> Conj = \x,y -> mk2Conj x y plural +Str -> Str -> Conj - mkConj -Str -> Str -> Number -> Conj = mk2Conj +Str -> Str -> Number -> Conj - mk2Conj -Str -> Str -> Number -> Conj = \x,y,n -> +Str -> Str -> Number -> Conj - @@ -9168,8 +9471,8 @@ source V -> VV = -e.g cahna +V -> VV +- mkAdA @@ -9183,10 +9486,10 @@ source +

    Additional Libraries

    - +

    The Prelude module

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

    The Predefined module

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

    The Formal module

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

    The Symbolic module

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

    The Combinators module

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

    Browsing the libraries with GF commands

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

    An Example of Usage

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

    Table of Contents

    @@ -9807,28 +10110,29 @@ For each language, an instantiation of the functor:
  • Paradigms for French
  • Paradigms for German
  • Paradigms for Italian -
  • 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 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 -
  • 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