Merge pull request #3342 from mtmail/tyops

Correct some typos
This commit is contained in:
Sarah Hoffmann
2024-02-28 14:25:16 +01:00
committed by GitHub
45 changed files with 80 additions and 80 deletions

View File

@@ -94,7 +94,7 @@ class RankedTokens:
def with_token(self, t: Token, transition_penalty: float) -> 'RankedTokens':
""" Create a new RankedTokens list with the given token appended.
The tokens penalty as well as the given transision penalty
The tokens penalty as well as the given transition penalty
are added to the overall penalty.
"""
return RankedTokens(self.penalty + t.penalty + transition_penalty,