Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi
[pachi/derm.git] / joseki / README
blobddeb0fbcd179d98c7d404cf14b32e3face48ac2b
1 This is a joseki pattern scanner. At the beginning, you should
2 have a SGF file with various joseki as variations; they are assumed
3 to be laid out in the upper right corner; only variations leading
4 to a comment containing the word "GOOD" are considered. All variations
5 should be tagged as real moves, not move placement.
7 This pattern scanner works with the Kogo joseki dictionary. You need
8 to just preprocess the file with this script:
10         perl -ple 's/\w+\[\]//g; s/PL\[\d\]//g;'
12 Then, use the ./sgfvar2gtp.pl script to convert the SGF to a GTP stream,
13 one game per good variation.
15 Then, feed that GTP stream to ./zzgo -e joseki to get a pattern datafile
16 on the output - the file contains list of quadrant positions (identified
17 by their zobrist hashes) and the associated w-to-play and b-to-play
18 joseki followups.