Skip to content

added freq02.py: 20 mb buffer, translation table#22

Open
vdmk wants to merge 1 commit intoshodanium:masterfrom
vdmk:python-translate-buffer
Open

added freq02.py: 20 mb buffer, translation table#22
vdmk wants to merge 1 commit intoshodanium:masterfrom
vdmk:python-translate-buffer

Conversation

@vdmk
Copy link

@vdmk vdmk commented May 20, 2020

More complex version with translation table. Iterates by 20mb chunks, replaces all non-alphabetical symbols with space and filters spaces.

Counts using collections.Counter.

On each iteration stores tail of the current chunk to use it in the next chunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant