extract recognizers in method