def METHOD_NAME(self):
    self.temporary_directory = TemporaryDirectory()
    service: TokenizerService = get_tokenizer_service(self.temporary_directory.name)
    self.window_service = WindowServiceFactory.get_window_service("writer/palmyra-large", service)