-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathValidate.text
4099 lines (3551 loc) · 165 KB
/
Validate.text
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
##################################################################
#
# TABARI VALIDATION SUITE
# To run, use ./TABARI -c, followed by menu
# options O then v
# See Validate.project for required files
# Version compatibility: 0.8.3b1
# Last Update: 2 June 2012
#
##################################################################
000101 START-00
Validation suite for TABARI 0.8.3. Use O)ther followed by V)alidate
menu options -- program should automatically code all of these sentences
until it hits a record that says "end of the standard validation records"
/*\n------------------------------------------------------------------
\n[Comments concerning the feature of the program being tested will be
found here, followed by the events that should be coded in {}]
\n{+++} */
950101 TIME-Modify
Changing .options file command to disable this until we need to check
it, since otherwise it is activated automatically by the presence of
<TIME> records in the .verbs file.
/*\n------------------------------------------------------------------
\n{ OPTION: SET: TIME SHIFT = FALSE } */
##################################################################
#
# BASIC TESTS
#
##################################################################
950101 DEMO-01
Arnor is about to restore full diplomatic ties with Gondor almost
five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n[Simple coding]
\n{ ARN / GON / 064 } */
950101 DEMO-02
Arnor is about To Restore full diplomatic ties with Gondor almost
five years after Ent crowds burned down its Entian embassy, a senior
official said on Saturday.
/*\n------------------------------------------------------------------
\n["Restore" is shifted to a noun by capitalization, so there is only
one event]
\n{ ARN / ENT / 222 } */
950101 DEMO-03
Arnor is about the restore full diplomatic ties with Gondor almost
five years after Ent crowds burned down its Entian embassy, a senior
official said on Saturday.
/*\n------------------------------------------------------------------
\n["the restore" is shifted to noun by determiner THE_, so only one event]
\n{ ARN / ENT / 222 } */
950103 DEMO-04
Dagolath's first Deputy Prime Minister Telemar left for
Minas Tirith on Wednesday for meetings of the joint transport
committee with Arnor, the Dagolathi news agency reported.
/*\n------------------------------------------------------------------
\n[Paired events: LEFT_ generates a "visit" and "receive visit" events]
\n{ DAG / GON / 032 } 950103
\n{ GON / DAG / 033 } 950103 */
950101 DEMO-05
Arnor is about to restore fxll diplomatic ties with Gondor almost
five years after volleyball crowds burned down its embassy, a senior
official said on Saturday.
/*\n------------------------------------------------------------------
\n[Complex coding from a phrase; may require setting COMPLEX=1]
\n-{ARN / GON / 064 } */
950106 DEMO-06
The Calenardhon government condemned an attack by Osgiliath soldiers
in south Ithilen on Thursday and promised aid to the affected Ithilen villages.
/*\n------------------------------------------------------------------
\n[Coding two events from a compound sentence]
\n{ CALGOV / OSGMIL / 122 } 950106
\n{ CALGOV / ITH / 050 } 950106 */
950107 DEMO-07
Arnor believes Dagolath and Osgiliath can cope with a decrease in vital
water from the mighty Entwash river when a major dam is filled next
month.
/*\n------------------------------------------------------------------
\n[Compound target]
\n{ ARN / DAG / 023 } 950107
\n{ ARN / OSG / 023 } 950107 */
950108 DEMO-08
The ambassadors of Arnor, Osgiliath and Gondor presented
credentials to Ithilen's president on Wednesday in a further
show of support to his government by their countries.
/*\n------------------------------------------------------------------
\n[Compound actor list; however, note that the agent AMBASSADORS is
not carried through to the other actors. Also see COMPOUND-24]
\n{ ARNGOV / ITHGOVPRS / 032 } 950108
\n{ OSG / ITHGOVPRS / 032 } 950108
\n{ GON / ITHGOVPRS / 032 } 950108 */
950110 DEMO-09
Gondor's Prime Minister Falastur said he regretted Eriador's
refusal to talk to Calenardhon leader Calimehtar, the Lorien
news agency LANA reported on Thursday.
/*\n------------------------------------------------------------------
\nIllustrates use of the subordinate "SAID" code and dereferencing
of "he". Also the 113 code indicates that the pronoun was correctly
caught by $ in pattern. Note also GONGOV agent
\n{ GONGOV / ERI / 113 } */
950110 DEMO-10
Gondor's Prime Minister Falastur noted that North Yemen regretted Eriador's
refusal to talk to Calenardhon leader Calimehtar.
/*\n------------------------------------------------------------------
\nModification of the DEMO-09 to check for a target in a lower match
\n{ GONGOV / YEMNO / 115 } */
950111 DEMO-11
Bree Prime Minister Romendacil will meet Eriadori and Calenardhon
leaders during a brief private visit to Eriador starting on Sunday.
/*\n------------------------------------------------------------------
\n[Paired events with a compound target]
\n{ BREGOV / ERI / 031 }
\n{ ERI / BREGOV / 031 }
\n{ BREGOV / CAL / 031 }
\n{ CAL / BREGOV / 031 } */
950112 DEMO-12
Eriador expressed hopes on Thursday that Osgiliath, the state's
fiercest foe, could be drawn into the peace process by its resumption
of diplomatic ties with Gondor.
/*\n------------------------------------------------------------------
\n[Next few DEMO- events demonstrate some additional vocabulary and
sentence structure ]
\n{ ERI / OSG / 024 } 950112 */
950113 DEMO-13
Arnor on Thursday signed an 800 million ducat trade protocol
for 1990 with Dagolath, its biggest trading partner, officials said./*
\n{ ARN / DAG / 085 } 950113 */
950114 DEMO-14
Ithilen's militia vowed on Thursday to wage war on the Rohans until that
group yielded ground seized in six days of fighting./*
\n{ ITH / ROH / 173 } 950114 */
950115 DEMO-15
Arnor signed an accord on Thursday to supply Gondor with some
50,000 tonnes of wheat, worth 11.8 million ducats, an Arnorian
embassy spokesman said./*
\n{ ARN / GON / 081 } 950115 */
950116 DEMO-16
Fornost President Umbardacil has again appealed for peace in Ithilen in
a message to the spiritial leader of the war-torn nation's influential
Douzu community./*
\n{ FORGOVPRS / ITH / 095 } 950116 */
950117 DEMO-17
Bree President Romendacil arrived in Gondor on Monday on his first
official foreign visit since pro-restoration demonstrators
in Eymn Muil were crushed last June./*
\n{ BREGOVPRS / GON / 032 } 950117
\n{ GON / BREGOVPRS / 033 } 950117 */
950118 DEMO-18
Calenardhon urged Bree on Monday to help win a greater role for
it in forthcoming peace talks./*
\n{ CAL / BRE / 102 } 950118 */
950119 DEMO-19
Arnor's foreign minister, in remarks published on Monday, urged
Eriador to respond to Gondor's proposals on elections./*
\n{ ARNGOVFRM / ERI / 102 } 950119 */
##################################################################
#
# COMPLEX PATTERNS
#
##################################################################
950114 PATTERN-01
Ithilen's palace guard militia was freed from Barad-dur after that
group yielded ground seized in six days of fighting.
/*\n------------------------------------------------------------------
\n Test of source/target reversal in the first event due to pattern
\nFREE \n- + * FROM $ [066]
\n (Yeah, yeah, we know nothing gets freed from Barad-dur...)
\n{ MOR / ITH / 066 } 950114 */
950102 PATTERN-02
Old foes Gondor and Osgiliath have postponed their meeting after a
hafling was reported on the pass of Cirith Ungol.
/*\n------------------------------------------------------------------
\nTest of % (compounds) in a pattern. Should match
\nMEET \n- % HAVE POSTPONED * [191]
\n{ GON / OSG / 191 } 950102
\n{ OSG / GON / 191 } 950102 */
950102 PATTERN-02a
Arnor has exchanged prisoners with Gondor and Osgiliath after a
hafling was reported on the pass of Cirith Ungol.
/*\n------------------------------------------------------------------
\nTest of % (compounds) in a pattern; compound following verb.
Should match
\nEXCHANG \n- % HAS * WITH % [191]
\n{ GON / OSG / 067 }
\n{ OSG / GON / 067 } */
950102 PATTERN-03
Gondor and Osgiliath have postponed their meet after a
hafling was reported on the pass of Cirith Ungol.
/*\n------------------------------------------------------------------
\nTest of % (compounds) in a pattern at location 0. Should match
\nMEET \n- % HAVE POSTPONED * [191]
]
\n{ GON / OSG / 191 } 950102
\n{ OSG / GON / 191 } 950102 */
950112 PATTERN-03a
An Eriadorian was shot dead in Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[Target + token but no $ token in pattern; matches
\n SHOT [223] \n - + WAS * DEAD [224] ]
\n{ OSG / ERI / 224 }*/
950112 PATTERN-04
Eriador has called for sanctions against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[First option in an alternative word set; alternatives follow verb]
\n{ ERI / OSG / 172 } */
950112 PATTERN-05
Eriador has called for a boycott against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; alternatives follow verb]
\n{ ERI / OSG / 172 }*/
950112 PATTERN-06
Eriador has called for an embargo against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[Third option in a alternative word set; alternatives follow verb]
\n{ ERI / OSG / 172 }*/
950112 PATTERN-04a
Eriador has carried out exercises against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; alternatives immediately follow verb]
\n{ ERI / OSG / 182 }*/
950112 PATTERN-05a
Eriador has carried out manuvers against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; alternatives immediately follow verb]
\n{ ERI / OSG / 182 }*/
950112 PATTERN-06a
Eriador has carried out a raid against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[alternative word set should fail; alternatives immediately follow verb]
\n{ ERI / OSG / 211 }*/
950118 PATTERN-07
Calenardhon has not urged Bree on Monday to win a greater role in forthcoming
peace talks.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; alternatives immediately before verb]
\n{ CAL / BRE / 121 } */
950118 PATTERN-08
Calenardhon has refxsed to urge Bree on Monday to win a greater role in
forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; alternatives immediately before verb]
\n{ CAL / BRE / 121 } CRITIZE */
950118 PATTERN-07a
Calenardhon has recently raised its voice for Bree to win a greater role
in forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; pattern before verb]
\n{ CAL / BRE / 042 } ENDORSE */
950118 PATTERN-08a
Calenardhon has recently ottered its voice for Bree to win a greater role
in forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; pattern before verb]
\n{ CAL / BRE / 042 } ENDORSE */
950118 PATTERN-09
Calenardhon has declined to urge Bree on Monday to win a greater role in
forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[Third option in a alternative word set; alternatives immediately before verb]
\n{ CAL / BRE / 121 } */
950101 PATTERN-10
Arnor called for the Group of 77 to support its position against Mordor
/*\n------------------------------------------------------------------
\n[should match the pattern CALL \n-* FOR; this checks that alternatives
following verb fails correctly]
\n{ ARN / G77 / 095 } */
950118 PATTERN-11
Calenardhon has urged Bree on Monday to win a greater role in
forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[Third option in a alternative word set; this checks that alternatives
prior to verb fails correctly]]
\n{ CAL / BRE / 122 } */
950115 PATTERN-12
Arnor suggested Gondor should apply Geneva conventions in its
dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern alternatives with adjacent connector on SHOULD...APPLY; first option
in alternatives following verb
\n { ARN / ROH / 151 } */
950115 PATTERN-12a
Arnor suggested Gondor should require Geneva conventions in its
dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern alternatives with adjacent connector on SHOULD...REQUIRE, plus
a target before verb; first option alternatives follow verb
\n { ARN / GON / 151 } */
950115 PATTERN-12b
Arnor suggested Gondor should demand Geneva conventions in its
dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set with adjacent connector on SHOULD...DEMAND; first option
word set follows verb; GON is set by +
\n { ARN / GON / 161 } */
950115 PATTERN-12c
Arnor suggested never Gondor should demand Shriners conventions in its
dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set with adjacent connector on SUGGESTED_[]; first option
word set prior to verb
\n { ARN / ROH / 171 } */
950115 PATTERN-13
Arnor suggested Gondor should apply international conventions in its
dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set with adjacent connector on SHOULD...APPLY; second option
alternatives follow verb
\n { ARN / ROH / 151 } */
950115 PATTERN-13a
Arnor suggested Gondor should require international conventions in its
dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set with adjacent connector on SHOULD...REQUIRE, plus
a target before verb; second option; alternatives follows verb
\n { ARN / GON / 151 } */
950115 PATTERN-13b
Arnor suggested Gondor should demand international conventions in its
dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set with adjacent connector on SHOULD...DEMAND; first option
word set follows verb; GON is set by +
\n { ARN / GON / 161 } */
950115 PATTERN-13c
Arnor suggested don't Gondor should demand Shriners conventions in its
dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set with adjacent connector on SUGGESTED_[]; second option
word set prior to verb
\n { ARN / ROH / 171 } */
950115 PATTERN-14
Arnor suggested it should not apply any international conventions
in its dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern alternatives 151 should fail due to ANY between adjacent connector
on SHOULD...APPLY_[];
\n { ARN / ROH / 152 } */
950115 PATTERN-14a
Arnor suggested it should not require any international conventions
in its dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set 151 should fail due to adjacent connector on
SHOULD...REQUIRE, plus a target before verb
\n { ARN / ROH / 101 } */
950115 PATTERN-14b
Arnor suggested it should demand international Shriners conventions
in its dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set 161 should fail due to SHRINERS between adjacent connector
on SHOULD...DEMAND_[INTERNATIONAL ]_;
\n { ARN / ROH / 162 } */
950115 PATTERN-14b'
Arnor suggested it should demand Shriners conventions
in its dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set 161 should fail due to SHRINERS between adjacent connector
on SHOULD...DEMAND_*_CONVENTION;
\n { ARN / ROH / 162 } */
950115 PATTERN-14c
Arnor suggested it never should demand international Shriners conventions
in its dealings with Rohan, an Arnorian embassy spokesman said.
/*\n------------------------------------------------------------------
\n Pattern word set 171 should fail due to IT between adjacent connector
on SUGGESTED;
\n { ARN / ROH / 162 } */
950101 PATTERN-16
Arnor is about to sign a new protocol with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n connected literals following verb
\n{ ARN / GON / 084 } */
950101 PATTERN-17
Arnor is about to sign an old protocol with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n connected literals following verb should fail
\n{ ARN / GON / 085 } */
950101 PATTERN-18
Arnor is about show no sign with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n connected literals prior to verb
\n{ ARN / GON / 082 } */
950101 PATTERN-19
Arnor is about show it has no new sign with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n connected literals prior to verb should fail
\n{ ARN / GON / 083} */
950101 PATTERN-19a
Arnor is about show it has no little new sign with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n connected literals prior to verb should fail
\n{ ARN / GON / 083} */
950101 PATTERN-20
Arnor is about shxw it has no new sign with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n only main verb should match
\n{ ARN / GON / 081} */
950101 PATTERN-21
Arnor is about to sign an old protocol with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n connected literals following verb should fail
\n{ ARN / GON / 085 } */
950101 PATTERN-22
Arnor is about to withdraw from diplomatic efforts with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n first pattern in a long pattern list
\n{ ARN / GON / 194 } */
950101 PATTERN-23
Arnor is about to withdraw from a treaty with Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n middle pattern in a long pattern list
\n{ ARN / GON / 198 } */
950101 PATTERN-24
Arnor is about to withdraw now from Gondor
almost five years after crowds trashed its embassy, a senior official
said on Saturday.
/*\n------------------------------------------------------------------
\n last pattern in a long pattern list
\n{ ARN / GON / 012 } */
950112 PATTERN-25
Eriador's death toll has risen in the dispute with Osgiliath, the state's
fiercest foe.
/*\n------------------------------------------------------------------
\n[Check on correct matching of multi-word verb phrase]
\n{ ERI / OSG / 223 }*/
950104 PATTERN-26
Mordor with Fornost and Gondor welcxmed a resumption of formal
diplomatic ties with Osgiliath after a 12-year rift, the official news agency WFNA said
on Thursday.
/*\n------------------------------------------------------------------\n
[Compound with actor before it;\n WELCXME\n-% * \nshould catch the compound, not first actor
\n Also implements a symetric code ]
\n{ FOR / GON / 044 }
\n{ GON / FOR / 045 } */
\n{ GON / FOR / 044 }
\n{ FOR / GON / 045 } */
950104 PATTERN-27
Mordor with Fornost and Gondor welcymed a resumption of formal
diplomatic ties with Osgiliath after a 12-year rift, the official news agency WFNA said
on Thursday.
/*\n------------------------------------------------------------------\n
[Compound with actor before it;\n WELCYME\n-% * \nshould catch the compound, not first actor
\n Simple code]
\n{ FOR / GON / 046 }
\n{ GON / FOR / 046 } */
950104 PATTERN-28
Mordor with Fornost and Gondor welcomed a resumption of formal
diplomatic ties with Osgiliath after a 12-year rift, the official news agency WFNA said
on Thursday.
/*\n------------------------------------------------------------------\n
[Compound with actor before it; should match WELCOME, not compound]
\n{ ORC / OSG / 041 } */
950118 PATTERN-29a
Calenardhon has recently loudly included its voice for Bree to win a
greater role in forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; multi-word pattern before verb]
\n{ CAL / BRE / 043 } */
950118 PATTERN-29b
Calenardhon has recently strongly assxrted its voice for Bree to win a
greater role in forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; multi-word pattern before verb]
\n{ CAL / BRE / 043 } ENDORSE */
950118 PATTERN-29c
Calenardhon has recently loudly raised its voice for Bree to win a greater role
in forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; multi-word pattern before verb;
multi-word pattern should fail]
\n{ CAL / BRE / 042 }*/
950118 PATTERN-29d
Calenardhon has recently strongly raised its voice for Bree to win a greater role
in forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; multi-word pattern before verb;
multi-word pattern should fail]
\n{ CAL / BRE / 042 } ENDORSE */
950118 PATTERN-29e
Calenardhon has recently loudly boldly included its voice for Bree to win a
greater role in forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; multi-word pattern before verb;
should skip intermediate word and match]
\n{ CAL / BRE / 043 } */
950118 PATTERN-29f
Calenardhon has recently strongly boldly assxrted its voice for Bree to win a
greater role in forthcoming peace talks.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; multi-word pattern before verb
should skip intermediate word and match]
\n{ CAL / BRE / 043 } ENDORSE */
950112 PATTERN-30a
Eriador has asked for economic sanctions against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; multi-word pattern, alternatives follow verb]
\n{ ERI / OSG / 172 }*/
950112 PATTERN-30b
Eriador has asked for a total boycott against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; multi-word pattern, alternatives follow verb]
\n{ ERI / OSG / 172 }*/
950112 PATTERN-30c
Eriador has asked for economic restraint against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; multi-word pattern, alternatives follow verb;
pattern should fail]
\n{ ERI / OSG / 090 }*/
950112 PATTERN-30d
Eriador has asked for a total war against Osgiliath, the state's fiercest foe.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; multi-word pattern, alternatives follow verb
pattern should fail]
\n{ ERI / OSG / 090 }*/
950112 PATTERN-30e
Eriador has asked for economic high sanctions against Osgiliath, the state's
fiercest foe.
/*\n------------------------------------------------------------------
\n[First option in a alternative word set; multi-word pattern, alternatives follow verb;
pattern should fail due to intermediate word]
\n{ ERI / OSG / 090 }*/
950112 PATTERN-30f
Eriador has asked for a total complete boycott against Osgiliath, the state's
fiercest foe.
/*\n------------------------------------------------------------------
\n[Second option in a alternative word set; multi-word pattern, alternatives follow verb;
pattern should fail due to intermediate word]
\n{ ERI / OSG / 090 }*/
950102 PATTERN-31
Mordor et Arnor will be hosting Osgiliath to celebrate Tabaski with Eriador
next week at Cirith Ungol.
/*\n------------------------------------------------------------------
\nTest of ^ (actor skipping) in a pattern; skipped actor before verb.
\n{ ARN / ERI / 042 } */
950102 PATTERN-31b
Arnor was United Arab Emirates for Eriador warning next week.
/*\n------------------------------------------------------------------
\nTest of ^ (actor skipping) in a pattern; skipped actor before verb;
adjacent $ ^.
\n{ ARN / ERI / 164 } */
950102 PATTERN-32
Arnor has celebrated Eid at Osgiliath with Gondor after a
hafling was reported on the pass of Cirith Ungol.
/*\n------------------------------------------------------------------
\nTest of ^ (actor skipping) in a pattern; skipped actor follows verb.
\n{ ARN / GON / 043 } */
950102 PATTERN-32a
Arnor has celebrated Iftar at Osgiliath with the leaders of Gondor in Eriador
after a hafling was reported on the pass of Cirith Ungol.
/*\n------------------------------------------------------------------
\nTest of multiple ^ (actor skipping) in a pattern
\n{ ARN / ERI / 044 } */
950102 PATTERN-32b
Arnor has celebrated Eid at Osgiliath and Eriador with Gondor after a
hafling was reported on the pass of Cirith Ungol.
/*\n------------------------------------------------------------------
\nTest of ^ (actor skipping) in a pattern; compound actor is skipped.
\n{ ARN / GON / 043 } */
950102 PATTERN-32c
Arnor has celebrated Eid at United Arab Emirates with Gondor after a
hafling was reported on the pass of Cirith Ungol.
/*\n------------------------------------------------------------------
\nTest of ^ (actor skipping) in a pattern; skipped actor follows verb.
\n{ ARN / GON / 043 } */
990809 PATTERN-32d
Ithilen warned at the United Arab Emirates of the Prince of Dol_Amroth.
/*\n------------------------------------------------------------------
\nConfirm that skip token ^ doesn't add actor to upper match string;
test adjacent ^ + tokens with multi-word skip
\n{ ITH / DOL / 162 } */
950102 PATTERN-33a
Ithilen's militia vowed to resist to the end the Rohans unless that
group yielded ground seized in six days of fighting.
/*\n------------------------------------------------------------------
\n[Matches option in a alternatives word set; longer fixed pattern follows
alternatives]
\n{ ITH / ROH / 113 } */
950102 PATTERN-33b
Ithilen's militia vowed resistance to the end to the invading Rohans
unless that group yielded ground seized in six days of fighting.
/*\n------------------------------------------------------------------
\n[Matches longer fixed patterns after first matching a shorter pattern
with alternatives]
\n{ ITH / ROH / 114 } */
950102 PATTERN-33c
Ithilen's militia vowed to resist to the end of the earth the Rohans unless
they yielded ground seized in six days of fighting.
/*\n------------------------------------------------------------------
\n[Matches longer pattern with alternatives after first matching a
shorter pattern with alternatives]
\n{ ITH / ROH / 115 } */
##################################################################
#
# PATTERN CONNECTORS
#
##################################################################
950102 CONNECT-01
Old foes Gondor and Osgiliath have renewed diplomatic ties after a
12-year break in a step that holds advantages for both major
powers.
/*\n------------------------------------------------------------------
\n[Test on problem of getting incorrect multi-word phrases. Check the parse
\n to confirm that "HAVE" is not matching "HAVE NOTHING TO DO WITH" [022]
\n{ GON / OSG / 064 } 950102
\n{ OSG / GON / 064 } 950102 */
950102 CONNECT-01A
Old foes Gondor and Osgiliath have renewed diplomatic ties after a
12-year break in a step that holds advantages for both major
powers have.
/*\n------------------------------------------------------------------
\n[Test on problem of getting incorrect multi-word phrases. Check the parse
\n to confirm that "HAVE" is not matching "HAVE NOTHING TO DO WITH" [022]
\n This puts it at the end of the sentence
\n{ GON / OSG / 064 } 950102
\n{ OSG / GON / 064 } 950102 */
950102 CONNECT-01B
Have Old foes Gondor and Osgiliath have renewed diplomatic ties after a
12-year break?
/*\n------------------------------------------------------------------
\n[Test on problem of getting incorrect multi-word phrases. Check the parse
\n to confirm that "HAVE" is not matching "HAVE NOTHING TO DO WITH" [022]
\n This puts it at the beginning of the sentence
\n{ GON / OSG / 064 } 950102
\n{ OSG / GON / 064 } 950102 */
950116 CONNECT-02
Fornost President Umbardacil has again appealed for peace in Ithilen state-run television in
a message to the spiritual leader of the war-torn nation's influential
Douzu community./*
\nTesting for correct match on multi-word, disconnected actor phrase
\n{ FORGOVPRS / ITHTV / 095 } 950116 */
920102 CONNECT-03
Gollum was in on accord with an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition of IN_ spaced below verb. Match will be
075A due to "IN_ *" (which is matched over IN_* because it is longer;
note that these two patterns are redundant)
\n { HOB / GON / 075A } */
920102 CONNECT-04
Gollum was in acknowledge with an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition of IN_ connected immediately below verb. Match
will be 074 due to "IN_*" pattern
\n { HOB / GON / 074 } */
920102 CONNECT-05
Gollum was seen to break in an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition of IN_ above verb with + and $
\n{ GON / HOB / 075 } */
920102 CONNECT-06
Gollum was seen to break into an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition of IN_ above verb; does not match on
BREAK and matches instead on PARADE
\n{ HOB / GON / 1717 } */
920102 CONNECT-07
Gollum abandoned efforts to stop an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition for phrase of first verb in dictionary
\n{ HOB / GON / 987 } */
920102 CONNECT-08
Gollum allowed that Mordor isn't a really pleasant place to visit.
/*\n------------------------------------------------------------------
\nTest of ~_ connector in upper phrase
\n{ HOB / ORC / 024 } */
920102 CONNECT-09
Gollum allowed that Mordor isn't a real pleasant place to visit.
/*\n------------------------------------------------------------------
\nTest of ~_ connector in upper phrase
\n{ HOB / ORC / 024 } */
920102 CONNECT-10
Gollum allowed that Mordor isn't a real easy or pleasant place to visit.
/*\n------------------------------------------------------------------
\nTest of ~_ connector in upper phrase; match should fail and use default code
\n{ HOB / ORC / 060 } */
920102 CONNECT-11
Gollum noted he would now boycott an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition for connected words: HE between NOTED
and WOULD requires a skip, so event is 174
\n{ HOB / GON / 174 } */
920102 CONNECT-12
Gollum noted would now boycott an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition for connected words: NOTED_WOULD
allows
\n{ HOB / GON / 173 } */
920102 CONNECT-13
Gollum notedown would now boycott an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition for connected words in lower match
\n{ HOB / GON / 174 } */
920102 CONNECT-14
Gollum abandoned an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition for first verb in dictionary
\n{ HOB / GON / 345 } */
920102 CONNECT-15
Gollum will bargain for asylum in Gondor, AFP reported.
/*\n------------------------------------------------------------------
\nTest of pattern recognition for connected words in upper match
\n{ HOB / GON / 174K } */
920102 CONNECT-16
Gollum will bargain foreign asylum in Gondor, AFP reported.
/*\n------------------------------------------------------------------
\nTest of pattern recognition for connected words in upper match
\n{ HOB / GON / 174L } */
920102 CONNECT-17
Gollum was known to break into an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition of IN_ -- pattern word with length <= 2 --
\n which wasn't working in vers. 0.4.6
\n{ HOB / GON / 1717 } */
920102 CONNECT-18
Gollum was knowned to break into an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of _ termination in a pattern word with length > 2 chars
\n{ HOB / GON / 1717 } */
920102 CONNECT-19
Gollum was known to breakdown in an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of _ termination in a root
\n{ HOB / GON / 111 } */
920102 CONNECT-20
Gollum was known to break in an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition of IN_, which wasn't working in 0.4.6
\n{ GON / HOB / 076 } */
920102 CONNECT-21
Gollum was known to brake in an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of partial string match in a root
\n{ HOB / GON / 111 } */
920102 CONNECT-22
Gollum was in an accord with an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nMatch to verb ACCORD cancelled by determiner AN
\n { HOB / GON / 111 } */
920102 CONNECT-23
Gollum recently allowed that Mordor isn't a such neat place to visit.
/*\n------------------------------------------------------------------
\nTest of ~_ connector in lower phrase
\n{ HOB / ORC / 025 } */
920102 CONNECT-24
Gollum recent allowed that Mordor isn't a such neat place to visit.
/*\n------------------------------------------------------------------
\nTest of ~_ connector in lower phrase
\n{ HOB / ORC / 025 } */
920102 CONNECT-25
Gollum recently did allow that Mordor isn't a such neat place to visit.
/*\n------------------------------------------------------------------
\nTest of ~_ connector in upper phrase; match should fail and use default code
\n{ HOB / ORC / 060 } */
920102 CONNECT-26
Gollum allowed that Mordor isn't the neatest place to visit.
/*\n------------------------------------------------------------------
\nTest of ~_ connector in upper phrase;
\n{ HOB / ORC / 027 } */
920102 CONNECT-27
Gollum recently did allow that Mordor isn't the neat or cool place to visit.
/*\n------------------------------------------------------------------
\nTest of ~_ connector in upper and lower phrase; match should fail and
use default code
\n{ HOB / ORC / 060 } */
920102 CONNECT-28
Gollum was in accord with an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition of IN_ spaced immediately below verb, which
wasn't working in vers. 0.4.6
\n{ HOB / GON / 075 } */
920102 CONNECT-29
Gollum was into accord with an anti- Gondor parade on Saturday.
/*\n------------------------------------------------------------------
\nTest of pattern recognition of IN immediately below verb. Match
will be 072 due to "INTO"
\n { HOB / GON / 072 } */
##################################################################
#
# INDEXED HEAD AND TAIL TAG MARKING
#
##################################################################
920102 MARK-00
Gollum, centre of a diplomatic row between Radagast the Brown, called on
Gondor late Sunday to be allowed to leave Lorien by elves.
/*\n------------------------------------------------------------------
\nIndexed marking: test that regular coding works
\n{ HOB / GON / 095 }*/
920102 MARK-01
Gollum accompanying Radagast, the Brown wizard of reknown, called on
Gondor late Sunday to be allowed to leave Lorien by elves.
/*\n------------------------------------------------------------------
\nIndexed marking: actor tail cancelled in subordinate clause
\n{ HOB / GON / 095 } */
920102 MARK-02
Gollum, centre of a diplomatic row between Radagast, the Brown called on
Gondor late Sunday to be allowed to leave Lorien by elves.
/*\n------------------------------------------------------------------
\nIndexed marking: actor head cancelled in subordinate clause. For the
next few cases, use the P)arse to make sure cancellation is occurring
\n{ HOB / GON / 095 } */
920102 MARK-03
Gollum, centre of a diplomatic row between Radagast the, Brown called on
Gondor late Sunday to be allowed to leave Lorien by elves.
/*\n------------------------------------------------------------------
\nIndexed marking: actor head cancelled in subordinate clause. For the
next few cases, use the P)arse to make sure cancellation is occurring
\n{ HOB / GON / 095 } */
920102 MARK-04
Gollum centre of a diplomatic row between Radagast the Brown called on
Gondor late Sunday to be allowed to leave Lorien by elves.
/*\n------------------------------------------------------------------
\nIndexed marking: test that coding would get RAD in absence of
subordinate clause
\n{ RAD / GON / 095 } */
920102 MARK-05
Gollum, centre of a diplomatic row between Radagast, the Brown called on
Gondor late Sunday to be allowed to leave Lorien by elves.
/*\n------------------------------------------------------------------
\nIndexed marking: actor head cancelled in subordinate clause
\n{ HOB / GON / 095 } */
000102 MARK-06
Elrond brushed aside reports, rumored to originate in Mordor,
that Calimehtar attacked Gandalf /*\n
------------------------------------------------------------------
\nIndexed marking: normal coding
\n{ ELF / CAL / 142 }*/
000102 MARK-07
Elrond, brushed aside reports rumored to originate in Mordor,
that Calimehtar attacked Gandalf /*\n
------------------------------------------------------------------
\nIndexed marking: normal coding
\n{ ELF / WIZ / 223 }*/
000102 MARK-08
Elrond brushed, aside reports rumored to originate in Mordor,
that Calimehtar attacked Gandalf /*\n
------------------------------------------------------------------
\nIndexed marking: verb cancelled by tail in subordinate clause
\n{ ELF / WIZ / 223 }*/
000102 MARK-09
Elrond, suspicious as ever of Mordor brushed, aside reports
that Calimehtar attacked Gandalf /*\n
------------------------------------------------------------------
\nIndexed marking: verb cancelled by head in subordinate clause
\n{ ELF / WIZ / 223 }*/
000102 MARK-10
Elrond, suspicious as ever of Mordor, brushed aside reports
that Calimehtar attacked Gandalf /*\n
------------------------------------------------------------------
\nIndexed marking: return to normal coding with verb following