austindavis commited on
Commit
b64c425
1 Parent(s): ccf938a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -4677,6 +4677,12 @@ Each record in the dataset has the following structure:
4677
  - `Termination`: string, reason for game termination.
4678
  - `Transcript`: string, sequence of moves in UCI format. Note: Promotions are capitalized.
4679
 
 
 
 
 
 
 
4680
  ### Human versus Bot Players
4681
 
4682
  The source data comes from games played on Lichess.org, an online platform where users from around the world play chess.
 
4677
  - `Termination`: string, reason for game termination.
4678
  - `Transcript`: string, sequence of moves in UCI format. Note: Promotions are capitalized.
4679
 
4680
+
4681
+ ### Python Chess Gotchas
4682
+ For those new to the datasets here's a few things to watch out for:
4683
+ - The python Chess library uses lowercase letters to indicate pawn promotion, but this dataset uses upper-case letters instead (as a natural consequence of using `pgn-extract`, this also disambiguates bishop promotions 'b' from the b-file (column)). You may want to use `str.lower()` whenever processing transcripts with the Chess library.
4684
+ - Empty transcripts are using '0-1' by `pgn-extract`. (example: lichess.org/AvQ6x3da)
4685
+
4686
  ### Human versus Bot Players
4687
 
4688
  The source data comes from games played on Lichess.org, an online platform where users from around the world play chess.