From f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 Mon Sep 17 00:00:00 2001 From: "john.j.camilleri" Date: Mon, 16 Sep 2013 07:17:27 +0000 Subject: Remove contribs and examples Everything has now been moved to a separate repository at https://github.com/GrammaticalFramework/gf-contrib The contents of the examples folder are build during SetupWeb --- examples/numerals/amharic.gf | 47 -------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 examples/numerals/amharic.gf (limited to 'examples/numerals/amharic.gf') diff --git a/examples/numerals/amharic.gf b/examples/numerals/amharic.gf deleted file mode 100644 index 853e73797..000000000 --- a/examples/numerals/amharic.gf +++ /dev/null @@ -1,47 +0,0 @@ -concrete amharic of Numerals = { - -flags coding = UTF8; - -param DForm = unit | ten ; --- Size is Sg or Pl -- - -lincat Numeral = { s : Str } ; -lincat Digit = {s : DForm => Str} ; -lincat Sub10 = {s : DForm => Str} ; -lincat Sub100 = { s : Str } ; -lincat Sub1000 = { s : Str } ; -lincat Sub1000000 = { s : Str } ; - -oper mkNum : Str -> Str ->{s : DForm => Str} = - \hulet -> \haya -> - {s = table {unit => hulet ; ten => haya}} ; - -oper ss : Str -> {s : Str} = \s -> {s = s} ; - -lin num x = x ; -lin n2 = mkNum "ሁለት" "ሃያ"; -lin n3 = mkNum "ሶስት" "ሰላሳ" ; -lin n4 = mkNum "አራት" "አርባ" ; -lin n5 = mkNum "አምስት" "ሃምሳ" ; -lin n6 = mkNum "ስድስት" "ስድሳ" ; -lin n7 = mkNum "ሰባት" "ሰባ" ; -lin n8 = mkNum "ስምንት" "ሰማንያ" ; -lin n9 = mkNum "ዘጠኝ" "ዘጠና" ; - -lin pot01 = {s = table {f => "አንድ"}} ; -lin pot0 d = {s = table {f => d.s ! f}} ; -lin pot110 = ss "አስር" ; -lin pot111 = ss "አስራ አንድ" ; -lin pot1to19 d ={s = "አስራ"++ d.s ! unit} ; -lin pot0as1 n = {s = n.s ! unit} ; -lin pot1 d = {s = d.s ! ten} ; -lin pot1plus d e = {s = d.s ! ten ++ e.s ! unit} ; -lin pot1as2 n = n ; -lin pot2 d = {s = d.s ! unit ++ "መቶ"} ; -lin pot2plus d e = {s = d.s ! unit ++ "መቶ" ++ e.s} ; -lin pot2as3 n = n ; -lin pot3 n = {s = n.s ++ "ሺህ"} ; -lin pot3plus n m = {s = n.s ++ "ሺህ" ++ m.s} ; - - -} -- cgit v1.2.3