summaryrefslogtreecommitdiff
path: root/grammars/resource/russian/TestRus.gf
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/resource/russian/TestRus.gf')
-rw-r--r--grammars/resource/russian/TestRus.gf40
1 files changed, 40 insertions, 0 deletions
diff --git a/grammars/resource/russian/TestRus.gf b/grammars/resource/russian/TestRus.gf
new file mode 100644
index 000000000..f3d2a5cb4
--- /dev/null
+++ b/grammars/resource/russian/TestRus.gf
@@ -0,0 +1,40 @@
+-- use this path to read the grammar from the same directory
+--# -path=.:../abstract:../../prelude
+
+concrete TestRus of TestAbs = ResRus ** open Syntax in {
+
+flags
+ coding=utf8 ;
+ startcat=Phr ; lexer=text ; parser=chart ; unlexer=text ;
+
+-- a random sample from the lexicon
+
+lin
+ Big = bolshoj ;
+ Small = malenkij ;
+ Old = staruj ;
+ Young = molodoj ;
+ Man = muzhchina ;
+ Woman = zhenchina ;
+ Car = mashina ;
+ House = dom ;
+ Light = svet ;
+ Walk = extVerb verbGulyat Act Present ;
+ Run = extVerb verbBegat Act Present ;
+ Love = mkDirectVerb (extVerb verbLubit Act Present ) ;
+ Send = mkDirectVerb (extVerb verbOtpravlyat Act Present ) ;
+ Wait = mkDirectVerb (extVerb verbZhdat Act Present );
+ Say = extVerb verbGovorit Act Present ; --- works in present tense...
+ Prove = extVerb verbDokazuvat Act Present ;
+ SwitchOn = mkDirectVerb (extVerb verbVkluchat Act Present ) ;
+ SwitchOff = mkDirectVerb (extVerb verbVukluchat Act Present ) ;
+
+ Mother = funGen mama ;
+ Uncle = funGen dyadya ;
+
+ Always = vsegda ;
+ Well = chorosho ;
+
+ John = mkProperNameMasc "Иван" Animate ;
+ Mary = mkProperNameFem "Маш" Animate ;
+};