1
0
forked from GitHub/gf-rgl

revert the addition of pot5art

This commit is contained in:
Krasimir Angelov
2023-08-30 21:35:03 +02:00
parent 28afb4d0dc
commit f53b872b33
4 changed files with 0 additions and 16 deletions

View File

@@ -63,7 +63,6 @@ data
pot51 : Sub1000000000000 ; -- a billion instead of one billion
pot5 : Sub1000 -> Sub1000000000000 ; -- m * 1000000000
pot5art : Sub1000000000000 ; -- a/an instead of one
pot5plus : Sub1000 -> Sub1000000000 -> Sub1000000000000 ; -- m * 1000000000 + n
pot5decimal : Decimal -> Sub1000000000000 ; -- 3.5 billion

View File

@@ -146,10 +146,6 @@ lin pot5 n = {
} ;
n = Pl
} ;
lin pot5art = {
s = \\o,_ => "" ;
n = Sg
} ;
lin pot5plus n1 n2 = {
s = \\o,f => (pot5 n1).s ! o ! f ++ "и" ++ n2.s ! o ! f;
n = Pl

View File

@@ -86,10 +86,6 @@ lin pot5 n = {
s = \\d,o,c => n.s ! d ! NCard ! Nom ++ pot51.s ! True ! o ! c ;
n = Pl
} ;
lin pot5art = {
s = \\d,o,c => case d of {True => []; False => artIndef};
n = Sg
} ;
lin pot5plus n1 n2 = {
s = \\d,o,c => n1.s ! d ! NCard ! Nom ++ pot51.s ! True ! NCard ! Nom ++ "and" ++ n2.s ! True ! o ! c;
n = Pl

View File

@@ -65,13 +65,6 @@ lin
numPl (\\g => d.s ! NCard Utr ++ cardOrd "miljoner" "miljonde" ! g) ;
pot51 = numPl (cardOrd "miljard" "miljarde") ;
pot5art = {
s = table {
NCard g => case g of {Neutr => "ett" ; _ => "en"} ;
_ => "första"
} ;
n = Sg
} ;
pot5 n =
numPl (\\g => n.s ! NCard Utr ++
cardOrd (case n.n of {