Chess Game Analyzer

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Vinvin
Posts: 5287
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Chess Game Analyzer, 36.11.beta

Post by Vinvin »

Ferdy wrote:
Vinvin wrote:
Ferdy wrote:
retep1 wrote:When will 36.11.beta be available ? The new settings sound good. :D
Here.
http://www.mediafire.com/download/677s6 ... alyzer.zip
Thanks ! I've already run it a couple of times.
This text is not translated yet : "WBlunder: 0, WMistake: 0, WDubious: 0, BBlunder: 0, BMistake: 0, BDubious: 2" .
In the coming release, not the next release I will not support the language translation anymore. This is giving me some issues, like everytime I will modify some comments, expands some comments, or improve some comments, I would think about the German and French translations.

Could you translate those comments that need translations?
I understand your choice about languages. The solution could be processing in 2 times :
1) add comments via Non-standard NAGs in PGN ( https://en.wikipedia.org/wiki/Numeric_A ... ndard_NAGs ) : "With the idea", "Better is","Equivalent is", ...
2) translate these NAG in different languages with an external file with words (in a chosen language).

French translations :
"WBlunder: 0, WMistake: 0, WDubious: 0, BBlunder: 0, BMistake: 0, BDubious: 2"
--> "Gaffes.B : , Erreurs.B : , Imprécisions.B : , Gaffes.N : , Erreurs.N : , Imprécisions.N : "

{White will mate black in X moves}
--> {Les blancs matent en X coups}

For black :{Les noirs matent en X coups}
Ferdy
Posts: 4846
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Chess Game Analyzer, 36.11.beta

Post by Ferdy »

Vinvin wrote:I understand your choice about languages. The solution could be processing in 2 times :
1) add comments via Non-standard NAGs in PGN ( https://en.wikipedia.org/wiki/Numeric_A ... ndard_NAGs ) : "With the idea", "Better is","Equivalent is", ...
I am avoiding non-standard.
Vinvin wrote: 2) translate these NAG in different languages with an external file with words (in a chosen language).
I have seen couple of python module for language translation, although have not tried it yet, but my concern is the quality of translation.

Perhaps when this tool is mature enough, I will visit the translation again. I also plan on re-writing this tool.
Vinvin
Posts: 5287
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Chess Game Analyzer, 36.11.beta

Post by Vinvin »

Ferdy wrote:
Vinvin wrote:I understand your choice about languages. The solution could be processing in 2 times :
1) add comments via Non-standard NAGs in PGN ( https://en.wikipedia.org/wiki/Numeric_A ... ndard_NAGs ) : "With the idea", "Better is","Equivalent is", ...
I am avoiding non-standard.
Vinvin wrote: 2) translate these NAG in different languages with an external file with words (in a chosen language).
I have seen couple of python module for language translation, although have not tried it yet, but my concern is the quality of translation.

Perhaps when this tool is mature enough, I will visit the translation again. I also plan on re-writing this tool.
Just one question : If a game is 30 moves (60 half-plies) long and I set CGA to 1 min by move, how much time would be required to complete the analyze ?
Ferdy
Posts: 4846
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Chess Game Analyzer, 36.11.beta

Post by Ferdy »

Vinvin wrote:
Ferdy wrote:
Vinvin wrote:I understand your choice about languages. The solution could be processing in 2 times :
1) add comments via Non-standard NAGs in PGN ( https://en.wikipedia.org/wiki/Numeric_A ... ndard_NAGs ) : "With the idea", "Better is","Equivalent is", ...
I am avoiding non-standard.
Vinvin wrote: 2) translate these NAG in different languages with an external file with words (in a chosen language).
I have seen couple of python module for language translation, although have not tried it yet, but my concern is the quality of translation.

Perhaps when this tool is mature enough, I will visit the translation again. I also plan on re-writing this tool.
Just one question : If a game is 30 moves (60 half-plies) long and I set CGA to 1 min by move, how much time would be required to complete the analyze ?
one_move = (1m for game move) + (1m for complexity calculation) + (x for engine best move)

x = 3*1m if complexity >= 3
x = 1m if complexity is < 3

one_move = (1+1+3) * 60 = 300 minutes max

If there are only 8 complex moves, this could be,
one_move = (1+1)*60 + (60-8)*1 + (8*3) = 196 minutes

