3
­d„  ã               @   s   d d„ Z dd„ ZdS )c             C   s   | dt |ƒ … | S )zH
    Replaces the old suffix of the original string by a new suffix
    N)Úlen)ÚoriginalÚoldÚnew© r   ú./tmp/pip-build-v9q4h5k9/nltk/nltk/stem/util.pyÚsuffix_replace	   s    r   c             C   s   || t |ƒd…  S )z§
    Replaces the old prefix of the original string by a new suffix

    :param original: string
    :param old: string
    :param new: string
    :return: string
    N)r   )r   r   r   r   r   r   Úprefix_replace   s    	r   N)r   r   r   r   r   r   Ú<module>	   s   