Module szyfrow.support

Support utilities for ciphers.

Language models are for understanding what English looks like, for help with cipher breaking.

Text prettify is various procedures for pretty-printing text, such as segmenting text into words.

Utilities are general utility functions.

Expand source code
"""Support utilities for ciphers. 

Language models are for understanding what English looks like, for help with 
cipher breaking.

Text prettify is various procedures for pretty-printing text, such as
segmenting text into words.

Utilities are general utility functions.
"""

Sub-modules

szyfrow.support.language_models

Descriptive models of a natural language (in this case, English) …

szyfrow.support.norms

Various norms, for calcuating the distances between two frequency profiles.

szyfrow.support.segment

Setments a string of characters into words, following a language model …

szyfrow.support.text_prettify

Various functions for prettifying text, useful when cipher routines generate strings of letters without spaces.

szyfrow.support.utilities

A mish-mash of utility functions