I will reduce the complexity time, 1 minute is too much.
Could just be minimum(10s, movetimeInSec)
Vinvin
Posts: 5287
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Chess Game Analyzer, 36.11.beta

Post by Vinvin »

Ferdy wrote:
Vinvin wrote:I understand your choice about languages. The solution could be processing in 2 times :
1) add comments via Non-standard NAGs in PGN ( https://en.wikipedia.org/wiki/Numeric_A ... ndard_NAGs ) : "With the idea", "Better is","Equivalent is", ...
I am avoiding non-standard.
Vinvin wrote: 2) translate these NAG in different languages with an external file with words (in a chosen language).
I have seen couple of python module for language translation, although have not tried it yet, but my concern is the quality of translation.

Perhaps when this tool is mature enough, I will visit the translation again. I also plan on re-writing this tool.
I had one problem with accented characters.
The program stops when there's a player name with "é" or "ü" (and more) in the name.
The programs stops with a message about "uft-8" bad coding :?
Vinvin
Posts: 5287
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Chess Game Analyzer, 36.11.beta

Post by Vinvin »

Strange thing with this game finished as draw : Score was >5 for 2 moves and numerous times >2 BUT analyses gives only "1 Dubious" moves to white ...

Without comment + with comments in French

Code: Select all

[Event "TIPC 2016"]
[Event "TIPC 2016"]
[Site "Roux"]
[Date "2016.08.01"]
[Round "4.5"]
[White "Naumkin, Igor"]
[Black "Sclacmender, Julien"]
[Result "1/2-1/2"]
[WhiteElo "2405"]
[BlackElo "2201"]
[ECO "D86"]
[LiveChessVersion "1.4.6"]
[Annotator "Stockfish MateFinder 64 (30.0s/pos, thread=1)"]

1.d4 Nf6 2.c4 g6 3.Nc3 d5 4.cxd5 Nxd5 5.e4 Nxc3 6.bxc3 Bg7 7.Bc4 c5 8.Ne2 
Nc6 9.Be3 O-O 10.O-O Bg4 11.f3 Bd7 12.Rb1 Qc7 13.Bd3 Rad8 14.Kh1 Bc8 15.d5
Na5 16.c4 e5 17.Qe1 b6 18.f4 f6 19.Qg3 Nb7 20.f5 gxf5 21.exf5 Qf7 22.Qh4 
Kh8 23.Ng3 Bd7 24.Be2 Nd6 25.Bh5 Qg8 26.Bg6 Be8 27.Nh5 Nxc4 28.Bc1 Rxd5 
29.Nxg7 Rd4 30.Qh3 Bxg6 31.fxg6 Kxg7 32.Bh6+ Kxg6 33.Rb3 Kf7 34.Rg3 Qh8 
35.Bxf8 Qxf8 36.Qxh7+ Ke6 37.Rg8 Qf7 38.Rg7 Qf8 39.Rxa7 Nd6 40.Qd7+ Kd5 
41.h3 Rd2 42.Rc7 Qg8 43.Qc6+ Ke6 44.Qf3 f5 45.Rf2 Qg5 46.Rxd2 Qxd2 47.Qb3+
c4 48.Qxb6 Qxa2 49.Kh2 Qd2 50.Rxc4 e4 51.Ra4 Qf4+ 52.Kh1 Qc1+ 53.Qg1 Qc2 
54.Qa1 Qf2 55.Ra2 Qg3 56.Ra3 Qf4 57.Qc3 Qf1+ 58.Kh2 Qf4+ 59.Qg3 Qd2 60.
Qg6+ Kd5 61.Ra8 e3 62.Rd8 Kc5 63.Qg5 Qd4 64.Rd7 Qe5+ 65.Qg3 f4 66.Qf3 Ne4 
67.Rd1 Nd2 68.Rc1+ Kd4 69.Qc6 f3+ 70.g3 Qd5 71.Qf6+ Kd3 72.Qa6+ Kd4 73.
Qb6+ Kd3 74.Qa6+ Kd4 75.Qb6+ Kd3 76.Qa6+ Kd4 1/2-1/2



[Site "Roux"]
[Date "2016.08.01"]
[Round "4.5"]
[White "Naumkin, Igor"]
[Black "Sclacmender, Julien"]
[Result "1/2-1/2"]
[WhiteElo "2405"]
[BlackElo "2201"]
[ECO "D86"]
[LiveChessVersion "1.4.6"]
[Annotator "Stockfish MateFinder 64 (30.0s/pos, thread=1)"]

