
    -_g|                     &    d dl mZ  G d de      Zy)    )SoSMapc                       e Zd ZdZdZdZd Zy)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.
    Tr   c                     || j                   v r| j                   |   S d| j                   }| xj                  dz  c_        || j                   j                         v r| 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   zSoSKeywordMap.sanitize_item   sg    4<<<<%%#DOO#451t||**,,%%d++    N)__name__
__module____qualname____doc__match_full_words_onlyr
   r    r   r   r   r      s     !Jr   r   N)sos.cleaner.mappingsr   r   r   r   r   <module>r      s    (F r   