o
    ò³õf  ã                   @   sN   d dl mZ d dlZd dlZd dlZejd  dkZereZG dd„ deƒZ	dS )é    )Úunicode_literalsNé   c                   @   sD   e Zd ZdZe d¡Zedd„ ƒZe	e
jƒZe	e
jƒZe	e
jƒZdS )ÚStringProcessorz¦
    This class defines method to process strings in the most
    efficient way. Ideally all the methods below use unicode strings
    for both input and output.
    z(?ui)\Wc                 C   s   | j  d|¡S )zw
        This function replaces any sequence of non letters and non
        numbers with a single white space.
        ú )ÚregexÚsub)ÚclsÚa_string© r
   úU/home/ubuntu/webapp/venv/lib/python3.10/site-packages/fuzzywuzzy/string_processing.pyÚ/replace_non_letters_non_numbers_with_whitespace   s   z?StringProcessor.replace_non_letters_non_numbers_with_whitespaceN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚreÚcompiler   Úclassmethodr   ÚstaticmethodÚstringÚstripÚlowerÚto_lower_caseÚupperÚto_upper_caser
   r
   r
   r   r      s    



r   )
Ú
__future__r   r   r   ÚsysÚversion_infoÚPY3ÚstrÚobjectr   r
   r
   r
   r   Ú<module>   s    