lucaschessR
lucaschessR copied to clipboard
Request options for making bin books with Polyglot book factory
John Merlino made a obk making tool, where you can set different percentages for the book weights (the three dot's). When making a obk book and choose the option weight by frequently, you can now specify how much percentage a move have to be played to get one, two, three or no dot's assigned. Then you can export the obk book to pgn with obk2pgn and remove sidelines (moves with no dot's), by searching for games with a '?' in the annotation and delete them. That's a great approach for making repertoires for over the board games.
I would like to have a similar option for building bin books. Next to 'Minimum number or games' and 'Minimum score', I would like to have an option to specify how much percentage of the time a move have to be played, to be included in the bin book. For my white repertoire than, I would for example make a 'only white' book, from I collection of high quality games, and choose the option 'min_percentage=20'. Than I make a 'only black' book, and choose the option 'min_percentage=0.5' Than I merge white and black books, and I import the book to Opening Lines, and I have my repertoire.
I will keep this in mind when reviewing book creation that is not working properly.
Or even better would be if this could be done directly when import a big pgn database into Opening Lines. To specify a min-percentage the white moves have to be played, and to specify a min-percentage the black moves have to be played. Because there is oftentimes a bug when importing moves from a bin book to Opening Lines (multiple repetitions of moves). There is also some weird explosion of number of games, when exporting Opening Lines (created by importing bin books), to pgn. When Opening Lines are created by importing pgn games, you don't see this explosion of number of games, when exporting the Opening Lines to pgn. The only problem I can see is in positions were all moves where played equally. Or if you set for example a option min-percentage is 20%, and there are position where none of the variations are played at least 20% of the time. But there must be a way to solve this to. Maybe some way to search for these positions.