Current File : //lib/python3/dist-packages/sos/cleaner/mappings/__pycache__/keyword_map.cpython-312.pyc
�

-�_g|��&�ddlmZGd�de�Zy)�)�SoSMapc��eZdZdZdZdZd�Zy)�
SoSKeywordMapa'Mapping store for user provided keywords

    By default, this map will perform no matching or obfuscation. It relies
    entirely on the use of the --keywords option by the user.

    Any keywords provided are then obfuscated into 'obfuscatedwordX', where X
    is an incrementing integer.
    Trc���||jvr|j|Sd|j��}|xjdz
c_||jj�vr|j|�S|S)N�obfuscatedword�)�dataset�
word_count�values�
sanitize_item)�self�item�_ob_items   �B/usr/lib/python3/dist-packages/sos/cleaner/mappings/keyword_map.pyrzSoSKeywordMap.sanitize_itemsg���4�<�<���<�<��%�%�#�D�O�O�#4�5�����1����t�|�|�*�*�,�,��%�%�d�+�+���N)�__name__�
__module__�__qualname__�__doc__�match_full_words_onlyr
r�rrrrs���!���J�rrN)�sos.cleaner.mappingsrrrrr�<module>rs��(��F�r