File size: 326 Bytes
45c1511
 
 
 
 
 
 
1
2
3
4
5
6
7
8
# Exception thrown when there is a mismatch between a token and span
# The token and spans don't line up due to a tokenization issue
# E.g - 79M - span is AGE - 79, but token is 79M
# There is a mismatch and an error will be thrown - that is the token does
# not line up with the span
class MismatchError(Exception):
    pass