本文整理汇总了Python中tokenizer.Tokenizer.execute方法的典型用法代码示例。如果您正苦于以下问题:Python Tokenizer.execute方法的具体用法?Python Tokenizer.execute怎么用?Python Tokenizer.execute使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类tokenizer.Tokenizer
的用法示例。
在下文中一共展示了Tokenizer.execute方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: execute
# 需要导入模块: from tokenizer import Tokenizer [as 别名]
# 或者: from tokenizer.Tokenizer import execute [as 别名]
def execute(self):
if len(self.proj_paths) > 0:
logging.info('Starting tokenizer. Producibles (logs, output, etc) can be found under the name '+self.target_folders)
tokenizer = Tokenizer(self.proj_paths, self.DB_user, self.DB_pass, self.DB_name, logging, self.logs_folder, self.output_folder, self.N_PROCESSES, self.BATCH_SIZE, self.PROJECTS_CONFIGURATION)
tokenizer.execute()
else:
logging.warning('The list of new projects is empty (or these are already on the DB).')