Generation of synthetic documents for performance evaluation of symbol recognition & spotting systems