example.pl 4.93 KB
% -*- coding: utf-8 -*-

fstructure('Najpierw przyśnił się młynek do kawy .',
	% Properties:
	[
	'sentence_id'('1'),
	'markup_free_sentence'('Najpierw przyśnił się młynek do kawy .'),
	'xle_version'('XLE release of May 07, 2013 13:40.'),
	'grammar'('/home/aep/POLFIE2_W0608_v0.5_XPadvpp_nORa_M5B_OA/POLFIE_temp5630.lfg'),
	'grammar_date'('Jun 08, 2014 18:12'),
	'word_count'('6'),
	'statistics'('2 solutions, 0.020 CPU seconds, 1.355MB max mem, 65 subtrees unified'),
	'rootcategory'('ROOT'),
	'hostname'('mozart')
	],
	% Choices:
	[
	choice([A1,A2], 1)
	],
	% Equivalences:
	[
	
	],
	% Constraints:
	[
	cf(1,eq(attr(var(0),'PRED'),semform('przyśnić_się',2,[var(11)],[]))),
	cf(1,eq(attr(var(0),'SUBJ'),var(11))),
	cf(1,eq(attr(var(0),'ADJUNCT'),var(1))),
	cf(1,eq(attr(var(0),'CHECK'),var(10))),
	cf(1,eq(attr(var(0),'TNS-ASP'),var(16))),
	cf(1,eq(attr(var(0),'REFLEXIVE'),'+')),
	cf(1,eq(attr(var(11),'PRED'),semform('młynek',4,[],[]))),
	cf(A2,eq(attr(var(11),'ADJUNCT'),var(12))),
	cf(1,eq(attr(var(11),'CHECK'),var(13))),
	cf(1,eq(attr(var(11),'NTYPE'),var(14))),
	cf(1,eq(attr(var(11),'CASE'),'nom')),
	cf(1,eq(attr(var(11),'GEND'),'m3')),
	cf(1,eq(attr(var(11),'NUM'),'sg')),
	cf(1,eq(attr(var(11),'PERS'),'3')),
	cf(A2,in_set(var(2),var(12))),
	cf(1,eq(attr(var(2),'PRED'),semform('do',5,[var(4)],[]))),
	cf(1,eq(attr(var(2),'OBJ'),var(4))),
	cf(1,eq(attr(var(2),'CHECK'),var(3))),
	cf(1,eq(attr(var(2),'PTYPE'),'sem')),
	cf(1,eq(attr(var(4),'PRED'),semform('kawa',6,[],[]))),
	cf(1,eq(attr(var(4),'CHECK'),var(5))),
	cf(1,eq(attr(var(4),'NTYPE'),var(6))),
	cf(1,eq(attr(var(4),'CASE'),'gen')),
	cf(1,eq(attr(var(4),'GEND'),'f')),
	cf(1,eq(attr(var(4),'NUM'),'sg')),
	cf(1,eq(attr(var(4),'PERS'),'3')),
	cf(1,eq(attr(var(5),'_CAT'),'subst')),
	cf(1,eq(attr(var(6),'NSEM'),var(7))),
	cf(1,eq(attr(var(6),'NSYN'),'common')),
	cf(1,eq(attr(var(7),'COMMON'),'count')),
	cf(1,eq(attr(var(3),'_CAT'),'prep')),
	cf(1,eq(attr(var(13),'_CAT'),'subst')),
	cf(1,eq(attr(var(14),'NSEM'),var(15))),
	cf(1,eq(attr(var(14),'NSYN'),'common')),
	cf(1,eq(attr(var(15),'COMMON'),'count')),
	cf(A1,in_set(var(2),var(1))),
	cf(1,in_set(var(8),var(1))),
	cf(1,eq(attr(var(8),'PRED'),semform('najpierw',0,[],[]))),
	cf(1,eq(attr(var(8),'CHECK'),var(9))),
	cf(1,eq(attr(var(9),'_CAT'),'adv')),
	cf(1,eq(attr(var(10),'_CAT'),'praet')),
	cf(1,eq(attr(var(10),'_RQR'),'+')),
	cf(1,eq(attr(var(16),'ASPECT'),'perf')),
	cf(1,eq(attr(var(16),'MOOD'),'indicative')),
	cf(1,eq(attr(var(16),'TENSE'),'past'))
	],
	% C-Structure:
	[
	cf(1,subtree(612,'ROOT',611,40)),
	cf(1,phi(612,var(0))),
	cf(1,subtree(611,'ROOT',-,604)),
	cf(1,phi(611,var(0))),
	cf(1,subtree(604,'S',-,558)),
	cf(1,phi(604,var(0))),
	cf(1,subtree(558,'IP',554,451)),
	cf(1,phi(558,var(0))),
	cf(1,subtree(554,'IP',-,131)),
	cf(1,phi(554,var(0))),
	cf(1,subtree(454,'IP',155,23)),
	cf(1,phi(454,var(0))),
	cf(A2,subtree(451,'IP',454,320)),
	cf(A2,phi(451,var(0))),
	cf(A1,subtree(451,'IP',450,312)),
	cf(A1,phi(451,var(0))),
	cf(A1,subtree(450,'IP',454,201)),
	cf(A1,phi(450,var(0))),
	cf(A2,subtree(320,'NP',202,312)),
	cf(A2,phi(320,var(11))),
	cf(1,subtree(312,'PP',311,246)),
	cf(1,phi(312,var(2))),
	cf(1,subtree(311,'PP',-,219)),
	cf(1,phi(311,var(2))),
	cf(1,subtree(246,'NP',-,244)),
	cf(1,phi(246,var(4))),
	cf(1,subtree(244,'N',-,37)),
	cf(1,phi(244,var(4))),
	cf(1,subtree(219,'P',-,32)),
	cf(1,phi(219,var(2))),
	cf(A2,subtree(202,'NP',-,199)),
	cf(A2,phi(202,var(11))),
	cf(A1,subtree(201,'NP',-,199)),
	cf(A1,phi(201,var(11))),
	cf(1,subtree(199,'N',-,28)),
	cf(1,phi(199,var(11))),
	cf(1,subtree(155,'IP',-,17)),
	cf(1,phi(155,var(0))),
	cf(1,subtree(131,'ADVP',-,10)),
	cf(1,phi(131,var(8))),
	cf(1,subtree(40,'PERIOD',-,38)),
	cf(1,phi(40,var(0))),
	cf(1,terminal(38,'.',[38])),
	cf(1,phi(38,var(0))),
	cf(1,subtree(37,'SUBST',-,36)),
	cf(1,phi(37,var(4))),
	cf(1,terminal(36,'kawy',[36])),
	cf(1,phi(36,var(4))),
	cf(1,subtree(32,'PREP',-,31)),
	cf(1,phi(32,var(2))),
	cf(1,terminal(31,'do',[31])),
	cf(1,phi(31,var(2))),
	cf(1,subtree(28,'SUBST',-,27)),
	cf(1,phi(28,var(11))),
	cf(1,terminal(27,'młynek',[27])),
	cf(1,phi(27,var(11))),
	cf(1,subtree(23,'RM',-,22)),
	cf(1,phi(23,var(0))),
	cf(1,terminal(22,'się',[22])),
	cf(1,phi(22,var(0))),
	cf(1,subtree(17,'PRAET',-,16)),
	cf(1,phi(17,var(0))),
	cf(1,terminal(16,'przyśnił',[16])),
	cf(1,phi(16,var(0))),
	cf(1,subtree(10,'ADV',-,9)),
	cf(1,phi(10,var(8))),
	cf(1,terminal(9,'Najpierw',[9])),
	cf(1,phi(9,var(8))),
	cf(1,semform_data(0,10,1,1)),
	cf(1,semform_data(2,17,10,10)),
	cf(1,semform_data(4,28,26,26)),
	cf(1,semform_data(5,32,34,34)),
	cf(1,semform_data(6,37,37,37)),
	cf(1,fspan(var(0),1,43)),
	cf(1,fspan(var(8),1,9)),
	cf(A2,fspan(var(11),26,41)),
	cf(1,fspan(var(2),34,41)),
	cf(A1,fspan(var(11),26,33)),
	cf(1,fspan(var(4),37,41)),
	cf(1,surfaceform(9,'Najpierw',1,9)),
	cf(1,surfaceform(16,'przyśnił',10,20)),
	cf(1,surfaceform(22,'się',21,25)),
	cf(1,surfaceform(27,'młynek',26,33)),
	cf(1,surfaceform(31,'do',34,36)),
	cf(1,surfaceform(36,'kawy',37,41)),
	cf(1,surfaceform(38,'.',42,43))
	]).