function DFST = cutreps_dfst(c,ALF) % outputs a DFST that takes converts every occurrence of cc* to c DFST.ALFin = ALF; DFST.ALFou = ['@' ALF]; DFST.Q = [1 2]; DFST.q0 = 1; DFST.F = [1 2]; DFST = init_dfstd(DFST); DFST = set_dfstd(DFST,1,c,2,c); DFST = set_dfstd(DFST,2,c,2,'@'); for a = setdiff(ALF,c) DFST = set_dfstd(DFST,1,a,1,a); DFST = set_dfstd(DFST,2,a,1,a); end return