Math to mathematical/Symbol

This commit is contained in:
aarne
2006-01-31 14:04:38 +00:00
parent 3f8ea1466b
commit 0f08827320
20 changed files with 31 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
--# -path=.:resource-1.0/abstract:resource-1.0/common:resource-1.0/multimodal:resource-1.0/english:prelude --# -path=.:resource-1.0/abstract:resource-1.0/common:resource-1.0/multimodal:resource-1.0/english:prelude:resource-1.0/mathematical
concrete TramEng of Tram = TramI with concrete TramEng of Tram = TramI with
(Multimodal = MultimodalEng), (Multimodal = MultimodalEng),
(Math = MathEng) ; (Symbol = SymbolEng) ;

View File

@@ -1,5 +1,5 @@
--# -path=.:resource-1.0/abstract:resource-1.0/french:resource-1.0/common:resource-1.0/multimodal:resource-1.0/romance:prelude --# -path=.:resource-1.0/abstract:resource-1.0/french:resource-1.0/common:resource-1.0/multimodal:resource-1.0/romance:prelude:resource-1.0/mathematical
concrete TramFre of Tram = TramI with concrete TramFre of Tram = TramI with
(Multimodal = MultimodalFre), (Multimodal = MultimodalFre),
(Math = MathFre) ; (Symbol = SymbolFre) ;

View File

@@ -1,5 +1,5 @@
--# -path=.:resource-1.0/abstract:resource-1.0/common:resource-1.0/multimodal:resource-1.0/german:prelude --# -path=.:resource-1.0/abstract:resource-1.0/common:resource-1.0/mathematical:resource-1.0/multimodal:resource-1.0/german:prelude
concrete TramGer of Tram = TramI with concrete TramGer of Tram = TramI with
(Multimodal = MultimodalGer), (Multimodal = MultimodalGer),
(Math = MathGer) ; (Symbol = SymbolGer) ;

View File

