Improvements of Russian Phrasebook that do not rely on Participles and Numerals

This commit is contained in:
Nick Frolov
2011-10-18 15:16:58 +00:00
parent 08bcc07325
commit bdd52b0560
10 changed files with 137 additions and 117 deletions

View File

@@ -2,30 +2,9 @@
concrete SymbolRus of Symbol = CatRus ** open Prelude, ResRus in {
{- TODO!
lin
SymbPN i = {s = addGenitiveS i.s ; g = Neutr} ;
IntPN i = {s = addGenitiveS i.s ; g = Neutr} ;
FloatPN i = {s = addGenitiveS i.s ; g = Neutr} ;
NumPN i = {s = i.s ; g = Neutr} ;
CNIntNP cn i = {
s = \\c => cn.s ! Sg ! Nom ++ (addGenitiveS i.s) ! c ;
a = agrgP3 Sg cn.g
} ;
CNSymbNP det cn xs = {
s = \\c => det.s ++ cn.s ! det.n ! Nom ++ (addGenitiveS xs.s) ! c ;
a = agrgP3 det.n cn.g
} ;
CNNumNP cn i = {
s = \\c => cn.s ! Sg ! Nom ++ i.s ! c ;
a = agrgP3 Sg cn.g
} ;
SymbS sy = sy ;
SymbNum sy = { s = addGenitiveS sy.s ; n = Pl ; hasCard = True } ;
SymbOrd sy = { s = \\c => sy.s ++ (regGenitiveS "th")!c} ;
-}
{- TODO! -}
-- lin
-- SymbPN i = {s = i.s ; g = Neut } ;
lincat
@@ -37,5 +16,4 @@ lin
-- BaseSymb = infixSS "and" ;
ConsSymb = infixSS "," ;
}