diff --git a/spacy/lang/th/norm_exceptions.py b/spacy/lang/th/norm_exceptions.py index 497779cf9..ed1b3e760 100644 --- a/spacy/lang/th/norm_exceptions.py +++ b/spacy/lang/th/norm_exceptions.py @@ -111,4 +111,3 @@ NORM_EXCEPTIONS = {} for string, norm in _exc.items(): NORM_EXCEPTIONS[string] = norm NORM_EXCEPTIONS[string.title()] = norm - diff --git a/spacy/util.py b/spacy/util.py index 1cea8b6ca..59498ca77 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -510,7 +510,7 @@ def decaying(start, stop, decay): curr = float(start) while True: yield max(curr, stop) - curr -= (decay) + curr -= decay def minibatch_by_words(items, size, tuples=True, count_words=len):