Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Translator for chess games

Author: Jeremiah Penery

Date: 19:31:09 03/05/99

Go up one level in this thread


On March 05, 1999 at 21:13:52, Dann Corbit wrote:

>On March 05, 1999 at 20:44:09, Matt wrote:
>
>>On March 05, 1999 at 19:27:49, William H Rogers wrote:
>>
>>>Where can I find a program that will translate the chess notation from
>>>1.e4.- e5 to 1. e2e4 e7e5
>>>I have been compiling a chess data base and I make to many mistakes trying to
>>>get the correct moves in it.
>>>Is there such a program?
>>>Thanks in advance.
>>>Bill
>>
>>I unfortunately have not found such a program, but I too am looking for one for
>>a different reason.  My chess engine only accepts moves in long algabraic
>>notation, for example e2e4.  I am trying to make an opening book, and I'd rather
>>modify the pgn games than trying to make it recognize the shortened form.
>The extract program comes with source code and recognizes PGN and long algebraic
>notation.  You could probably modify his code to translate for you.
>
>I also would like a translator, but one that takes a starting EPD position and
>then converts the pv from long algebraic to PGN notation.

Crafty can do this using the epdpfdr command. Here's what the help says:
------------------------------------------------------------
epdpfdr:  Process file: data repair

This command takes two parameters.  The first is the name of
an input EPD data file.  The second is the name of the EPD
output file to be produced from repairing the input.  The
repair process attempts to map all chess move data present
in the input into Standard Algebraic Notation.  This repair
effort affects the am, bm, pm, pv, sm, and sv operations.
------------------------------------------------------------

Jeremiah



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.