transition dictionary replaced by transition matrix
transformed lexical dictionary into numpy array
changes in lexicon datastructure also implemented in Forward Backward
tests for generation transition probabilities and computation tag probability
expected counts now also matrix
update_lexical_dict adapted to matrix expected counts
product and sum functions assume matrix forward backward probabilities
products transformed to matrix multiplication
All products and sums in matrix notation
Forward probability computed with matrix multiplications
Extra rows in emission matrix to facilitiate computation by matrix multiplication
small error in Decimal precision
clean up unnecessary functions
test adapted to new functionality
Extra rows in emission matrix to facilitiate computation by matrix multiplication
change of indexing forward matrix for efficiencyw
backward probabilities all computed in one function without dictionary
One less loop in backward computation
backward probabilities as matrix multiplications
expected counts computed with matrix operations