1.d4 
    {Coup de la bibliotheque Book2400.bin}
1...Nf6 
    {Coup de la bibliotheque Book2400.bin}
2.c4 
    {Coup de la bibliotheque Book2400.bin}
2...g6 
    {Coup de la bibliotheque Book2400.bin}
3.Nc3 
    {Coup de la bibliotheque Book2400.bin}
3...d5 
    {Coup de la bibliotheque Book2400.bin}
4.cxd5 
    {Coup de la bibliotheque Book2400.bin}
4...Nxd5 
    {Coup de la bibliotheque Book2400.bin}
5.e4 
    {Coup de la bibliotheque Book2400.bin}
5...Nxc3 
    {Coup de la bibliotheque Book2400.bin}
6.bxc3 
    {Coup de la bibliotheque Book2400.bin}
6...Bg7 
    {Coup de la bibliotheque Book2400.bin}
7.Bc4 
    {Coup de la bibliotheque Book2400.bin}
7...c5 
    {Coup de la bibliotheque Book2400.bin}
8.Ne2 
    {Coup de la bibliotheque Book2400.bin}
8...Nc6 
    {Coup de la bibliotheque Book2400.bin}
9.Be3 
    {Coup de la bibliotheque Book2400.bin}
9...O-O 
    {Coup de la bibliotheque Book2400.bin}
10.O-O 
    {Coup de la bibliotheque Book2400.bin}
10...Bg4 
    {Coup de la bibliotheque Book2400.bin}
11.f3 Bd7 12.Rb1 Qc7 13.Bd3 Rad8 14.Kh1 Bc8 15.d5 Na5 $6 $14 
    {+0.37/21}
    ( {Meilleur serait} 15...b6 16.Bb5 Ne5 17.Nf4 Bd7 18.Bxd7 Qxd7 $10 {
    +0.08/20} )
    ( {Très bien aussi :} 15...Ne5 16.c4 b6 17.Nf4 e6 18.Qc2 Nxd3 $10 {
    +0.17/20} )
    ( {Les blancs menacent} 15...-- 16.Bxc5 $16 {+1.09/23} )
16.c4 e5 $2 $16 
    {+1.02/25}
    ( {Plus précis serait} 16...b6 17.Bf4 Qd7 18.Bd2 Nc6 19.f4 e6 $14 {
    +0.39/22} )
    ( {Aussi suffisant :} 16...e6 17.Bg5 Rd7 18.Qd2 b6 19.Nc3 Ba6 $14 {
    +0.50/22} )
    ( {Les blancs menacent} 16...-- 17.f4 $14 {+0.84/22} )
17.Qe1 b6 18.f4 $10 
    {-0.06/24}
    ( {Plus précis serait} 18.Nc3 Ba6 19.Qe2 Qd7 20.a4 Nc6 21.Ra1 $14 {
    +0.82/20} )
    ( {À ne pas sous-estimer :} 18.Bd2 Nc6 19.a4 Ba6 20.Nc3 Nb4 21.Be2 
    $14 {+0.77/20} )
18...f6 $6 $14 
    {+0.62/21}
    ( {Plus précis serait} 18...Ba6 19.f5 Bxc4 20.Qc3 Bxd3 21.Qxd3 f6 $10
    {-0.12/21} )
    ( {Aussi jouable :} 18...f5 19.Ng3 fxe4 20.Nxe4 exf4 21.Bd2 Nc6 $10 {
    -0.00/21} )
    ( {Les blancs menacent} 18...-- 19.f5 $16 {+1.38/22} )
19.Qg3 $6 $15 
    {-0.44/23}
    ( {Plus précis serait} 19.fxe5 fxe5 20.Nc3 Ba6 21.Qe2 Rxf1+ 22.Rxf1 
    $14 {+0.58/19} )
    ( {Une autre ligne intéressante :} 19.Bd2 exf4 20.Bxf4 Qe7 21.Qg3 Ba6
    22.Rbc1 $14 {+0.50/19} )
    ( {Les noirs menacent} 19.-- Ba6 20.Nc3 Bxc4 21.Bxc4 Nxc4 22.f5 gxf5 
    $15 {-0.32/23} )
