We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bad910e commit 930c4d4Copy full SHA for 930c4d4
compression/ppm.py
@@ -44,7 +44,7 @@ def compress(self, data: str) -> list[float]:
44
self.update_model(context, symbol)
45
# Encode the symbol based on the current context
46
compressed_output.append(self.encode_symbol(context, symbol))
47
- # Update the context by appending the symbol,
+ # Update the context by appending the symbol,
48
# keeping it within the specified order
49
context = (context + symbol)[-self.order :] # Keep the context within order
50
0 commit comments