Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: My $.02 on books

Author: David Dahlem

Date: 10:04:53 10/08/04

Go up one level in this thread


On October 08, 2004 at 10:29:00, Mihaly Szalai wrote:

>On October 08, 2004 at 02:46:11, Mike Byrne wrote:
>
>>On October 07, 2004 at 23:44:38, David Dahlem wrote:
>>
>>>On October 07, 2004 at 22:58:30, Mike Byrne wrote:
>>>
>>>>On October 06, 2004 at 23:52:19, David Dahlem wrote:
>>>>
>>>>>On October 06, 2004 at 22:16:04, Mike Byrne wrote:
>>>>>
>>>>>>You had a nice thread going on personality books.
>>>>>>
>>>>>>Let me describe my process - I create a pgn file for Fischer with White -- I run
>>>>>>that through bookup - flag the most common moves for white going somewhere
>>>>>>between 20 to 50ply (10 - 25 moves deep).   I flag only the white moves.  I then
>>>>>>the same with Fischer as black pgn., flagging only the most common black moves.
>>>>>>I export the bookup file as multiple pgn's and the combine both test files to
>>>>>>create one fischer.bin (later I will modify Crafty to look for fischer.bin when
>>>>>>playing as with fischer personality), import the moves in Crafty.  Crafty will
>>>>>>then play just like Fischer wther white or black.  With Bookup, I should be able
>>>>>>to make one personality book in about 4 hours.  It is really cool and it works.
>>>>>>
>>>>>>
>>>>>>The fischer.bin only has about 30,000+ positions, so it is not a very big book.
>>>>>>maybe 1 MB.
>>>>>
>>>>>Hi Mike
>>>>>
>>>>>I don't have Bookup, but i think i can mark the moves using the search and
>>>>>replace feature of my text editor. This will also require splitting into
>>>>>white.pgn and black.pgn. All of the moves for the selected grandmaster will get
>>>>>marked. It shouldn't take over 30 minutes to create a book using this method.
>>>>>I'm not sure what you mean by most common moves. Bookup must have a feature that
>>>>>identifies the most common moves?
>>>>
>>>>it does --- it has counter --I'm not exactly sure what it counts - perhaps leaf
>>>>nodes?   what exactly are using search and replace to mark all the moves in 30
>>>>minutes?
>>>>
>>>>>
>>>>>Regards
>>>>>Dave
>>>
>>>"Search-and-replace is a capability that allows a computer user to find a given
>>>sequence of characters in one or more text files and, if desired, replace the
>>>sequence with another sequence of characters. A global search-and-replace means
>>>that the replace is to take effect in all files within the context of the
>>>search."
>>>
>>>It's possible to flag black or white moves with a text editor that supports
>>>search and replace. It's easy once you get the hang of it, but it is harder to
>>>explain how to do it than it is to do it. Basically i start by replacing all
>>>spaces with a unique character or string, the asterisk symbol, for example. Then
>>>just replace certain strings with flags, spaces, etc.
>>>
>>>Regards
>>>Dave
>>
>>I understand - but in  a pgn file...
>>
>>Leko vs Kramnik Game 8
>>
>>1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 O-O 8.c3
>>d5 9.exd5 Nxd5 10.Nxe5 Nxe5 11.Rxe5 c6 12.d4 Bd6 13.Re1 Qh4 14.g3 Qh3
>>15.Re4 g5 16.Qf1 Qh5 17.Nd2 Bf5 18.f3 Nf6 19.Re1 Rae8 20.Rxe8 Rxe8 21.a4
>>Qg6 22.axb5 Bd3 23.Qf2 Re2 24.Qxe2 Bxe2 25.bxa6 Qd3 26.Kf2 Bxf3 27.Nxf3
>>Ne4+ 28.Ke1 Nxc3 29.bxc3 Qxc3+ 30.Kf2 Qxa1 31.a7 h6 32.h4 g4 Resigns
>>
>>what find/replace scheme would you use to add a mark to all of white's moves or
>>all black moves?  You said you did that in 30 minutes - how many games were in
>>the file?
>
>Hi Mike,
>
>please, change the code in Crafty and we will flag the PGN files for you.
>My english is too poor to explain it but it takes about 20 minutes and
>independent from the number of the games in the file.
>
>Best
>Mihaly

Hi Mihaly

I've been experimenting with creating repertoire books for the Crafty SE
grandmaster personalities. I think including only "won" games is best. With
non-active grandmasters, collecting complete game collections is not a problem,
since the number of games is a fixed number. But with still active grandmasters,
acquiring a complete up-to-date collection is more difficult. How, or where, do
you find an up-to-date collection for these grandmasters? I think only Kasparov,
Polgar, and possibly Spassky are still active?

Regards
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.