mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-25 18:58:56 -06:00
multimodal for Swedish
This commit is contained in:
@@ -18,6 +18,7 @@ interface DiffScand = open ResScand, Prelude in {
|
||||
|
||||
conjThat : Str ;
|
||||
conjThan : Str ;
|
||||
conjAnd : Str ;
|
||||
infMark : Str ;
|
||||
|
||||
subjIf : Str ;
|
||||
|
||||
27
lib/resource-1.0/scandinavian/MathScand.gf
Normal file
27
lib/resource-1.0/scandinavian/MathScand.gf
Normal file
@@ -0,0 +1,27 @@
|
||||
incomplete concrete MathScand of Math =
|
||||
CatScand ** open Prelude, ResScand, DiffScand in {
|
||||
|
||||
lin
|
||||
SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c
|
||||
IntPN i = {s = \\c => i.s ; g = Neutr} ; --- c
|
||||
CNIntNP cn i = {
|
||||
s = \\c => (cn.s ! Sg ! DIndef ! Nom ++ i.s) ;
|
||||
a = agrP3 cn.g Sg
|
||||
} ;
|
||||
CNSymbNP det cn xs = let g = cn.g in {
|
||||
s = \\c => det.s ! g ++ cn.s ! det.n ! det.det ! caseNP c ++ xs.s ;
|
||||
a = agrP3 g det.n
|
||||
} ;
|
||||
|
||||
lincat
|
||||
|
||||
Symb, SymbList = SS ;
|
||||
|
||||
lin
|
||||
|
||||
MkSymb s = s ;
|
||||
|
||||
BaseSymb = infixSS conjAnd ;
|
||||
ConsSymb = infixSS "," ;
|
||||
|
||||
}
|
||||
@@ -26,7 +26,7 @@ incomplete concrete VerbScand of Verb = CatScand ** open DiffScand, ResScand in
|
||||
CompAdv a = {s = \\_ => a.s} ;
|
||||
|
||||
--- these give parser overflow
|
||||
--- AdvVP vp adv = insertAdv adv.s vp ;
|
||||
AdvVP vp adv = insertAdv adv.s vp ;
|
||||
--- AdVVP adv vp = insertAdV adv.s vp ;
|
||||
|
||||
{-
|
||||
|
||||
Reference in New Issue
Block a user