Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
TensorFlow Docs Translation Proofreading
Search
Shuhei Fujiwara
May 28, 2020
Technology
950
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TensorFlow Docs Translation Proofreading
Shuhei Fujiwara
May 28, 2020
More Decks by Shuhei Fujiwara
See All by Shuhei Fujiwara
数理最適化を知ろう
shuheif
2
1.5k
Model Building in Mathematical Programming #2
shuheif
0
93
Nesterov #2
shuheif
0
96
Model Building in Mathematical Programming #1
shuheif
0
150
Nesterov
shuheif
2
220
tbf07-seat-optim.pdf
shuheif
1
10k
AdaNet
shuheif
1
430
Google Cloud Next Extended 2019 ML Day
shuheif
4
1.2k
TensorFlow Docs Translation JA
shuheif
1
1k
Other Decks in Technology
See All in Technology
Genieを崇めよ
kameitomohiro
0
170
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
9
1k
Oracle Cloud Network Path Analyzerを試してみた/I Tried Out Oracle Cloud Network Path Analyzer
masakiokuda
1
110
え、こんなに早く改修できるの?──新人エンジニアとスクラムマスターの2人が語る、AI×アジャイル開発の現場
ysasago
2
580
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
3
2.4k
品質と信頼性を地続きにする
grimoh
2
840
AIエージェントの自己改善をどう設計するか / How to Design Self-Improvement for AI Agents
22mi
25
16k
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.8k
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.4k
C#コードの結合を可視化する Roslyn解析による設計改善と リファクタリング判断
dora56
0
250
Railsのように考える: See through the Master
snoozer05
PRO
4
1.2k
時うどん〜Socket.getifaddrsで学ぶネットワーク編 / Tokiudon: The Socket.getifaddrs Edition
coe401_
3
200
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
530
We Have a Design System, Now What?
morganepeng
55
8.3k
RailsConf 2023
tenderlove
30
1.6k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
700
So, you think you're a good person
axbom
PRO
2
2.2k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
300
The Mindset for Success: Future Career Progression
greggifford
PRO
0
500
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Ruling the World: When Life Gets Gamed
codingconduct
0
340
Transcript
TensorFlow 日本語ドキュメント 自動校正ツールの変遷 @shuhei_fujiwara
自己紹介 藤原 秀平 (Shuhei Fujiwara) • TensorFlow User Group Tokyo
organizer • Google Developers Experts (ML) • TensorFlow 日本語ドキュメント reviewer ◦ 最近サボってますが…
今日の話 • 日本コミュニティの TensorFlow ドキュメント翻訳活動 • 最近のドキュメント翻訳の工夫 ◦ GitHub Actions
を使った自動校正
TensorFlow のドキュメントはオープンソース 有志のコントリビューターによって翻訳されている Repository はココ: https://github.com/tensorflow/docs-l10n
詳しい話はこちら https://speakerdeck.com/asei/tensorflow-falsedokiyumento fan-yi-woxing-ukomiyuniteihuo-dong-nituite
複数人で翻訳をしていると発生しがちな問題 用語の表記ゆれなど、文章のスタイルを揃えたい • パラメーター or パラメータ? • 「、」or「,」? • 半角
or 全角 • etc… レビューするのがしんどい...
RedPen https://redpen.cc/ • redpen-conf.xml に記載したルールに従って校正結果を出力してくれる ◦ 表記の統一、一文の長さの上限、etc… • 皆で共通の設定で redpen
の校正を通過すれば良さそう $ redpen --conf redpen-conf.xml HOGE.md
日本語翻訳の校正ツール誕生 だいたい @chie8842 さんが全部やってくれた https://github.com/tfug/proofreading • RedPen の設定ファイルをここで管理 • 対象のドキュメントに対して
RedPen を適用する シェルスクリプト • Jupyter Notebook ==> Markdown の変換
解決したこと • Reviewer の表記揺れを探す単純作業が減った • 「ツールがこう言っている」という指摘ができるので 角が立ちにくい(たぶん) ◦ 個人的に重要だと思っているポイント ◦
人に指摘されるより機械に指摘される方が精神的に楽だよね?
まだ解決していなかったこと 校正ツールを人間が実行しなければならない • Reviewer が皆の翻訳に対して都度実行して結果を 見せながら GitHub 上でレビューする ◦ かなり面倒くさい
• 翻訳者が PR を作る前に自分でチェックする ◦ 理想的だけど浸透させるのが難しい CI 上で実行されれば解決だよなぁ!?
CI 上で実行するまでの壁 • ドキュメントは tensorflow/docs 以下で管理されていた ◦ Google のリポジトリの構成は簡単にはいじらせてもらえない ◦
過去に一度ここに校正ツールを置こうとして失敗している • コミュニティによる翻訳が活性化して tensorflow/docs-l10 への引っ越しが 行われた ◦ 何かリポジトリオーナーが GitHub Actions 活用しようとした形跡を 発見した ◦ 今ならドサクサにまぎれていけるのでは…?
issue を立てて様子を見る https://github.com/tensorflow/docs-l10n/issues/144 • 日本語ドキュメントのディレクトリ内の diff にしか反応しないことを主張 ◦ GitHub Actions
の機能でできる(すごい便利!) • どんなファイルをどこに置こうとしてるか、何がどう便利か説明 • 好感触っぽかったので PR を作成
PR を作って説得しにいく https://github.com/tensorflow/docs-l10n/pull/185 Fork した自分のリポジトリ上で動いているスクリーンショットを見せて マージしてもらえるよう説明
PR 上での表示 • ディレクトリごとに校正を pass したか見える • 通らなかった場合翻訳者が 自分ですぐに気付ける!
GitHub Actions のログ • 校正ツールの実行結果が ログに出る • Reviewer が実行して結果を 共有する手間が省ける!
まとめ • 翻訳作業も自動化できるものは自動化できるといいよね • OSS では適当に交渉してみるのも大事かも