# noun_phrase.gra - AGFL grammar module of the Russian grammar for noun phrase description # for Information Retrieval. # 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 usg 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 terminal_noun (GENDER, ANIM, NUMBER, CASE) : nounf (GENDER, ANIM, NUMBER, CASE, LEMMA1) / "\n\t\t\t", nounf, "\n\t\t\t\n\t\t\t". terminal_pron (PERSON, NUMBER, CASE) : pron (PERSON, NUMBER, CASE, LEMMA2) / "\n\t\t\t", pron, "\n\t\t\t\n\t\t\t". terminal_pron_th (GENDER, third, NUMBER, CASE) : pron_th (GENDER, NUMBER, CASE, non, LEMMA2) / "\n\t\t\t", pron_th, "\n\t\t\t\n\t\t\t". terminal_pron_th_prep (GENDER, third, NUMBER, CASE) : pron_th (GENDER, NUMBER, CASE, post, LEMMA2) / "\n\t\t\t", pron_th, "\n\t\t\t\n\t\t\t". terminal_pronoun (ANIM, CASE, PROTY) : pron_oth (ANIM, CASE, PROTY, LEMMA)/ "\n\t\t\t", pron_oth, "\n\t\t\t\n\t\t\t". prepositional_terminal_pronoun (ANIM, CASE, PROTY): pron_oth_prep (ANIM, CASE, PROTY, LEMMA)/ "\n\t\t\t", pron_oth_prep, "\n\t\t\t", "\n\t\t\t\n\t\t\t". terminal_adjective (GENDER, ANIM, NUMBER, CASE): adjf (GENDER, ANIM, NUMBER, CASE, LEMMA3) / "\n\t\t\t", adjf, "\n\t\t\t\n\t\t\t". terminal_numeral (QUANT, CASE, GENDER) : numer (QUANT, CASE, GENDER, VALUE) / "\n\t\t\t", numer, "\n\t\t\t\n\t\t\t". terminal_preposition (CASE_ALL): prep (PREPTYPE,CASE_ALL) / "\n\t\t\t", prep, "\n\t\t\t\n\t\t\t".