A Select Unnormalized Selection

These are tournaments, pre-2000, non-WCC, which have unnormalized <Event> fields in the PGN.

Cleaning this up is trivial (on <CG>), but it’s perhaps the simplest and most readily apparent example of the problem:

# Z is just a list of pre-2000 (tid,[Events,Sites,EventDates]).
>>> for z in Z:
      if 'World Championship' not in TN[z[0]] and len(z[1][0]) > 1:
          print "%6d  %s   \t\t\t %s" \
            %  ( z[0], `tuple([len(m) for m in z[1]])`, TN[z[0]], `tuple(z[1][0])` )

# A little hand editing follows...

 82127   (2,2,2)    Anderssen - Harrwitz (1848)             ('Anderssen-Harrwitz',
                                                             'Breslau m ;HCL 28')

 80054   (2,1,2)    Philadelphia (1876)                     ('Philadelphia',
                                                             'USA-04.Kongress')

 79605   (2,2,2)    Breslau (1889)                          ('Breslau',
                                                             'DSB-06.Kongress')

 79519   (2,2,2)    3rd Anglo-American Cable Match (1898)   ('Amglo-American Cable Match (3)',
                                                             '3rd Anglo-American Cable Match')

 80747   (2,2,2)    18th DSB Kongress (1912)                ('DSB-18.Kongress',
                                                             '18th DSB Kongress')

 84842   (2,1,1)    Grⁿnfeld - Tartakower (1922)            ('Gr\xfcnfeld - Tartakower',
                                                             'Gruenfeld - Tartakower')

 81961   (2,2,2)    Hastings (1945/46)                      ('Hastings 1945/46',
                                                             'Hastings 4546')

 79918   (2,2,2)    Groningen (1946)                        ('Groningen',
                                                             'Staunton mem')

 83025   (2,1,1)    Saltsj÷baden Interzonal (1948)          ('Saltsj\xf6baden Interzonal',
                                                             'Saltsjobaden Interzonal')

 79523   (2,1,2)    USSR Championship (1948)                ('USSR Championship',
                                                             'URS-ch')

 79983   (2,2,2)    Hastings (1954/55)                      ('Hastings 1954/55',
                                                             'Hastings')

 83016   (2,1,2)    56th US Open (1955)                     ('56th US Open',
                                                             'US Open')

 79315   (2,1,1)    Dallas (1957)                           ('Dallas,',
                                                             'Dallas')

 79531   (2,2,2)    USSR Championship (1957)                ('USSR Championship',
                                                             'Moscow ch-URS')

 79544   (2,2,2)    USSR Championship (1966/67)             ('USSR Championship 1966/67',
                                                             'URS-ch34')

 84242   (2,2,2)    Spassky - Hort Candidates Quarterfinal (1977)       ('Spassky - Hort Candidates Quarterfinal',
                                                             'Reykjavik cm qf')

 80680   (2,2,2)    Lone Pine (1979)                        ('Lone Pine',
                                                             'Lone Pine (USA)')

 81014   (2,2,2)    Lone Pine (1980)                        ('Lone Pine',
                                                             'Lone Pine (USA)')

 81016   (2,2,2)    Lone Pine (1981)                        ('Lone Pine',
                                                             'It (open)')

 83388   (2,1,1)    Las Palmas Interzonal (1982)            ('Las Palmas Interzonal',
                                                             'Interzonal')

 80014   (2,2,2)    USSR vs. Rest of the World (1984)       ('USSR vs. Rest of the World',
                                                             'London URS-World')

 79288   (2,2,2)    Brussels World Cup (1988)               ('Brussels World Cup',
                                                             'Brussels WCup ,CBM 07')

The tournament index is listed, followed by the tuple of different Event / Site / EventDate counts, then the “official” tournament name, and finally the list of different Event tags.

This stuff is admittedly trivial, but that’s exactly why <CG> shouldn’t have this problem.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s