mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-04 16:52:50 -06:00
added a project for Portuguese as a copy of Spanish
This commit is contained in:
15
lib/src/api/CombinatorsPor.gf
Normal file
15
lib/src/api/CombinatorsPor.gf
Normal file
@@ -0,0 +1,15 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource CombinatorsPor = Combinators - [appCN, appCNc] with
|
||||
(Cat = CatPor),
|
||||
(Structural = StructuralPor),
|
||||
(Noun = NounPor),
|
||||
(Constructors = ConstructorsPor) **
|
||||
{
|
||||
oper
|
||||
appCN : CN -> NP -> NP
|
||||
= \cn,x -> mkNP the_Art (PossNP cn x) ;
|
||||
appCNc : CN -> [NP] -> NP
|
||||
= \cn,xs -> let np : NP = mkNP and_Conj xs
|
||||
in mkNP the_Art (PossNP cn np) ;
|
||||
}
|
||||
3
lib/src/api/ConstructorsPor.gf
Normal file
3
lib/src/api/ConstructorsPor.gf
Normal file
@@ -0,0 +1,3 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource ConstructorsPor = Constructors with (Grammar = GrammarPor) ;
|
||||
5
lib/src/api/SymbolicPor.gf
Normal file
5
lib/src/api/SymbolicPor.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:../spanish:../romance:../common:../abstract:../prelude
|
||||
|
||||
resource SymbolicPor = Symbolic with
|
||||
(Symbol = SymbolPor),
|
||||
(Grammar = GrammarPor) ;
|
||||
5
lib/src/api/SyntaxPor.gf
Normal file
5
lib/src/api/SyntaxPor.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
instance SyntaxPor of Syntax =
|
||||
ConstructorsPor, CatPor, StructuralPor, CombinatorsPor ;
|
||||
|
||||
3
lib/src/api/TryPor.gf
Normal file
3
lib/src/api/TryPor.gf
Normal file
@@ -0,0 +1,3 @@
|
||||
--# -path=.:../spanish:../romance:../common:../abstract:../prelude
|
||||
|
||||
resource TryPor = SyntaxPor, LexiconPor, ParadigmsPor - [mkAdv,mkAdN] ;
|
||||
Reference in New Issue
Block a user