19...Nb7 $6 $14 
    {+0.79/23}
    ( {Plus précis serait} 19...f5 20.Rbc1 Rde8 21.exf5 e4 22.Bc2 Rxf5 
    $15 {-0.27/20} )
    ( {Une bonne alternative est} 19...Ba6 20.Rfc1 Rfe8 21.fxe5 Qxe5 22.
    Bf4 Qe7 $10 {+0.20/20} )
    ( {Les blancs menacent} 19...-- 20.fxe5 fxe5 21.Bd2 Rxf1+ 22.Rxf1 Rf8 
    23.Rxf8+ $14 {+0.54/22} )
20.f5 gxf5 $16 
    {+1.06/24}
    ( {Mauvais serait} 20...Qf7 $2 {à cause de} 21.Nc3 Nd6 22.a4 gxf5 23.
    exf5 $16 {+1.25/22} )
21.exf5 $14 
    {+0.77/25}
    ( {Insuffisant serait} 21.Rxf5 $6 {grâce à} 21...Bxf5 22.exf5 Nd6 
    23.Nc3 Qc8 $15 {-0.50/20} )
21...Qf7 $2 $16 
    {+1.24/21}
    ( {Plus précis serait} 21...Nd6 22.Nc3 Ba6 23.Qg4 Rde8 24.Rbc1 e4 $14
    {+0.65/21} )
    ( {Une autre possibilité est} 21...Rf7 22.Nc3 Nd6 23.Qg4 Kh8 24.a4 
    Bf8 $16 {+1.17/21} )
    ( {Les blancs menacent} 21...-- 22.Nc3 $16 {+1.58/24} )
22.Qh4 $1 Kh8 23.Ng3 $3 Bd7 $2 $16 
    {+2.07/26}
    ( {Plus précis serait} 23...Nd6 24.a4 Qc7 25.a5 bxa5 26.Ra1 Ba6 $16 {
    +1.43/20} )
    ( {Aussi efficace :} 23...Rg8 24.Ne4 Nd6 25.g4 Nxe4 26.Bxe4 Rd6 $16 {
    +1.44/20} )
    ( {Les blancs menacent} 23...-- 24.Ne4 $16 {+1.79/26} )
24.Be2 $16 
    {+1.31/23}
    ( {Plus précis serait} 24.Ne4 Bc8 25.Rf3 Nd6 26.Nxd6 Rxd6 27.Rh3 $16 
    {+1.87/22} )
    ( {Jouable aussi :} 24.a4 Nd6 25.a5 Rb8 26.axb6 axb6 27.Rb3 $16 {
    +1.59/22} )
24...Nd6 $16 
    {+1.21/22}
    ( {Insuffisant serait} 24...Be8 $2 {étant donné que} 25.Nh5 Ba4 26.
    Rbc1 Nd6 27.g4 $16 {+1.77/21} )
25.Bh5 Qg8 26.Bg6 Be8 27.Nh5 Nxc4 $16 
    {+1.41/25}
    ( {Aventureux serait} 27...Rd7 $2 {parce que} 28.Rf3 Bxg6 29.fxg6 f5 
    30.Bg5 $16 {+1.83/22} )
28.Bc1 $14 
    {+0.48/26}
    ( {Plus précis serait} 28.Nxg7 Nxe3 29.Nxe8 Rdxe8 30.Rf3 Re7 31.Rxe3 
    $16 {+1.33/23} )
    ( {Les noirs menacent} 28.-- Nxe3 $19 {-5.92/24} )
28...Rxd5 $14 
    {+0.48/25}
    ( {Pas acceptable serait} 28...Rd7 $2 {au motif de} 29.Bxe8 Rxe8 30.
    Qxc4 Qxd5 31.Qh4 $16 {+1.57/22} )
29.Nxg7 $14 
    {+0.51/26}
    ( {Insuffisant serait} 29.Bxe8 $2 {à cause de} 29...Rd4 30.Nxf6 Bxf6 
    31.Qh6 Bg7 $17 {-1.15/22} )
29...Rd4 $14 
    {+0.55/26}
    ( {Insuffisant serait} 29...Bxg6 $2 {parce que} 30.fxg6 Qxg7 31.Bh6 
    Qxg6 32.Bxf8 $16 {+2.39/24} )
30.Qh3 $14 
    {+0.25/27}
    ( {Meilleur serait} 30.Qh5 Bxg6 31.fxg6 Qxg7 32.Bh6 Qxg6 33.Qxg6 $14 {
    +0.62/25} )
    ( {Les noirs menacent} 30.-- Rxh4 $19 {-12.22/26} )
