updated and tested Mathematical

This commit is contained in:
aarne
2006-02-21 17:31:54 +00:00
parent f3fa5bdd92
commit 05d13ef582
16 changed files with 84 additions and 26 deletions

View File

@@ -20,6 +20,8 @@ abstract Mathematical =
Relative,
Conjunction,
Phrase,
Text,
Idiom,
Structural,
Symbol,

View File

@@ -12,6 +12,8 @@ concrete MathematicalEng of Mathematical =
ConjunctionEng,
PhraseEng,
StructuralEng,
TextX,
IdiomEng,
SymbolEng,
PredicationEng,

View File

@@ -11,6 +11,8 @@ concrete MathematicalFin of Mathematical =
RelativeFin,
ConjunctionFin,
PhraseFin,
TextX,
IdiomFin,
StructuralFin,
SymbolFin,

View File

@@ -11,8 +11,10 @@ concrete MathematicalFre of Mathematical =
RelativeFre,
ConjunctionFre,
PhraseFre,
TextX,
IdiomFre,
StructuralFre,
SymbolFre,
PredicationFre - [predV3], ---- gf bug

View File

@@ -11,6 +11,8 @@ concrete MathematicalGer of Mathematical =
RelativeGer,
ConjunctionGer,
PhraseGer,
TextX,
IdiomGer,
StructuralGer,
SymbolGer,

View File

@@ -11,6 +11,8 @@ concrete MathematicalIta of Mathematical =
RelativeIta,
ConjunctionIta,
PhraseIta,
TextX,
IdiomIta,
StructuralIta,
SymbolIta,

View File

@@ -0,0 +1,27 @@
--# -path=.:../norwegian:../scandinavian:../abstract:../common:prelude
concrete MathematicalNor of Mathematical =
NounNor - [ComplN2], --- to avoid ambiguity
-- VerbNor,
-- AdjectiveNor,
-- AdverbNor,
NumeralNor,
-- SentenceNor,
QuestionNor,
RelativeNor,
ConjunctionNor,
PhraseNor,
TextX,
IdiomNor,
StructuralNor,
SymbolNor,
PredicationNor,
LexiconNor
** {
flags startcat = Phr ;
} ;

View File

@@ -11,6 +11,8 @@ concrete MathematicalSpa of Mathematical =
RelativeSpa,
ConjunctionSpa,
PhraseSpa,
TextSpa,
IdiomSpa,
StructuralSpa,
SymbolSpa,

View File

@@ -11,6 +11,9 @@ concrete MathematicalSwe of Mathematical =
RelativeSwe,
ConjunctionSwe,
PhraseSwe,
TextX,
IdiomSwe,
StructuralSwe,
SymbolSwe,

View File

@@ -0,0 +1,3 @@
concrete PredicationNor of Predication = CatNor ** PredicationI with
(Lang = LangNor) ;

View File

@@ -3,6 +3,7 @@ concrete SymbolEng of Symbol = CatEng ** open Prelude, ResEng in {
lin
SymbPN i = {s = \\c => i.s ; a = agrP3 Sg} ; --- c
IntPN i = {s = \\c => i.s ; a = agrP3 Sg} ; --- c
FloatPN i = {s = \\c => i.s ; a = agrP3 Sg} ; --- c
CNIntNP cn i = {
s = \\c => (cn.s ! Sg ! Nom ++ i.s) ;
a = agrP3 Sg
@@ -14,7 +15,7 @@ lin
lincat
Symb, SymbList = SS ;
Symb, [Symb] = SS ;
lin

View File

@@ -1,21 +1,24 @@
concrete SymbolFin of Symbol = CatFin ** open Prelude, ResFin in {
concrete SymbolFin of Symbol = CatFin ** open Prelude, NounFin, ResFin in {
lin
SymbPN i = {s = \\c => i.s} ; --- c
IntPN i = {s = \\c => i.s} ; --- c
{-
FloatPN i = {s = \\c => i.s} ; --- c
CNIntNP cn i = {
s = \\c => (cn.s ! Sg ! DIndef ! Nom ++ i.s) ;
a = agrP3 cn.g Sg
s = \\c => cn.s ! NCase Sg (npform2case c) ++ i.s ;
a = agrP3 Sg ;
isPron = False
} ;
CNSymbNP det cn xs = let g = cn.g in {
s = \\c => det.s ! cn.isMod ! g ++ cn.s ! det.n ! det.det ! caseNP c ++ xs.s ;
a = agrP3 g det.n
CNSymbNP det cn xs = let detcn = NounFin.DetCN det cn in {
s = \\c => detcn.s ! c ++ xs.s ;
a = detcn.a ;
isPron = False
} ;
-}
lincat
Symb, SymbList = SS ;
Symb, [Symb] = SS ;
lin

View File

@@ -3,19 +3,22 @@ concrete SymbolGer of Symbol = CatGer ** open Prelude, ResGer in {
lin
SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c
IntPN i = {s = \\c => i.s ; g = Neutr} ; --- c
{-
FloatPN 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
s = \\c => cn.s ! Weak ! Sg ! Nom ++ i.s ;
a = agrP3 Sg ;
isPron = False
} ;
CNSymbNP det cn xs = let g = cn.g in {
s = \\c => det.s ! cn.isMod ! g ++ cn.s ! det.n ! det.det ! caseNP c ++ xs.s ;
a = agrP3 g det.n
s = \\c => det.s ! g ! c ++ cn.s ! adjfCase det.a c ! det.n ! c ++ xs.s ;
a = agrP3 det.n ;
isPron = False
} ;
-}
lincat
Symb, SymbList = SS ;
Symb, [Symb] = SS ;
lin

View File

@@ -0,0 +1,2 @@
concrete SymbolNor of Symbol = CatNor ** SymbolScand with
(ResScand = ResNor) ;

View File

@@ -4,21 +4,22 @@ incomplete concrete SymbolRomance of Symbol =
lin
SymbPN i = {s = i.s ; g = Masc} ;
IntPN i = {s = i.s ; g = Masc} ;
FloatPN i = {s = i.s ; g = Masc} ;
{-
CNIntNP cn i = {
s = \\c => (cn.s ! Sg ! DIndef ! Nom ++ i.s) ;
a = agrP3 cn.g Sg
s = \\c => cn.s ! Sg ++ i.s ;
a = agrP3 cn.g Sg ;
hasClit = False
} ;
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
s = \\c => det.s ! g ! npform2case c ++ cn.s ! det.n ++ xs.s ;
a = agrP3 g det.n ;
hasClit = False
} ;
-}
lincat
Symb, SymbList = SS ;
Symb, [Symb] = SS ;
lin

View File

@@ -4,6 +4,7 @@ incomplete concrete SymbolScand of Symbol =
lin
SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c
IntPN i = {s = \\c => i.s ; g = Neutr} ; --- c
FloatPN 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
@@ -15,7 +16,7 @@ lin
lincat
Symb, SymbList = SS ;
Symb, [Symb] = SS ;
lin