mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 09:02:50 -06:00
make resource
This commit is contained in:
2
lib/resource/Makefile
Normal file
2
lib/resource/Makefile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
all:
|
||||||
|
gf -src +RTS -K10M <MkResource.gfs
|
||||||
12
lib/resource/MkResource.gfs
Normal file
12
lib/resource/MkResource.gfs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
i finnish/LangFin.gf
|
||||||
|
s
|
||||||
|
i french/LangFre.gf
|
||||||
|
i italian/LangIta.gf
|
||||||
|
i spanish/LangSpa.gf
|
||||||
|
s
|
||||||
|
i norwegian/LangNor.gf
|
||||||
|
i swedish/LangSwe.gf
|
||||||
|
s
|
||||||
|
i english/LangEng.gf
|
||||||
|
s
|
||||||
|
pm | wf langs.gfcm
|
||||||
@@ -122,7 +122,7 @@ lin
|
|||||||
love_V2 = caseV2 (regV "rakastaa") partitive ;
|
love_V2 = caseV2 (regV "rakastaa") partitive ;
|
||||||
man_N = mkN "mies" "miehen" "miehenä" "miestä" "mieheen"
|
man_N = mkN "mies" "miehen" "miehenä" "miestä" "mieheen"
|
||||||
"miehinä" "miehissä" "miesten" "miehiä" "miehiin" human ;
|
"miehinä" "miehissä" "miesten" "miehiä" "miehiin" human ;
|
||||||
married_A2 = mkA2 (mkA (regN "avioitunut")) (postpP genitive "kanssa") ;
|
married_A2 = mkA2 (mkA (nRae "avioitunut" "avioituneena")) (postpP genitive "kanssa") ;
|
||||||
meat_N = nLukko "liha" ;
|
meat_N = nLukko "liha" ;
|
||||||
milk_N = nLukko "maito" ;
|
milk_N = nLukko "maito" ;
|
||||||
moon_N = regN "kuu" ;
|
moon_N = regN "kuu" ;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
--# -path=.:../romance:../abstract:../../prelude
|
--# -path=.:../romance:../abstract:../../prelude
|
||||||
concrete VerbphraseFre of Verbphrase = CategoriesFre **
|
concrete VerbphraseFre of Verbphrase = CategoriesFre **
|
||||||
VerbphraseRomance with (SyntaxScand=SyntaxFre) ;
|
VerbphraseRomance with (SyntaxRomanceVP=SyntaxFreVP) ;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
--
|
--
|
||||||
-- The following files are presupposed:
|
-- The following files are presupposed:
|
||||||
|
|
||||||
interface SyntaxRomance = TypesRomance ** open Prelude, (CO=Coordination) in {
|
interface SyntaxRomanceVP = TypesRomance ** open Prelude, (CO=Coordination) in {
|
||||||
|
|
||||||
--2 Common Nouns
|
--2 Common Nouns
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -20,9 +20,9 @@
|
|||||||
-- implemented. The parameter types are defined in $TypesEng.gf$.
|
-- implemented. The parameter types are defined in $TypesEng.gf$.
|
||||||
|
|
||||||
incomplete concrete VerbphraseRomance of Verbphrase = CategoriesRomance **
|
incomplete concrete VerbphraseRomance of Verbphrase = CategoriesRomance **
|
||||||
open Prelude, SyntaxRomance in {
|
open Prelude, SyntaxRomanceVP in {
|
||||||
|
|
||||||
flags optimize=all ;
|
flags optimize=all_subs ;
|
||||||
|
|
||||||
lin
|
lin
|
||||||
UseV v = predClauseGroup v (complVerb v) ;
|
UseV v = predClauseGroup v (complVerb v) ;
|
||||||
@@ -54,8 +54,8 @@ incomplete concrete VerbphraseRomance of Verbphrase = CategoriesRomance **
|
|||||||
RelVP = relVerbPhrase ;
|
RelVP = relVerbPhrase ;
|
||||||
IntVP = intVerbPhrase ;
|
IntVP = intVerbPhrase ;
|
||||||
|
|
||||||
PosVP tp = predVerbGroup True tp ;
|
-- PosVP tp = predVerbGroup True tp ;
|
||||||
NegVP tp = predVerbGroup False tp ;
|
-- NegVP tp = predVerbGroup False tp ;
|
||||||
|
|
||||||
AdvVP = adVerbPhrase ;
|
AdvVP = adVerbPhrase ;
|
||||||
SubjVP = subjunctVerbPhrase ;
|
SubjVP = subjunctVerbPhrase ;
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
-- Stability : (stable)
|
-- Stability : (stable)
|
||||||
-- Portability : (portable)
|
-- Portability : (portable)
|
||||||
--
|
--
|
||||||
-- > CVS $Date: 2005/10/12 12:38:30 $
|
-- > CVS $Date: 2005/10/13 13:43:47 $
|
||||||
-- > CVS $Author: aarne $
|
-- > CVS $Author: aarne $
|
||||||
-- > CVS $Revision: 1.42 $
|
-- > CVS $Revision: 1.43 $
|
||||||
--
|
--
|
||||||
-- The datatype of shell commands and the list of their options.
|
-- The datatype of shell commands and the list of their options.
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
@@ -176,7 +176,7 @@ optionsOfCommand co = case co of
|
|||||||
CParse -> both "new newer cfg mcfg n ign raw v lines all" "cat lang lexer parser number rawtrees"
|
CParse -> both "new newer cfg mcfg n ign raw v lines all" "cat lang lexer parser number rawtrees"
|
||||||
CTranslate _ _ -> opts "cat lexer parser"
|
CTranslate _ _ -> opts "cat lexer parser"
|
||||||
CGenerateRandom -> flags "cat lang number depth"
|
CGenerateRandom -> flags "cat lang number depth"
|
||||||
CGenerateTrees -> both "metas one" "depth alts cat lang number"
|
CGenerateTrees -> both "metas" "atoms depth alts cat lang number"
|
||||||
CPutTerm -> flags "transform number"
|
CPutTerm -> flags "transform number"
|
||||||
CWrapTerm _ -> opts "c"
|
CWrapTerm _ -> opts "c"
|
||||||
CMorphoAnalyse -> both "short" "lang"
|
CMorphoAnalyse -> both "short" "lang"
|
||||||
|
|||||||
Reference in New Issue
Block a user