summaryrefslogtreecommitdiff
path: root/examples/foods/CharactersGla.gf
diff options
context:
space:
mode:
authorjohn.j.camilleri <john.j.camilleri@chalmers.se>2013-09-16 07:17:27 +0000
committerjohn.j.camilleri <john.j.camilleri@chalmers.se>2013-09-16 07:17:27 +0000
commitf5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (patch)
tree946c9e8542b8e8271b6b529a95c0400fa6613cb4 /examples/foods/CharactersGla.gf
parent8e1c6cca407c82fc09569d80c231b8d256735989 (diff)
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
Diffstat (limited to 'examples/foods/CharactersGla.gf')
-rw-r--r--examples/foods/CharactersGla.gf12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/foods/CharactersGla.gf b/examples/foods/CharactersGla.gf
new file mode 100644
index 000000000..453741a52
--- /dev/null
+++ b/examples/foods/CharactersGla.gf
@@ -0,0 +1,12 @@
+resource CharactersGla = {
+
+ --Character classes
+ oper
+ vowel : pattern Str = #("a"|"e"|"i"|"o"|"u"|"à"|"è"|"ì"|"ò"|"ù") ;
+ vowelCap : pattern Str = #("A"|"E"|"I"|"O"|"U"|"À"|"É"|"Ì"|"Ò"|"Ù") ;
+ consonant : pattern Str = #("b"|"c"|"d"|"f"|"g"|"h"|"j"|"k"|"l"|"m"|"n"|"p"|"q"|"r"|"s"|"t"|"v"|"w"|"x"|"z") ;
+ consonantCap : pattern Str = #("B"|"C"|"D"|"F"|"G"|"H"|"J"|"K"|"L"|"M"|"N"|"P"|"Q"|"R"|"S"|"T"|"V"|"W"|"X"|"Z") ;
+ broadVowel : pattern Str = #("a"|"o"|"u"|"à"|"ò"|"ù") ;
+ slenderVowel : pattern Str = #("e"|"i"|"è"|"ì") ;
+
+} \ No newline at end of file