mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 00:52:51 -06:00
tried to change Jap to Jpn everywhere
This commit is contained in:
@@ -42,7 +42,7 @@ langsCoding = [
|
||||
(("german", "Ger"),""),
|
||||
(("interlingua","Ina"),""),
|
||||
(("italian", "Ita"),"Romance"),
|
||||
(("japanese", "Jap"),""),
|
||||
(("japanese", "Jpn"),""),
|
||||
(("latin", "Lat"),""),
|
||||
(("latvian", "Lav"),""),
|
||||
(("nepali", "Nep"),""),
|
||||
@@ -72,7 +72,7 @@ langsLangAll = langs
|
||||
langsLang = langs `except` langsIncomplete
|
||||
|
||||
-- languagues that have notpresent marked
|
||||
langsPresent = langsLang `except` ["Jap","Nep","Pes","Snd","Tha"]
|
||||
langsPresent = langsLang `except` ["Jpn","Nep","Pes","Snd","Tha"]
|
||||
|
||||
-- languages for which Lang can be compiled but which are incomplete
|
||||
langsIncomplete = ["Amh","Ara","Lat","Tur"]
|
||||
@@ -81,7 +81,7 @@ langsIncomplete = ["Amh","Ara","Lat","Tur"]
|
||||
langsAPI = langsLang `except` langsIncomplete
|
||||
|
||||
-- languages for which to compile Symbolic
|
||||
langsSymbolic = langsLang `except` (langsIncomplete ++ ["Afr","Ina","Jap","Nep","Pnb","Rus", "Snd"])
|
||||
langsSymbolic = langsLang `except` (langsIncomplete ++ ["Afr","Ina","Jpn","Nep","Pnb","Rus", "Snd"])
|
||||
|
||||
-- languages for which to compile minimal Syntax
|
||||
langsMinimal = langs `only` ["Ara","Eng","Bul","Rus"]
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource CombinatorsJap = Combinators with
|
||||
(Cat = CatJap),
|
||||
(Structural = StructuralJap),
|
||||
(Constructors = ConstructorsJap) ;
|
||||
6
lib/src/api/CombinatorsJpn.gf
Normal file
6
lib/src/api/CombinatorsJpn.gf
Normal file
@@ -0,0 +1,6 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource CombinatorsJpn = Combinators with
|
||||
(Cat = CatJpn),
|
||||
(Structural = StructuralJpn),
|
||||
(Constructors = ConstructorsJpn) ;
|
||||
@@ -1,3 +0,0 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource ConstructorsJap = Constructors with (Grammar = GrammarJap) ;
|
||||
3
lib/src/api/ConstructorsJpn.gf
Normal file
3
lib/src/api/ConstructorsJpn.gf
Normal file
@@ -0,0 +1,3 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource ConstructorsJpn = Constructors with (Grammar = GrammarJpn) ;
|
||||
@@ -1,5 +0,0 @@
|
||||
--# -path=.:./alltenses
|
||||
|
||||
instance SyntaxJap of Syntax =
|
||||
ConstructorsJap, CatJap, StructuralJap, CombinatorsJap ;
|
||||
|
||||
5
lib/src/api/SyntaxJpn.gf
Normal file
5
lib/src/api/SyntaxJpn.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:./alltenses
|
||||
|
||||
instance SyntaxJpn of Syntax =
|
||||
ConstructorsJpn, CatJpn, StructuralJpn, CombinatorsJpn ;
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
resource TryJap =
|
||||
SyntaxJap - [mkAdN] ,
|
||||
LexiconJap,
|
||||
ParadigmsJap - [mkAdv,mkDet,mkIP,mkAdN,mkQuant] **
|
||||
open (P = ParadigmsJap) in {
|
||||
|
||||
}
|
||||
{-
|
||||
oper
|
||||
|
||||
mkAdv = overload SyntaxJap {
|
||||
mkAdv : Str -> Adv = P.mkAdv ;
|
||||
} ;
|
||||
|
||||
mkAdN = overload {
|
||||
mkAdN : CAdv -> AdN = SyntaxJap.mkAdN ;
|
||||
--- mkAdN : Str -> AdN = P.mkAdN ;
|
||||
} ;
|
||||
|
||||
-- mkOrd = overload SyntaxJap {
|
||||
-- mkOrd : A -> Ord = SyntaxJap.OrdSuperl ;
|
||||
-- } ;
|
||||
|
||||
|
||||
-}
|
||||
26
lib/src/api/TryJpn.gf
Normal file
26
lib/src/api/TryJpn.gf
Normal file
@@ -0,0 +1,26 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
resource TryJpn =
|
||||
SyntaxJpn - [mkAdN] ,
|
||||
LexiconJpn,
|
||||
ParadigmsJpn - [mkAdv,mkDet,mkIP,mkAdN,mkQuant] **
|
||||
open (P = ParadigmsJpn) in {
|
||||
|
||||
}
|
||||
{-
|
||||
oper
|
||||
|
||||
mkAdv = overload SyntaxJpn {
|
||||
mkAdv : Str -> Adv = P.mkAdv ;
|
||||
} ;
|
||||
|
||||
mkAdN = overload {
|
||||
mkAdN : CAdv -> AdN = SyntaxJpn.mkAdN ;
|
||||
--- mkAdN : Str -> AdN = P.mkAdN ;
|
||||
} ;
|
||||
|
||||
-- mkOrd = overload SyntaxJpn {
|
||||
-- mkOrd : A -> Ord = SyntaxJpn.OrdSuperl ;
|
||||
-- } ;
|
||||
|
||||
|
||||
-}
|
||||
@@ -6,7 +6,7 @@ src:
|
||||
runghc MkMini.hs
|
||||
|
||||
compdemo:
|
||||
$(compile) Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Jap Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd
|
||||
$(compile) Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Jpn Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd
|
||||
|
||||
linkdemo:
|
||||
$(compile) -link Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Jap Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd
|
||||
$(compile) -link Afr Bul Cat Dan Dut Eng Fin Fre Ger Hin Ita Jpn Lav Nep Nor Pes Pnb Pol Ron Rus Snd Spa Swe Tha Urd
|
||||
|
||||
@@ -2,7 +2,7 @@ src = "Eng"
|
||||
langs = [
|
||||
"Afr","Bul","Cat","Dan","Dut",
|
||||
"Fin","Fre","Ger","Hin","Ita",
|
||||
"Jap","Lav","Nep","Nor","Pes",
|
||||
"Jpn","Lav","Nep","Nor","Pes",
|
||||
"Pol","Pnb","Ron","Rus","Snd",
|
||||
"Spa","Swe","Tha","Urd"
|
||||
]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
--# -path=.:../abstract:../common
|
||||
|
||||
concrete AllJpn of AllJpnAbs =
|
||||
LangJpn,
|
||||
ExtraJpn
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
--# -path=.:../abstract:../common
|
||||
|
||||
concrete LangJpn of Lang =
|
||||
GrammarJpn,
|
||||
LexiconJpn
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
concrete LexiconJpn of Lexicon = GrammarJpn ** open ParadigmsJpn, ResJpn, Prelude in {
|
||||
concrete LexiconJpn of Lexicon = CatJpn ** open ParadigmsJpn, ResJpn, Prelude in {
|
||||
|
||||
flags coding = utf8 ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user