<commit_before>marisa-trie |travis| |appveyor|
===========

.. |travis| image:: https://travis-ci.org/pytries/marisa-trie.png
   :target: https://travis-ci.org/pytries/marisa-trie

.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/p887ad4jbdg6u7yo?svg=true
   :target: https://ci.appveyor.com/project/superbobry/marisa-trie-75wx1

Static memory-efficient Trie-like structures for Python (2.x and 3.x).

String data in a MARISA-trie may take up to 50x-100x less memory than
in a standard Python dict; the raw lookup speed is comparable; trie also
provides fast advanced methods like prefix search.

Based on `marisa-trie`_ C++ library.

.. note::<commit_msg>Use SVG for Travis badge<commit_after>marisa-trie |travis| |appveyor|
===========

.. |travis| image:: https://travis-ci.org/pytries/marisa-trie.svg
   :target: https://travis-ci.org/pytries/marisa-trie

.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/p887ad4jbdg6u7yo?svg=true
   :target: https://ci.appveyor.com/project/superbobry/marisa-trie-75wx1

Static memory-efficient Trie-like structures for Python (2.x and 3.x).

String data in a MARISA-trie may take up to 50x-100x less memory than
in a standard Python dict; the raw lookup speed is comparable; trie also
provides fast advanced methods like prefix search.

Based on `marisa-trie`_ C++ library.

.. note::
{'fraction_non_alphanumeric': 0.1400147383935151, 'fraction_numerical': 0.023581429624170966, 'mean_word_length': 4.325490196078431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '3648399', 'n_tokens_mistral': 511, 'n_tokens_neox': 493, 'n_words': 125}