transformed lexical dictionary into numpy array
changes in lexicon datastructure also implemented in Forward Backward