From 77270a010a0b453e9a84c3e62db7cfd22e49d55d Mon Sep 17 00:00:00 2001 From: bjorn Date: Thu, 14 Aug 2008 07:58:04 +0000 Subject: Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them. --- grammars/video/README | 53 --------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 grammars/video/README (limited to 'grammars/video/README') diff --git a/grammars/video/README b/grammars/video/README deleted file mode 100644 index 796a2c08a..000000000 --- a/grammars/video/README +++ /dev/null @@ -1,53 +0,0 @@ -Video dialogue grammars by Karin Cavallin. - -Reconstructed in GF 2 with multiple inheritance. AR 16/9/2004 - -Example usage (test Swedish generation and parsing, and Prolog -generation) - - > i allSwe.gf - > i allProlog.gf - - > gr -cat=DMove | l -tr -lang=allSwe | p -cat=DMove -lang=allSwe | l -lang=allProlog - vill du använda svenska eller engelska - ask ([language (X)]) - -The intended use of that grammar is in dialogue systems to program a -video recorder. Queries in Swedish are translated to Prolog. - -The original grammar is written in GF 1.2 and includes. There is a -very nice modular structure, which could not be reproduced with the -single inheritance straightjacket of GF 2.0. But now we can finally -do this again! - - -Map of abstract syntax inheritances. - - all - / \ - / \ - specUser specSystem - / \ / \ - genUser specific genSystem - | / | | \ | - | / | | \ | - | / channel time weekday | - | | | - | | | - -----general ------------------ - - -The map was obtained by: - -grep abstract *.gf */*.gf - -all.gf:abstract all = specUser,specSystem ** { -Channel/channel.gf:abstract channel = { -Shared/general.gf:abstract general = { -Shared/specific.gf:abstract specific = general, weekday, time, channel ** { -System/genSystem.gf:abstract genSystem = general ** { -System/specSystem.gf:abstract specSystem = specific, genSystem ** { -Time/time.gf:abstract time = { -User/genUser.gf:abstract genUser = general ** { -User/specUser.gf:abstract specUser = specific, genUser ** { -Weekday/weekday.gf:abstract weekday = { -- cgit v1.2.3