Automatic knowledge base building for the organic synthesis design program (SECS)