markussteindl
markussteindl
find_near_matches() uses substitution for distance calculation even if max_substitutions=0 is set.
Reproduction: ``` find_near_matches('Hello world', 'Hello babab', max_substitutions=0, max_l_dist=5) # [Match(start=0, end=11, dist=5, matched='Hello babab')] ``` Is this intended behavior? Without substitution, the distance should be 10 and not 5. Thus...
`find_near_matches('xyz', 'wz', max_l_dist=2)` works correctly and yields `Match(start=1, end=2, dist=2, matched='z')`. `find_near_matches('xyz', 'wz', max_substitutions=0, max_l_dist=2)` does not work correctly since it yields ``` [{Match} Match(start=0, end=1, dist=2, matched='w'), {Match} Match(start=1,...
commit: c7392f2bab3165244d1c565b66409fa11fa82367 line: automl/lion/lion_pytorch.py:81 When calling `Lion.step()`, I get this error message: > TypeError: add_() received an invalid combination of arguments - got unrecognized keyword arguments: inplace I think `p.add_()`...