Fixed bug in conf file generation code (wrong thesaurus file name for Observed thesaurus when only using AN or NN)