@@ -1,4 +1,4 @@
incomplete concrete TramI of Tram = open Multimodal, Math in { incomplete concrete TramI of Tram = open Multimodal, Symbol in {
flags startcat=Query ; lexer=textlit ; flags startcat=Query ; lexer=textlit ;

View File

@@ -1,5 +1,5 @@
--# -path=.:resource-1.0/abstract:resource-1.0/swedish:resource-1.0/common:resource-1.0/multimodal:resource-1.0/scandinavian:prelude --# -path=.:resource-1.0/abstract:resource-1.0/swedish:resource-1.0/common:resource-1.0/multimodal:resource-1.0/scandinavian:prelude:resource-1.0/mathematical
concrete TramSwe of Tram = TramI with concrete TramSwe of Tram = TramI with
(Multimodal = MultimodalSwe), (Multimodal = MultimodalSwe),
(Math = MathSwe) ; (Symbol = SymbolSwe) ;

View File

@@ -1,2 +0,0 @@
concrete MathFre of Math = CatFre ** MathRomance with
(ResRomance = ResFre) ;

View File

@@ -3,16 +3,17 @@
-- *Note*. This module is not automatically included in the main -- *Note*. This module is not automatically included in the main
-- grammar [Lang Lang.html]. -- grammar [Lang Lang.html].
abstract Math = Cat ** { abstract Symbol = Cat ** {
--2 Noun phrases with symbols --2 Noun phrases with symbols and numbers
fun fun
SymbPN : Symb -> PN ; -- x SymbPN : Symb -> PN ; -- x
IntPN : Int -> PN ; -- 27 IntPN : Int -> PN ; -- 27
CNIntNP : CN -> Int -> NP ; -- level 53 FloatPN : Float -> PN ; -- 3.14159
CNSymbNP : Det -> CN -> [Symb] -> NP ; -- (the) (2) numbers x and y CNIntNP : CN -> Int -> NP ; -- level 53
CNSymbNP : Det -> CN -> [Symb] -> NP ; -- (the) (2) numbers x and y
--2 Symbol lists --2 Symbol lists

View File

@@ -1,4 +1,4 @@
concrete MathEng of Math = CatEng ** open Prelude, ResEng in { concrete SymbolEng of Symbol = CatEng ** open Prelude, ResEng in {
lin lin
SymbPN i = {s = \\c => i.s ; a = agrP3 Sg} ; --- c SymbPN i = {s = \\c => i.s ; a = agrP3 Sg} ; --- c

View File

@@ -0,0 +1,2 @@
concrete SymbolFre of Symbol = CatFre ** SymbolRomance with
(ResRomance = ResFre) ;

View File

@@ -1,4 +1,4 @@
concrete MathGer of Math = CatGer ** open Prelude, ResGer in { concrete SymbolGer of Symbol = CatGer ** open Prelude, ResGer in {
lin lin
SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c

View File

@@ -1,4 +1,4 @@
incomplete concrete MathRomance of Math = incomplete concrete SymbolRomance of Symbol =
CatRomance ** open Prelude, CommonRomance, ResRomance in { CatRomance ** open Prelude, CommonRomance, ResRomance in {
lin lin

View File

@@ -1,5 +1,5 @@
incomplete concrete MathScand of Math = incomplete concrete SymbolScand of Symbol =
CatScand ** open Prelude, ResScand, DiffScand in { CatScand ** open Prelude, ResScand, CommonScand in {
lin lin
SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c

View File

@@ -0,0 +1,2 @@
concrete SymbolSwe of Symbol = CatSwe ** SymbolScand with
(ResScand = ResSwe) ;

View File

@@ -1,4 +1,4 @@
abstract Demonstrative = Cat, Tense ** { abstract Demonstrative = Cat ** {
-- Naming convention: $M$ prepended to 'unimodal' names. -- Naming convention: $M$ prepended to 'unimodal' names.
-- Exceptions: lexical units, those without unimodal counterparts. -- Exceptions: lexical units, those without unimodal counterparts.

View File

@@ -1,4 +1,4 @@
--# -path=.:../english/:../abstract:../common:prelude --# -path=.:../english/:../abstract:../common:prelude
concrete DemonstrativeEng of Demonstrative = CatEng, TenseX ** DemonstrativeI with concrete DemonstrativeEng of Demonstrative = CatEng ** DemonstrativeI with
(Lang = LangEng) ; (Lang = LangEng) ;

View File

@@ -1,2 +1,2 @@
concrete DemonstrativeFre of Demonstrative = CatFre, TenseX ** DemonstrativeI with concrete DemonstrativeFre of Demonstrative = CatFre ** DemonstrativeI with
(Lang = LangFre) ; (Lang = LangFre) ;

View File

@@ -1,4 +1,4 @@
--# -path=.:../german/:../abstract:../common:prelude --# -path=.:../german/:../abstract:../common:prelude
concrete DemonstrativeGer of Demonstrative = CatGer, TenseX ** DemonstrativeI with concrete DemonstrativeGer of Demonstrative = CatGer ** DemonstrativeI with
(Lang = LangGer) ; (Lang = LangGer) ;

View File

@@ -1,4 +1,4 @@
incomplete concrete DemonstrativeI of Demonstrative = Cat, TenseX ** incomplete concrete DemonstrativeI of Demonstrative = Cat **
open Prelude, Lang, ParamX, DemRes in { open Prelude, Lang, ParamX, DemRes in {
lincat lincat

View File

@@ -1,4 +1,4 @@
concrete DemonstrativeSwe of Demonstrative = CatSwe, TenseX ** DemonstrativeI with concrete DemonstrativeSwe of Demonstrative = CatSwe ** DemonstrativeI with
(Lang = LangSwe) ; (Lang = LangSwe) ;

View File

@@ -1,2 +0,0 @@
concrete MathSwe of Math = CatSwe ** MathScand with
(ResScand = ResSwe) ;