Using TM as classifier?

hi,

Is it possible to use TM as classifier.
I was thinking of training with 4 step sequences i.e.

start-symbol => data => label => end-symbol

and then prediction goes :

start-symbol => data => PREDICTED

will this work.

I’m not sure that will work, but I know this can work: