rpdelaney-archive / python-chess-annotator

Reads chess games in PGN format and adds annotations using an engine
GNU General Public License v3.0
62 stars 29 forks source link

add ?!, ? and ?? #15

Closed Entze closed 6 years ago

Entze commented 6 years ago

Now the annotator only inserts the numeric codes. In addition it could annotate the widely used ?! (Inaccuracy), ? (Mistake) and ?? (Blunder)

14 has an example of an annotated game that uses those symbols.

rpdelaney commented 6 years ago

I'll double check later but I don't think python-chess supports this.

rpdelaney commented 6 years ago

Per python-chess docs:

During PGN parsing, annotations like !, ?, !!, etc., are also converted to NAGs.

So unless there are changes to python-chess, we can't do this. I suggest you raise a feature request with Niklas to support adding the 'plaintext' annotations to a GameNode. If that is implemented in python-chess, we can revisit this.