30...Bxg6 $2 $16 
    {+2.75/25}
    ( {Supérieur serait} 30...Qxg7 31.Bh6 hxg6 32.Bxg7+ Kxg7 33.fxg6 Bxg6
    $14 {+0.48/21} )
    ( {Les blancs menacent} 30...-- 31.Ne6 Rf7 32.Bxf7 Qxf7 33.Nxd4 exd4 
    34.Bf4 $18 {+6.42/24} )
31.fxg6 Kxg7 $16 
    {+2.99/25}
    ( {Aventureux serait} 31...Qxg7 $4 {en raison de} 32.Bh6 hxg6 33.Bxg7+
    Kxg7 34.Rbd1 $18 {+3.67/21} )
32.Bh6+ Kxg6 33.Rb3 $16 
    {+2.19/26}
    ( {Plus précis serait} 33.Rf5 Kf7 34.Bxf8 Kxf8 35.Rxf6+ Ke7 36.Rc6 
    $18 {+3.04/22} )
    ( {Les noirs menacent} 33.-- Nd2 $17 {-1.50/24} )
33...Kf7 34.Rg3 Qh8 $16 
    {+2.08/25}
    ( {Aventureux serait} 34...Ke7 $4 {étant donné que} 35.Rg7+ Qxg7 36.
    Bxg7 Rf7 37.Bxf6+ $18 {+4.50/24} )
35.Bxf8 Qxf8 36.Qxh7+ Ke6 37.Rg8 Qf7 38.Rg7 Qf8 $16 
    {+2.30/22}
    ( {Incorrect serait} 38...Qe8 $2 {à la vue de} 39.Qf5+ Kd5 40.Qxf6 
    Nd6 41.Re7 $16 {+2.43/21} )
39.Rxa7 Nd6 $16 
    {+2.41/24}
    ( {Aventureux serait} 39...Kd5 $4 {au motif de} 40.Rf7 Qe8 41.R7xf6 
    Nd6 42.Qc7 $18 {+3.49/20} )
40.Qd7+ $16 
    {+1.75/23}
    ( {Meilleur serait} 40.a4 Qd8 41.Qh3+ f5 42.a5 bxa5 43.Ra6 $16 {
    +2.22/20} )
    ( {Une ligne attrayante est} 40.Qc7 Qe8 41.Qxb6 Qb5 42.Qxb5 Nxb5 43.
    Ra5 $16 {+2.15/20} )
40...Kd5 41.h3 $1 Rd2 $2 $16 
    {+2.69/23}
    ( {Plus précis serait} 41...Qe8 42.Qg7 Rf4 43.Rd1+ Ke6 44.Kh2 Rd4 $16
    {+1.89/19} )
    ( {Les blancs menacent} 41...-- 42.Qc7 $18 {+3.58/22} )
42.Rc7 $16 
    {+2.29/24}
    ( {Meilleur serait} 42.Qc7 Qg8 43.Rg1 Qc8 44.Qxb6 Rd3 45.Rh7 $16 {
    +2.71/24} )
42...Qg8 $2 $16 
    {+2.62/25}
    ( {Meilleur serait} 42...Qa8 43.Qg4 Qb8 44.Re7 f5 45.Qg7 Kc6 $16 {
    +2.34/20} )
    ( {Les blancs menacent} 42...-- 43.Rc6 $18 {+6.48/24} )
43.Qc6+ Ke6 44.Qf3 $16 
    {+1.86/22}
    ( {Meilleur serait} 44.Rg1 Qe8 45.Qxb6 Qb5 46.Qxb5 Nxb5 47.Rxc5 $16 {
    +2.32/22} )
    ( {Aussi prometteur est} 44.a4 Qe8 45.Qxb6 Qxa4 46.Rxc5 Rd1 47.Rxd1 
    $16 {+2.20/22} )
44...f5 $2 $16 
    {+1.82/23}
    ( {Meilleur serait} 44...Qg6 45.Qc6 Qe4 46.Qd7+ Kd5 47.Qg7 Kc4 $16 {
    +1.53/20} )
    ( {Les blancs menacent} 44...-- 45.Qxf6+ $18 {+5.62/23} )
