mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-19 09:49:33 -06:00
64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
--# -path=.:../abstract:../../prelude
|
|
|
|
--1 The Top-Level Russian Resource Grammar: Combination Rules
|
|
--
|
|
-- Aarne Ranta 2002 -- 2003
|
|
--
|
|
-- This is the Russian concrete syntax of the multilingual resource
|
|
-- grammar. Most of the work is done in the file $syntax.Rus.gf$.
|
|
-- However, for the purpose of documentation, we make here explicit the
|
|
-- linearization types of each category, so that their structures and
|
|
-- dependencies can be seen.
|
|
-- Another substantial part are the linearization rules of some
|
|
-- structural words.
|
|
--
|
|
-- The users of the resource grammar should not look at this file for the
|
|
-- linearization rules, which are in fact hidden in the document version.
|
|
-- They should use $resource.Abs.gf$ to access the syntactic rules.
|
|
-- This file can be consulted in those, hopefully rare, occasions in which
|
|
-- one has to know how the syntactic categories are
|
|
-- implemented. The parameter types are defined in $TypesRus.gf$.
|
|
|
|
concrete VerbphraseRus of Verbphrase = CategoriesRus **
|
|
open Prelude, SyntaxRus in {
|
|
|
|
flags optimize=all_subs ;
|
|
|
|
lin
|
|
UseV = predVerb ;
|
|
UsePassV = passVerb ;
|
|
ComplV2 = complTransVerb ;
|
|
ComplV3 = complDitransVerb ;
|
|
ComplReflV2 = reflTransVerb ;
|
|
ComplVS = complSentVerb ;
|
|
ComplVV = complVerbVerb ;
|
|
ComplVQ = complQuestVerb ;
|
|
ComplVA = complAdjVerb ;
|
|
ComplV2A = complDitransAdjVerb ;
|
|
ComplSubjV2V = complDitransVerbVerb ;
|
|
ComplObjV2V = complDitransVerbVerb_2 ;
|
|
ComplV2S = complDitransSentVerb ;
|
|
ComplV2Q = complDitransQuestVerb ;
|
|
|
|
PredAP = predAdjective ;
|
|
PredCN = predCommNoun ;
|
|
PredNP = predNounPhrase ;
|
|
PredAdv = predAdverb ;
|
|
|
|
PredProgVP x = x ;
|
|
|
|
-- Use VPs
|
|
|
|
PredVP = predVerbGroupClause ;
|
|
RelVP = relVerbPhrase ;
|
|
IntVP = intVerbPhrase ;
|
|
|
|
-- PosVP tp = predVerbGroup True tp ;
|
|
-- NegVP tp = predVerbGroup False tp ;
|
|
UseVP = predVerbGroupI ;
|
|
|
|
AdvVP = adVerbPhrase ;
|
|
SubjVP = subjunctVerbPhrase ;
|
|
|
|
}
|