replace deprecated methods with new ones #2176
Last updates for natural language generation (added comments, new options, cleaned the code, etc)