mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-15 06:02:55 -06:00
Latvian RG: approaching RGL API
This commit is contained in:
16
lib/src/latvian/CompatibilityLav.gf
Normal file
16
lib/src/latvian/CompatibilityLav.gf
Normal file
@@ -0,0 +1,16 @@
|
||||
--# -path=.:../abstract:../common:../prelude
|
||||
|
||||
concrete CompatibilityLav of Compatibility = CatLav ** open
|
||||
Prelude,
|
||||
ResLav
|
||||
in {
|
||||
|
||||
flags
|
||||
coding = utf8 ;
|
||||
|
||||
lin
|
||||
-- TODO: kāpēc citās valodās (piem., Eng, Bul) kategorijai Num (NumInt) ir lauks isNum (= True)?
|
||||
NumInt n = { s = \\_,_ => n.s ; n = Pl ; hasCard = False } ;
|
||||
OrdInt n = { s = \\_,_ => n.s ++ "." } ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user