Sentence:  The opportunity exists for states to reserve some of their vocational education funds to apply on an <WSD>ad</WSD> hoc flexible basis to subsidize any local preemployment training programs that my be quickly set up in a community to aid a new industrial plant . 
Meaning of the word marked with <WSD> tags:  for one specific case