45.Rf2 $14 
    {+0.67/24}
    ( {Plus précis serait} 45.Rg1 c4 46.Qe3 Rd3 47.Qxb6 f4 48.Qc6 $16 {
    +1.78/20} )
    ( {Une autre ligne convenable :} 45.Rc6 Ke7 46.Rxb6 e4 47.Re1 Qg5 48.
    a4 $16 {+1.05/20} )
    ( {Les noirs menacent} 45.-- e4 $15 {-0.43/24} )
45...Qg5 46.Rxd2 Qxd2 47.Qb3+ c4 48.Qxb6 Qxa2 $2 $16 
    {+1.71/24}
    ( {Plus précis serait} 48...Qf4 49.Rg7 Qh6 50.Qa7 Kd5 51.Rc7 Qc1+ $16
    {+1.03/20} )
    ( {Les blancs menacent} 48...-- 49.Rxc4 Qe1+ 50.Kh2 f4 51.Rc6 Qg3+ 52.
    Kh1 $16 {+2.87/25} )
49.Kh2 Qd2 $2 $16 
    {+2.07/25}
    ( {Plus précis serait} 49...Qb3 50.Qa7 f4 51.Rg7 Qd3 52.h4 c3 $16 {
    +1.41/22} )
    ( {Les blancs menacent} 49...-- 50.Qb8 $18 {+4.57/27} )
50.Rxc4 e4 $16 
    {+2.08/27}
    ( {Pas acceptable serait} 50...f4 $2 {grâce à} 51.Ra4 Qd3 52.Qf2 Qb5
    53.Ra7 $16 {+2.57/20} )
51.Ra4 Qf4+ $16 
    {+2.01/24}
    ( {Inférieur serait} 51...Qc1 $4 {étant donné que} 52.Qb3+ Kf6 53.
    Ra6 Qc5 54.Qb8 $18 {+3.24/21} )
