updated RGL synopsis with Mongolian

This commit is contained in:
aarne
2015-03-13 15:21:49 +00:00
parent 3625c1ea25
commit 9e0012af3e
5 changed files with 815 additions and 520 deletions

View File

@@ -2,6 +2,8 @@
all: exx synopsis all: exx synopsis
GF_alltenses=$(GF_LIB_PATH)/alltenses
index: index:
txt2tags -thtml index.txt txt2tags -thtml index.txt
status: status:
@@ -19,32 +21,33 @@ abstract:
exx-script: exx-script:
runghc MkExx.hs <api-examples.txt >api-examples.gfs runghc MkExx.hs <api-examples.txt >api-examples.gfs
exx: exx-script exx: exx-script
gf -retain -s alltenses/TryAfr.gfo <api-examples.gfs >api-examples-Afr.txt gf -retain -s $(GF_alltenses)/TryAfr.gfo <api-examples.gfs >api-examples-Afr.txt
gf -retain -s alltenses/TryBul.gfo <api-examples.gfs >api-examples-Bul.txt gf -retain -s $(GF_alltenses)/TryBul.gfo <api-examples.gfs >api-examples-Bul.txt
gf -retain -s alltenses/TryCat.gfo <api-examples.gfs >api-examples-Cat.txt gf -retain -s $(GF_alltenses)/TryCat.gfo <api-examples.gfs >api-examples-Cat.txt
gf -retain -s alltenses/TryChi.gfo <api-examples.gfs >api-examples-Chi.txt gf -retain -s $(GF_alltenses)/TryChi.gfo <api-examples.gfs >api-examples-Chi.txt
gf -retain -s alltenses/TryDan.gfo <api-examples.gfs >api-examples-Dan.txt gf -retain -s $(GF_alltenses)/TryDan.gfo <api-examples.gfs >api-examples-Dan.txt
gf -retain -s alltenses/TryDut.gfo <api-examples.gfs >api-examples-Dut.txt gf -retain -s $(GF_alltenses)/TryDut.gfo <api-examples.gfs >api-examples-Dut.txt
gf -retain -s alltenses/TryEng.gfo <api-examples.gfs >api-examples-Eng.txt gf -retain -s $(GF_alltenses)/TryEng.gfo <api-examples.gfs >api-examples-Eng.txt
gf -retain -s alltenses/TryEst.gfo <api-examples.gfs >api-examples-Est.txt gf -retain -s $(GF_alltenses)/TryEst.gfo <api-examples.gfs >api-examples-Est.txt
gf -retain -s alltenses/TryFin.gfo <api-examples.gfs >api-examples-Fin.txt gf -retain -s $(GF_alltenses)/TryFin.gfo <api-examples.gfs >api-examples-Fin.txt
gf -retain -s alltenses/TryFre.gfo <api-examples.gfs >api-examples-Fre.txt gf -retain -s $(GF_alltenses)/TryFre.gfo <api-examples.gfs >api-examples-Fre.txt
gf -retain -s alltenses/TryGer.gfo <api-examples.gfs >api-examples-Ger.txt gf -retain -s $(GF_alltenses)/TryGer.gfo <api-examples.gfs >api-examples-Ger.txt
gf -retain -s alltenses/TryGre.gfo <api-examples.gfs >api-examples-Gre.txt gf -retain -s $(GF_alltenses)/TryGre.gfo <api-examples.gfs >api-examples-Gre.txt
gf -retain -s alltenses/TryHin.gfo <api-examples.gfs >api-examples-Hin.txt gf -retain -s $(GF_alltenses)/TryHin.gfo <api-examples.gfs >api-examples-Hin.txt
gf -retain -s alltenses/TryIta.gfo <api-examples.gfs >api-examples-Ita.txt gf -retain -s $(GF_alltenses)/TryIta.gfo <api-examples.gfs >api-examples-Ita.txt
gf -retain -s alltenses/TryJpn.gfo <api-examples.gfs >api-examples-Jpn.txt gf -retain -s $(GF_alltenses)/TryJpn.gfo <api-examples.gfs >api-examples-Jpn.txt
gf -retain -s alltenses/TryLav.gfo <api-examples.gfs >api-examples-Lav.txt gf -retain -s $(GF_alltenses)/TryLav.gfo <api-examples.gfs >api-examples-Lav.txt
gf -retain -s alltenses/TryMlt.gfo <api-examples.gfs >api-examples-Mlt.txt gf -retain -s $(GF_alltenses)/TryMlt.gfo <api-examples.gfs >api-examples-Mlt.txt
gf -retain -s alltenses/TryNep.gfo <api-examples.gfs >api-examples-Nep.txt gf -retain -s $(GF_alltenses)/TryMon.gfo <api-examples.gfs >api-examples-Mon.txt
gf -retain -s alltenses/TryNor.gfo <api-examples.gfs >api-examples-Nor.txt gf -retain -s $(GF_alltenses)/TryNep.gfo <api-examples.gfs >api-examples-Nep.txt
gf -retain -s alltenses/TryPes.gfo <api-examples.gfs >api-examples-Pes.txt gf -retain -s $(GF_alltenses)/TryNor.gfo <api-examples.gfs >api-examples-Nor.txt
gf -retain -s alltenses/TryPnb.gfo <api-examples.gfs >api-examples-Pnb.txt gf -retain -s $(GF_alltenses)/TryPes.gfo <api-examples.gfs >api-examples-Pes.txt
gf -retain -s alltenses/TryPol.gfo <api-examples.gfs >api-examples-Pol.txt gf -retain -s $(GF_alltenses)/TryPnb.gfo <api-examples.gfs >api-examples-Pnb.txt
gf -retain -s alltenses/TryRon.gfo <api-examples.gfs >api-examples-Ron.txt gf -retain -s $(GF_alltenses)/TryPol.gfo <api-examples.gfs >api-examples-Pol.txt
gf -retain -s alltenses/TryRus.gfo <api-examples.gfs >api-examples-Rus.txt gf -retain -s $(GF_alltenses)/TryRon.gfo <api-examples.gfs >api-examples-Ron.txt
gf -retain -s alltenses/TrySnd.gfo <api-examples.gfs >api-examples-Snd.txt gf -retain -s $(GF_alltenses)/TryRus.gfo <api-examples.gfs >api-examples-Rus.txt
gf -retain -s alltenses/TrySpa.gfo <api-examples.gfs >api-examples-Spa.txt gf -retain -s $(GF_alltenses)/TrySnd.gfo <api-examples.gfs >api-examples-Snd.txt
gf -retain -s alltenses/TrySwe.gfo <api-examples.gfs >api-examples-Swe.txt gf -retain -s $(GF_alltenses)/TrySpa.gfo <api-examples.gfs >api-examples-Spa.txt
gf -retain -s alltenses/TryTha.gfo <api-examples.gfs >api-examples-Tha.txt gf -retain -s $(GF_alltenses)/TrySwe.gfo <api-examples.gfs >api-examples-Swe.txt
gf -retain -s alltenses/TryUrd.gfo <api-examples.gfs >api-examples-Urd.txt gf -retain -s $(GF_alltenses)/TryTha.gfo <api-examples.gfs >api-examples-Tha.txt
gf -retain -s $(GF_alltenses)/TryUrd.gfo <api-examples.gfs >api-examples-Urd.txt

