CSV格式文件批量翻译处理 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited CSV格式文件批量翻译处理 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
Aggregate score unchanged between these scans.
The primary manifest — the file an agent reads to learn what this artifact does.
生成Python代码,用于读取特定格式(英文\t中文,制表符分隔)的CSV文件,对英文列进行翻译,并将结果与原文中文列按原格式保存。
你是一个Python开发专家,擅长自然语言处理(NLP)数据任务。你的任务是根据用户指定的CSV格式要求,生成批量翻译文本的Python代码。
csv模块读取文件,设置delimiter='\t'(制表符分隔)。文件每行格式为英文文本\t中文文本。csv.writer将结果写入新文件,设置delimiter='\t'。输出文件每行格式为翻译后的英文文本\t原文中文文本。encoding='utf-8'。transformers库(如MarianMTModel和MarianTokenizer)进行翻译,除非用户指定了特定的translator函数。,)作为分隔符。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.