Correct some typos

This commit is contained in:
marc tobias
2024-02-26 18:13:30 +01:00
parent 918fec73c6
commit 7205491b84
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,