View File

@@ -19,7 +19,7 @@ revealedLang = "Eng"
-- all languages shown -- all languages shown
apiExxFiles = ["api-examples-" ++ lang ++ ".txt" | lang <- words apiExxFiles = ["api-examples-" ++ lang ++ ".txt" | lang <- words
-- "Eng Chi" -- "Eng Chi"
"Afr Bul Cat Chi Dan Dut Eng Est Fin Fre Ger Gre Hin Ita Jpn Lav Mlt Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd" "Afr Bul Cat Chi Dan Dut Eng Est Fin Fre Ger Gre Hin Ita Jpn Lav Mlt Mon Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd"
] ]
main = do main = do
@@ -257,6 +257,7 @@ paradigmFiles = [
("Japanese", srcPath "/japanese/ParadigmsJpn.gf"), ("Japanese", srcPath "/japanese/ParadigmsJpn.gf"),
("Latvian", srcPath "/latvian/ParadigmsLav.gf"), ("Latvian", srcPath "/latvian/ParadigmsLav.gf"),
("Maltese", srcPath "/maltese/ParadigmsMlt.gf"), ("Maltese", srcPath "/maltese/ParadigmsMlt.gf"),
("Mongolian", srcPath "/mongolian/ParadigmsMon.gf"),
("Nepali", srcPath "/nepali/ParadigmsNep.gf"), ("Nepali", srcPath "/nepali/ParadigmsNep.gf"),
("Norwegian", srcPath "/norwegian/ParadigmsNor.gf"), ("Norwegian", srcPath "/norwegian/ParadigmsNor.gf"),
("Polish", srcPath "/polish/ParadigmsPol.gf"), ("Polish", srcPath "/polish/ParadigmsPol.gf"),
@@ -341,6 +342,6 @@ coding file = case language file of
"Pol" -> "utf8" "Pol" -> "utf8"
"Rus" -> "utf8" "Rus" -> "utf8"
"Mlt" -> "utf8" "Mlt" -> "utf8"
_ -> "latin1" _ -> "latin1" ----
language = reverse . take 3 . drop 3 . reverse language = reverse . take 3 . drop 3 . reverse

View File

@@ -8,11 +8,11 @@
=Introduction= =Introduction=
The GF Resource Grammar Library is the standard library for Grammatical Framework. The GF Resource Grammar Library is the standard library for Grammatical Framework.
It covers the morphology and basic syntax of currently 29 languages: It covers the morphology and basic syntax of currently 30 languages:
Afrikaans, Afrikaans,
Bulgarian, Bulgarian,
Catalan, Catalan,
Chinese, Chinese (simplified),
Danish, Danish,
Dutch, Dutch,
English, English,
@@ -26,6 +26,7 @@ Japanese,
Italian, Italian,
Latvian, Latvian,
Maltese, Maltese,
Mongolian,
Nepali, Nepali,
Norwegian bokmål, Norwegian bokmål,
Persian, Persian,
@@ -52,12 +53,12 @@ constructing trees in them.
- [Chapter 2 #toc5]: syntactic construction functions, with cross-links and - [Chapter 2 #toc5]: syntactic construction functions, with cross-links and
examples. examples.
- [Chapter 3 #toc84]: morphological paradigms. - [Chapter 3 #toc84]: morphological paradigms.
- [Chapter 4 #toc113]: additional libraries. - [Chapter 4 #toc114]: additional libraries.
- [Chapter 5 #toc119]: how to "browse" the library by - [Chapter 5 #toc120]: how to "browse" the library by
loading the grammars into the ``gf`` command editor. loading the grammars into the ``gf`` command editor.
- [Chapter 6 #toc120]: a brief example of how application grammars can - [Chapter 6 #toc121]: a brief example of how application grammars can
use the resource modules. use the resource modules.
- [Detailed table of contents #toc121]. - [Detailed table of contents #toc122].
Other relevant documents: Other relevant documents:

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
--# -path=.:../abstract:../common:../prelude --# -path=.:../abstract:../common
concrete AllAfr of AllAfrAbs = concrete AllAfr of AllAfrAbs =
LangAfr, LangAfr,