Closed utkrist closed 7 years ago
Transistion from one I-label to the same I-label, for consecutive time steps, should be allowed.
For example, the following tag sequence is a valid one.
s1, s2, s3 = B-A0, I-A0, I-A0
The existing function produces the following transition matrix:
A = [[ 0. 0. 0.] [ 0. 0. -inf] [ 0. -inf 0.]]
The entry A_12 should be 0 because the transition
s1 = I-A0 to s2 = I-A0
is a valid one. By symmetry entry A_21 should also be 0
The correct transistion matrix should be the following
A = [[ 0. 0. 0.] [ 0. 0. 0.] [ 0. 0. 0.]]
Please let me know if I am mistaken.
Never mind, your implementation is correct. I confused it with something else.
Transistion from one I-label to the same I-label, for consecutive time steps, should be allowed.
For example, the following tag sequence is a valid one.
The existing function produces the following transition matrix:
The entry A_12 should be 0 because the transition
is a valid one. By symmetry entry A_21 should also be 0
The correct transistion matrix should be the following
Please let me know if I am mistaken.