batch process for word selection