Author: David Dahlem
Date: 16:31:26 12/03/00
Go up one level in this thread
On December 03, 2000 at 17:25:18, John Merlino wrote: >On December 03, 2000 at 16:04:45, David Dahlem wrote: > >> >>On December 03, 2000 at 14:55:01, John Merlino wrote: >> >>>On December 03, 2000 at 11:23:19, David Dahlem wrote: >>> >>>> >>>>On December 02, 2000 at 21:09:58, John Merlino wrote: >>>> >>>>>On December 02, 2000 at 18:23:02, David Dahlem wrote: >>>>> >>>>>>I have been trying to create an opening book by importing a pgn file. Every >>>>>>attempt has resulted in this message - "import error: an error occurred >>>>>>importing the pgn file". Has anyone else tried to import pgn files into an >>>>>>opening book in CM8000? Does the pgn file have to be free of commentary and/or >>>>>>variations? >>>>>> >>>>>>Dave >>>>> >>>>>If you think the PGN file is completely free of errors, then E-mail me the file >>>>>and I'll pass it on to the development team. Does the error message give you any >>>>>indication of WHERE in the file the error occurred, or WHAT the error is? >>>>> >>>>>jm >>>> >>>>I decided to try a little test. I thought maybe the problem was with the size of >>>>the pgn file so i created some with only 100 games. These were imported without >>>>an error message. Then i tried a pgn file with 500 games and got the error >>>>message. So it appears the problem with CM8000 importing pgn files into the >>>>opening book is with file size. Unless someone wanted to take a large amount of >>>>time splitting a large pgn file into very small ones, the import pgn into CM8000 >>>>opening book is worthless, unless this is addressed in the patch. >>>> >>>>Dave >>> >>>It is possible that the number of games is the problem, but I know for a fact >>>that I have used it to import PGN files with more than 3,000 games. However, the >>>one factor is HOW MANY DIFFERENT OPENINGS are in the PGN file. The more >>>disparate the openings, the bigger the opening book will be, and the opening >>>book format can only handle a certain number of moves. Since the default depth >>>is either 30 or 40 plies (can't remember), this could cause a problem. In other >>>words, you can import more games if the games all use the same family of >>>openings. >>> >>>jm >> >>Not exactly sure what you mean by "same family of openings" but unless a book >>covers all openings, wouldn't it have "holes" in it? >> >>Dave > >You are correct. The problem, I imagine, is that the opening book importer >pretty much goes 30 (or 40) plies deep for ALL lines that are found, even if a >line is found only once. This adds up very quickly. When I say "same family of >openings", I mean Sicilian, Queen's Gambit Declined, etc. > >However, you should probably e-mail me the file (the one with 500 games) that >you are having problems with, so the development team can have a look at it. >There could very well be a bug, and having data that can reproduce it is vital. > >jm I went to the trouble of investigating further this problem. Using a program called "extract", I split 3000 games into files with 50 games each. Some would import and some would not. Using a text editor, i examined the files that would not import, i found a few errors, most notably games with a "fen" position. Some files i couldn't find an error but i assume there are probably notation errors in them. I managed to get about 90% of the 3000 games imported creating a file size of 68kb. Preliminary testing against the default CM8000 book shows that coming out of book, my book has a higher evaluation. :-) Dave
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.