-
Generate a master book from a PGN list of games.
make book.tsv.zst INPUT=foo.pgn
-
Prune positions from the book that were reached, for example, less than 100 times:
../build/src/bookgen/merge-books 100 <(zstdcat book.tsv.zst) | ../tools/bookgen/prune-book > book100.tsv
-
Test the generated book.
../tools/bookgen/test-book book100.tsv
Requires a PGN list of games, annonated with the appropriate tags (ECO, Opening and Variation).
make eco.tsv INPUT=foo.pgn
Test with ../tools/bookgen/test-book book.tsv eco.tsv
.