# R_interface.gra - AGFL grammar defining inflexions. # # This file is a module of the Russian Parser for Information Retrieval (RuForIR) AGFL grammar, # version 2.1, 25.10.2002. # It can be processed using the AGFL parser generator to generate the RuForIR parser. # # The grammar is based on the Affix Grammar for Basic Russian. # Original version 1997 # Updated by I. Azarova, 2002 # # Copyright 1997-2002 Saint-Petersburg University aux (fut, first, sg): "буду". aux (fut, second, sg): "будешь". aux (fut, third, sg): "будет". aux (fut, first, pl): "будем". aux (fut, second, pl): "будете". aux (fut, third, pl): "будут". aux (past, masc, sg): "был". aux (past, fem, sg): "была". aux (past, neut, sg): "была". aux (past, GENDER, pl): "были". aux_imp (sg): "давай". aux_imp (pl): "давайте". pmark (affir): "."; "!". pmark (ques): "?". conj (oppos): "но"; "а". conj (union) : "и". conj (subord) : "что"; "чтобы"; "когда"; "если"; "хотя". conj (comp) : "как". conj (expl): "то есть". particle (neg): "не". particle (emph): "ни". particle (indef): "кое". adverb (time): "тут"; "сейчас"; "теперь"; "тогда"; "иногда"; "всегда"; "вдруг"; "вчера"; "сегодня". adverb (place): "тут"; "здесь"; "везде"; "там". adverb (char): adjst (ADTYPE, LEMMA), suf_adv (ADTYPE); adjst_ful (ADTYPE, LEMMA), suf_adv (ADTYPE); adjst_oth (ADTYPE, LEMMA), suf_adv (ADTYPE). suf_adv (ord| ord_s| ordk| ordk_s| ordsh| ordsh_s| ordc_s): "-о". suf_adv (ordc| pal| pali): "-е". adverb (char): "так". numer (small, nom, fem, "два"): "две". numer (small, nom, masc|neut, "два"): "два". numer (small, gen| loc, GENDER, "два"): "двух". numer (small, dat, GENDER, "два"): "двум". numer (small, abl, GENDER, "два"): "двумя". numer (small, nom, GENDER, "три"): "три". numer (small, gen| loc, GENDER, "три"): "трех". numer (small, dat, GENDER, "три"): "трем". numer (small, abl, GENDER, "три"): "тремя". numer (small, nom, GENDER, "четыре"): "четыре". numer (small, gen| loc, GENDER, "четыре"): "четырех". numer (small, dat, GENDER, "четыре"): "четырем". numer (small, abl, GENDER, "четыре"): "четырьмя". numer (plur, CASE, GENDER, VALUE): numer_st (plur, NUMTYPE, VALUE), numer_fl (NUMTYPE, CASE). numer_fl (sa, DIRP): "-ь". numer_fl (sa, FCASE): "-и". numer_fl (sa, abl): "-ью". numer_fl (ta, DIRP): "-о". numer_fl (tb, DIRP): . numer_fl (ta|tb, FCASE): "-а". numer_fl (ta|tb, abl): "-а".