52.Kh1 Qc1+ 53.Qg1 Qc2 $2 $16 
    {+2.48/25}
    ( {Meilleur serait} 53...Qd2 54.Qa1 e3 55.Ra5 Nc4 56.Ra2 Qb4 $16 {
    +2.04/22} )
    ( {Les blancs menacent mat en 8} 53...-- 54.Qxc1 Kd5 55.Qd2+ Kc5 56.
    Qd4+ Kb5 57.Qb4+ Kc6 58.Ra6+ Kd5 59.Rxd6+ Ke5 60.Qd2 e3 61.Qd4# )
54.Qa1 $16 
    {+1.66/24}
    ( {Plus précis serait} 54.Ra5 Qc3 55.Rc5 Qd2 56.Qa1 Nf7 57.Qa6+ $16 {
    +2.43/21} )
    ( {Sollicite aussi l'attention :} 54.Ra7 f4 55.Qd4 Qd3 56.Qg7 f3 57.
    Qg8+ $16 {+1.69/21} )
    ( {Les noirs menacent} 54.-- Qxa4 $19 {-10.34/24} )
54...Qf2 $2 $16 
    {+2.86/25}
    ( {Plus précis serait} 54...e3 55.Ra3 Qd2 56.Ra5 Nc4 57.Ra2 Qd3 $16 {
    +1.70/21} )
    ( {Les blancs menacent} 54...-- 55.Ra5 Nf7 56.Ra6+ Nd6 57.Qd4 Qc1+ 58.
    Kh2 $18 {+3.42/27} )
55.Ra2 $16 
    {+2.48/23}
    ( {Meilleur serait} 55.Ra5 Nc4 56.Ra6+ Nd6 57.Qc1 Qd4 58.Qc8+ $16 {
    +2.79/24} )
    ( {Mérite aussi l'attention :} 55.Ra7 Nc4 56.Ra6+ Kd5 57.Ra8 Qe3 58.
    Qb1 $16 {+2.79/24} )
55...Qg3 $4 $18 
    {+3.13/24}
    ( {Plus précis serait} 55...Qf4 56.Qg7 e3 57.Kg1 Nc4 58.Qg6+ Kd5 $16 
    {+2.45/22} )
    ( {Les blancs menacent mat en 11} 55...-- 56.Rxf2 e3 57.Ra2 e2 58.
    Rxe2+ Ne4 59.Qd4 Kf7 60.Qe5 Kg6 61.g4 Ng3+ 62.Qxg3 fxg4 63.Qxg4+ Kf6 
    64.Qf4+ Kg6 65.Rg2+ Kh7 66.Qh4# )
56.Ra3 $16 
    {+2.55/26}
    ( {Plus précis serait} 56.Ra5 Qf4 57.Qd4 Kf7 58.Ra7+ Ke6 59.Qg7 $18 {
    +3.09/23} )
    ( {Très bien aussi :} 56.Ra7 Qf4 57.Qg7 Kd5 58.Ra5+ Ke6 59.Qg6+ $18 {
    +3.08/23} )
56...Qf4 57.Qc3 $16 
    {+2.37/24}
    ( {Meilleur serait} 57.Qb1 Kf6 58.Qd1 Ke6 59.Ra6 e3 60.Qd3 $16 {
    +2.75/27} )
    ( {Aussi suffisant :} 57.Qd1 Nc4 58.Ra6+ Nd6 59.Qb3+ Kf6 60.Qc3+ $16 {
    +2.75/27} )
57...Qf1+ $16 
    {+2.56/24}
    ( {Aventureux serait} 57...Qe5 $2 {parce que} 58.Qc1 Qd4 59.Qh6+ Ke7 
    60.Qh7+ $16 {+2.68/21} )
58.Kh2 $7 Qf4+ 59.Qg3 Qd2 $18 
    {+5.54/22}
    ( {Une bonne démarche serait} 59...Qxg3+ 60.Kxg3 Nc4 61.Ra2 Ne3 62.h4
    Nd5 $18 {+3.14/22} )
    ( {Les blancs menacent mat en 9} 59...-- 60.Qxf4 Nc4 61.Ra6+ Kd5 62.
    Qxf5+ Ne5 63.Ra5+ Kd4 64.Rxe5 Kd3 65.Rxe4 Kc3 66.Qf3+ Kc2 67.Re2+ Kd1 
    68.Qf1# )
60.Qg6+ $18 
    {+3.55/23}
    ( {Supérieur serait} 60.h4 Qe2 61.Ra5 Qd2 62.Qe5+ Kd7 63.Ra7+ $18 {
    +5.53/22} )
    ( {À ne pas sous-estimer :} 60.Ra7 Kd5 61.h4 Qd4 62.Qg8+ Kc5 63.Ra5+ 
    $18 {+4.13/22} )
60...Kd5 $18 
    {+3.70/23}
    ( {Incorrect serait} 60...Ke5 $4 {à cause de} 61.Qg3+ Kd5 62.Ra6 Ke6 
    63.Ra7 $18 {+3.66/22} )
61.Ra8 e3 $18 
    {+5.79/28}
    ( {Une bonne démarche serait} 61...Kc5 62.Qg7 Kd5 63.Qg8+ Kd4 64.Ra2 
    Qb4 $18 {+3.32/20} )
    ( {Les blancs menacent} 61...-- 62.Qxd6+ Kxd6 63.Rd8+ Ke5 64.Rxd2 f4 
    65.Rd8 $18 {+122.96/41} )
62.Rd8 Kc5 63.Qg5 $16 
    {+2.45/24}
    ( {Excellent serait} 63.Qh7 Qb4 64.Qa7+ Kc6 65.Qd7+ Kd5 66.Qxf5+ $18 {
    +7.44/24} )
    ( {Aussi jouable :} 63.Qg7 Qb4 64.Qa7+ Kc6 65.Qd7+ Kd5 66.Qxf5+ $18 {
    +7.23/24} )
    ( {Les noirs menacent} 63.-- e2 64.Qg3 e1=Q 65.Qa3+ Kb5 66.Rb8+ Kc6 
    $19 {-49.03/31} )
63...Qd4 $16 
    {+2.49/25}
    ( {Insuffisant serait} 63...Kc6 $4 {grâce à} 64.Qe7 Qd5 65.Qxe3 Qc4 
    66.Qe5 $18 {+5.25/22} )
64.Rd7 $14 
    {+0.29/28}
    ( {Supérieur serait} 64.Qg3 e2 65.Rd7 Kc6 66.Re7 Ne4 67.Qc7+ $16 {
    +2.48/21} )
    ( {Une autre ligne intéressante :} 64.Ra8 Qe4 65.Ra2 Nb5 66.Qg3 e2 
    67.Ra1 $16 {+1.07/21} )
64...Qe5+ $14 
    {+0.34/31}
    ( {Aventureux serait} 64...Kc4 $4 {parce que} 65.Qg3 Kc5 66.Rc7+ Kb5 
    67.Re7 $18 {+3.12/23} )
65.Qg3 f4 $14 
    {+0.39/29}
    ( {Pas acceptable serait} 65...Kd5 $2 {grâce à} 66.Qxe5+ Kxe5 67.
    Re7+ Kf4 68.Kg1 $16 {+2.02/27} )
66.Qf3 $10 
    {-0.00/29}
    ( {Meilleur serait} 66.Rc7+ Kb6 67.Qg7 Qxg7 68.Rxg7 Ne4 69.Re7 $14 {
    +0.39/29} )
    ( {Une bonne alternative est} 66.Qg7 Qxg7 67.Rxg7 Ne4 68.Re7 Kd4 69.
    Kg1 $10 {+0.00/29} )
    ( {Les noirs menacent mat en 2} 66.-- fxg3+ 67.Kh1 Qa1# )
66...Ne4 67.Rd1 $10 
    {-0.00/29}
    ( {Meilleur serait} 67.Rd8 Nc3 68.Qa8 Kc4 69.Kg1 Ne2+ 70.Kh1 $14 {
    +0.25/24} )
    ( {Une autre possibilité est} 67.Ra7 Nc3 68.g3 e2 69.gxf4 Qd4 70.Ra1 
    $10 {+0.00/24} )
67...Nd2 68.Rc1+ Kd4 $10 
    {+0.00/29}
    ( {Insuffisant serait} 68...Nc4 $2 {à cause de} 69.h4 Qf6 70.Qh5+ Kd4
    71.Kg1 $16 {+2.67/22} )
69.Qc6 f3+ $10 
    {+0.00/21}
    ( {Non pas} 69...Kd3 $2 {au motif de} 70.Qa6+ Ke4 71.Qa4+ Kd3 72.Kh1 
    $16 {+1.27/24} )
70.g3 Qd5 71.Qf6+ Kd3 72.Qa6+ $10 
    {-0.00/20}
    ( {Inférieur serait} 72.Qa1 $6 {en raison de} 72...Qd6 73.h4 f2 74.
    Qa5 Nf3+ $15 {-0.70/21} )
72...Kd4 73.Qb6+ Kd3 74.Qa6+ Kd4 75.Qb6+ Kd3 76.Qa6+ Kd4 
    {Gaffes.B : 0, Erreurs.B : 0, Imprécisions.B : 1, Gaffes.N : 1, 
    Erreurs.N : 11, Imprécisions.N : 3}
1/2-1/2
Ferdy
Posts: 4846
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Chess Game Analyzer, 36.11.beta

Post by Ferdy »

Vinvin wrote:
Ferdy wrote:
Vinvin wrote:I understand your choice about languages. The solution could be processing in 2 times :
1) add comments via Non-standard NAGs in PGN ( https://en.wikipedia.org/wiki/Numeric_A ... ndard_NAGs ) : "With the idea", "Better is","Equivalent is", ...
I am avoiding non-standard.
Vinvin wrote: 2) translate these NAG in different languages with an external file with words (in a chosen language).
I have seen couple of python module for language translation, although have not tried it yet, but my concern is the quality of translation.

Perhaps when this tool is mature enough, I will visit the translation again. I also plan on re-writing this tool.
I had one problem with accented characters.
The program stops when there's a player name with "é" or "ü" (and more) in the name.
The programs stops with a message about "uft-8" bad coding :?
Convert it to utf-8 encoding using notepad++.

Open the file using notepad++, menu/encoding/convert to utf-8. Then save the file.
Ferdy
Posts: 4846
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Chess Game Analyzer, 36.11.beta

Post by Ferdy »

Vinvin wrote:Strange thing with this game finished as draw : Score was >5 for 2 moves
What do you mean by that? Which moves?
corres
Posts: 3657
Joined: Wed Nov 18, 2015 11:41 am
Location: hungary

Re: Chess Game Analyzer, 36.11.beta

Post by corres »

After the method supposed by you your program not stopped, BUT a lot of game disappeared from the Output.pgn.
I think you out to copy the header of input.pgn to the output.pgn "in raw",
without any code checking.
Ferdy
Posts: 4846
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Chess Game Analyzer, 36.11.beta

Post by Ferdy »

corres wrote:After the method supposed by you your program not stopped, BUT a lot of game disappeared from the Output.pgn.
I think you out to copy the header of input.pgn to the output.pgn "in raw",
without any code checking.
Can't clearly understand that. What did you do? What options did you use? does the input pgn still problematic?