Page 1 of 1

What tools can you suggest to create such a testsuite?

PostPosted: 08 Jul 2005, 08:06
by Niyaz Khasanov
I want to create an EPD testsuite from a PGN collection or from an existing opening book.
Every position of this testsuite should contain (as best moves) all moves made by GMs in the position with the numbers how many times the move was made. Something like:
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - bm e4 d4 Nf3 c4; id "e4 983 d4 771 Nf3 399 c4 137";
Maybe the numbers are written in another way.
It is also good (but not mandatory)if rare positions were omitted.
Do you know a tool which can do this?

Re: What tools can you suggest to create such a testsuite?

PostPosted: 08 Jul 2005, 18:38
by Dann Corbit
I did something like that a few times.

There are lots of tools to create EPD from PGN and decorate the EPD record with bm or pm for the next move from the game.

Then, sort the EPD records into a big sorted set.
Then, count the EPD bm or pm results and append them to an EPD record that contains the counts for the moves chosen.

Unfortunately, I cannot find that C++ program I wrote to do the counting. I will hunt around a bit and see if I can find it.

Re: What tools can you suggest to create such a testsuite?

PostPosted: 09 Jul 2005, 06:11
by Niyaz Khasanov
Thank you for your suggestions.
I have downloaded pgn2fen.exe and obtained a big EPD file. The rest of the work was done with a simple program written in Pascal using your advices.