1
0
forked from GitHub/gf-core

Russian extra modules (dummy)

This commit is contained in:
aarne
2006-06-21 16:20:52 +00:00
parent ea2033e3d6
commit 0ff92d9134
5 changed files with 61 additions and 22 deletions

View File

@@ -16,9 +16,8 @@ Italian, Norwegian, Russian, Spanish, Swedish.
**New**: [User manual of the resource library ../../../doc/resource.pdf]. **New**: [User manual of the resource library ../../../doc/resource.pdf].
**Notice**. This document concerns the API v. 1.0 which has not **Notice**. This document concerns the API v. 1.0 released
yet been "officially" released. The release is planned in the end on June 22, 2006.
of June 2006.
==Authors== ==Authors==
@@ -27,8 +26,8 @@ Inger Andersson and Therese Soderberg (Spanish morphology),
Nicolas Barth and Sylvain Pogodalla (French verb list), Nicolas Barth and Sylvain Pogodalla (French verb list),
Janna Khegai (Russian modules), Janna Khegai (Russian modules),
Bjorn Bringert (many Swadesh lexica), Bjorn Bringert (many Swadesh lexica),
Carlos Gonzalia (Spanish cardinals), Carlos Gonzalía (Spanish cardinals),
Harald Hammarstrom (German morphology), Harald Hammarström (German morphology),
Patrik Jansson (Swedish cardinals), Patrik Jansson (Swedish cardinals),
Andreas Priesnitz (German lexicon), Andreas Priesnitz (German lexicon),
Aarne Ranta. Aarne Ranta.
@@ -68,7 +67,7 @@ Coverage, for each language:
- complete morphology - complete morphology
- lexicon of the ca. 100 most important structural words - lexicon of the ca. 100 most important structural words
- test lexicon of ca. 300 content words (rough equivalents in each language) - test lexicon of ca. 300 content words (rough equivalents in each language)
- list of irregular verbs (language-dependent) - list of irregular verbs (separately for each language)
- representative fragment of syntax (cf. CLE (Core Language Engine)) - representative fragment of syntax (cf. CLE (Core Language Engine))
- rather flat semantics (cf. Quasi-Logical Form of CLE) - rather flat semantics (cf. Quasi-Logical Form of CLE)
@@ -94,8 +93,7 @@ Go to the main directory, compile the grammars, and run a test.
``` ```
This will take quite some time. An alternative is to use the This will take quite some time. An alternative is to use the
precompiled grammar package [``compiled.tgz`` ../../compiled.tgz]. precompiled grammar package [``compiled.tgz`` ../../compiled.tgz].
This package This package has the necessary ``gfc`` and ``gfr`` files directly under ``GF/lib``.
has the necessary ``gfc`` and ``gfr`` files directly under ``GF/lib``.
``` ```
GF/lib/alltenses GF/lib/alltenses
GF/lib/mathematical GF/lib/mathematical
@@ -112,6 +110,15 @@ Do for instance
For more examples, see the [Overview slides clt2006.html]. For more examples, see the [Overview slides clt2006.html].
==Encoding==
Finnish, German, Romance, and Scandinavian languages are in isolatin-1.
Russian is in UTF-8.
English is in pure ASCII.
===The language independent ground API=== ===The language independent ground API===
@@ -158,12 +165,13 @@ The documentation of the individual modules:
- [IrregDan gfdoc/IrregDan.gf]: Danish irregular verbs (very incomplete) - [IrregDan ../danish/IrregDan.gf]: Danish irregular verbs (very incomplete)
- [IrregEng gfdoc/IrregEng.gf]: English irregular verbs - [IrregEng ../english/IrregEng.gf]: English irregular verbs
- [IrregFre gfdoc/IrregFre.gf]: French irregular verbs - [IrregFre ../french/IrregFre.gf]: French irregular verbs
- [IrregGer gfdoc/IrregGer.gf]: German irregular verbs - [IrregGer ../german/IrregGer.gf]: German irregular verbs
- [IrregNor gfdoc/IrregNor.gf]: Norwegian irregular verbs (very incomplete) - [IrregNor ../norwegian/IrregNor.gf]: Norwegian irregular verbs (very incomplete)
- [IrregSwe gfdoc/IrregSwe.gf]: Swedish irregular verbs - [IrregSpa ../spanish/IrregSpa.gf]: Spanish irregular verbs
- [IrregSwe ../swedish/IrregSwe.gf]: Swedish irregular verbs
This is the structure of each language-dependent top module. This is the structure of each language-dependent top module.
@@ -171,18 +179,27 @@ This is the structure of each language-dependent top module.
[English.png] [English.png]
- [Extra ../abstract/Extra.gf]: extra constructs implemented in some languages - [Extra ../abstract/Extra.gf]: extra constructs implemented in some languages
- [ExtraEng ../english/ExtraEngAbs.gf]: extra constructs in English only - [ExtraDan ../danish/ExtraDanAbs.gf]: extra constructs in Danish
- [ExtraFin ../finnish/ExtraFinAbs.gf]: extra constructs in Finnish only - [ExtraEng ../english/ExtraEngAbs.gf]: extra constructs in English
- [ExtraFre ../french/ExtraFreAbs.gf]: extra constructs in French only - [ExtraFin ../finnish/ExtraFinAbs.gf]: extra constructs in Finnish
- [ExtraNor ../norwegian/ExtraNorAbs.gf]: extra constructs in Norwegian only - [ExtraFre ../french/ExtraFreAbs.gf]: extra constructs in French
- [ExtraScand ../scandinavian/ExtraScandAbs.gf]: extra constructs in Scandinavian only - [ExtraIta ../italian/ExtraItaAbs.gf]: extra constructs in Italian
- [ExtraNor ../norwegian/ExtraNorAbs.gf]: extra constructs in Norwegian
- [ExtraRus ../russian/ExtraRusAbs.gf]: extra constructs in Russian
- [ExtraScand ../scandinavian/ExtraScandAbs.gf]: extra constructs in Scandinavian
- [ExtraSpa ../french/ExtraSpaAbs.gf]: extra constructs in Spanish
- [ExtraSwe ../swedish/ExtraSweAbs.gf]: extra constructs in Swedish
- [Danish ../danish/DanishAbs.gf]: Danish with all extras
- [English ../english/EnglishAbs.gf]: English with all extras - [English ../english/EnglishAbs.gf]: English with all extras
- [Finnish ../finnish/FinnishAbs.gf]: Finnish with all extras - [Finnish ../finnish/FinnishAbs.gf]: Finnish with all extras
- [French ../french/FrenchAbs.gf]: French with all extras - [French ../french/FrenchAbs.gf]: French with all extras
- [German ../german/GermanAbs.gf]: German with all extras - [German ../german/GermanAbs.gf]: German with all extras
- [Italian ../italian/ItalianAbs.gf]: Italian with all extras
- [Norwegian ../norwegian/NorwegianAbs.gf]: Norwegian with all extras - [Norwegian ../norwegian/NorwegianAbs.gf]: Norwegian with all extras
- [Russian ../russian/RussianAbs.gf]: Russian with all extras
- [Spanish ../spanish/SpanishAbs.gf]: Spanish with all extras
- [Swedish ../swedish/SwedishAbs.gf]: Swedish with all extras - [Swedish ../swedish/SwedishAbs.gf]: Swedish with all extras
@@ -291,9 +308,13 @@ must be used:
p -lang=LangEng -fcfg "this man is old" p -lang=LangEng -fcfg "this man is old"
``` ```
Parsing with the ``-fcfg`` flag takes a few extra seconds the first time during Parsing with the ``-fcfg`` flag takes a few extra seconds the first time during
each session, but gets faster at later runs. each session, but gets faster at later runs. From GF 2.6, ``fcfg`` is the
default parser of GF and the flag is not needed.
It is also possible to parse in Scandinavian languages
(Danish, Norwegian, Swedish) and, with enough memory (``gf +RTS -K512M``),
German.
It is also feasible to parse in Scandinavian languages (Danish, Norwegian, Swedish).
@@ -303,7 +324,7 @@ These applications are meant to serve as starting points for
new applications, showing how the libraries can be used in new applications, showing how the libraries can be used in
typical situations. typical situations.
===Brozeage=== ===Bronzeage===
The [examples/bronzeage ../../../examples/bronzeage] The [examples/bronzeage ../../../examples/bronzeage]
grammar set implements a language fragment grammar set implements a language fragment

View File

@@ -0,0 +1,3 @@
concrete ExtraRus of ExtraRusAbs = CatRus ** {
}

View File

@@ -0,0 +1,3 @@
abstract ExtraRusAbs = {
}

View File

@@ -0,0 +1,6 @@
--# -path=.:../abstract:../common:prelude
concrete Russian of RussianAbs =
LangRus,
ExtraRus
** {} ;

View File

@@ -0,0 +1,6 @@
--# -path=.:../abstract:../common:prelude
abstract RussianAbs =
Lang,
ExtraRusAbs
** {} ;