def __init__(self: object, language: str = 'greek'):
        """
        :param language : language for sentence tokenization
        :type language: str
        """
        super().__init__(language='greek')
        self.models_path = GreekPunktSentenceTokenizer.models_path

        try:
            self.model =  open_pickle(os.path.join(os.path.expanduser(self.models_path), 'greek_punkt.pickle'))
        except FileNotFoundError as err:
            raise type(err)(GreekPunktSentenceTokenizer.missing_models_message)

        self.lang_vars = GreekLanguageVars()
def __init__ ( self : object , language : str = 'greek' ) : super ( ) . __init__ ( language = 'greek' ) self . models_path = GreekPunktSentenceTokenizer . models_path try : self . model = open_pickle ( os . path . join ( os . path . expanduser ( self . models_path ) , 'greek_punkt.pickle' ) ) except FileNotFoundError as err : raise type ( err ) ( GreekPunktSentenceTokenizer . missing_models_message ) self . lang_vars = GreekLanguageVars ( )
:param language : language for sentence tokenization
        :type language: str