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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
92
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
GoにおけるFFIのこれまでとこれから
goccy
5
3.5k
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
320
[2026-09-11]SREは誰のもの?運用エンジニアが始める 「SRE領域への越境」とチームの進化の軌跡 〜Road to NEXT CRE
tosite
0
260
安心して変更できるWebフロントエンドの作り方
pirosikick
4
2.5k
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
22
14k
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
200
Spring BootからQuarkusへの移行
tatsuya1bm
2
120
ユーザー価値を届け続けるためにウォンテッドリーが大切にしている文化
kotaminato
0
160
DEFCON34-Write-up_HYCu-MYCu
daikiokazaki
0
160
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
210
空間オーディオで過去の 自分(ゴースト)と競うランニング 〜HealthKitのルートを足音に変える実装〜
nao_randd
0
220
2026/09/10 Spring Bootから Jakarta EE/MicroProfileへの移行
megascus
0
370
Featured
See All Featured
Navigating Team Friction
lara
192
16k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
320
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Building Adaptive Systems
keathley
44
3.2k
Become a Pro
speakerdeck
PRO
31
6.3k
Being A Developer After 40
akosma
91
590k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
300
Embracing the Ebb and Flow
colly
88
5.2k
Test your architecture with Archunit
thirion
2
2.4k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
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 では適当に交渉してみるのも大事かも