We first retrieved all NEs including embedded NEs and longest NEs from GENIA 3.02 corpus and change  the outputs of all other classes except the target 5 classes to O.
the input of FST is a sequence of words in a sentence and the output is categories corresponding to the words.