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