<commit_before>pphrase
=======

This script generates a 4-random-word passphrase (à la xkcd) using the 10,000 most common English words as determined by n-gram frequency analysis of Google's Trillion Word Corpus (courtesy_ of `<NAME>`_)

.. _courtesy: https://github.com/first20hours/google-10000-english

.. _`<NAME>`: http://first20hours.com/

Important!
----------

This has **no expectation or intention** of being cryptographically secure, or a good idea to actually use in generating passphrases.

Usage
-----

It's easy::

    $ python pphrase.py
    correct horse battery staple

To do
-----

* Take command line arguments for passphrase length, or to use a custom word list.<commit_msg>elaborate README<commit_after>pphrase
=======

This script generates a 4-random-word passphrase (à la xkcd) using the 10,000
most common English words as determined by n-gram frequency analysis of
Google's Trillion Word Corpus (courtesy_ of `<NAME>`_).

This was a morning-coffee project; just getting used to git submodules and the
github interface

.. _courtesy: https://github.com/first20hours/google-10000-english

.. _`<NAME>`: http://first20hours.com/

Important!
----------

This has **no expectation or intention** of being cryptographically secure, or
a good idea to actually use in generating passphrases.

Usage
-----

It's easy::

    $ python pphrase.py
    correct horse battery staple

To do
-----

* Take command line arguments for passphrase length, or to use a custom word list.
{'fraction_non_alphanumeric': 0.11066398390342053, 'fraction_numerical': 0.02012072434607646, 'mean_word_length': 3.751592356687898, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6660674', 'n_tokens_mistral': 472, 'n_tokens_neox': 422, 'n_words': 177}