ó
ù`]c           @   s   d  „  Z  d „  Z d S(   c         C   s   |  t  | ƒ  | S(   sH   
    Replaces the old suffix of the original string by a new suffix
    (   t   len(   t   originalt   oldt   new(    (    s-   lib/python2.7/site-packages/nltk/stem/util.pyt   suffix_replace	   s    c         C   s   | |  t  | ƒ S(   s§   
     Replaces the old prefix of the original string by a new suffix
    :param original: string
    :param old: string
    :param new: string
    :return: string
    (   R    (   R   R   R   (    (    s-   lib/python2.7/site-packages/nltk/stem/util.pyt   prefix_replace   s    N(   R   R   (    (    (    s-   lib/python2.7/site-packages/nltk/stem/util.pyt   <module>	   s   	