$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ミススペルを発見するmisspellのご紹介 / Introduce misspell
Search
papix
January 19, 2021
Technology
0
1.2k
ミススペルを発見するmisspellのご紹介 / Introduce misspell
papix
January 19, 2021
Tweet
Share
More Decks by papix
See All by papix
Houtou.pm #1
papix
0
1.8k
Perl歴約10年のエンジニアがフルスタックTypeScriptに出会ってみた
papix
1
680
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.6k
イベントの中の人 / Inside the Events
papix
0
320
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
580
ワーケーションに関する考察
papix
3
2.2k
(今更)Amplifyさっくり体験
papix
0
880
はてなにおけるGitHub Actions活用事例 / GitHub Actions in Hatena
papix
0
2.6k
「知らなかった」を聞きに行く 〜海外カンファレンス参加のススメ〜 / builderscon 2019
papix
0
360
Other Decks in Technology
See All in Technology
AWS re:Invent 2025~初参加の成果と学び~
kubomasataka
0
190
通勤手当申請チェックエージェント開発のリアル
whisaiyo
3
460
MySQLのSpatial(GIS)機能をもっと充実させたい ~ MyNA望年会2025LT
sakaik
0
120
2025-12-18_AI駆動開発推進プロジェクト運営について / AIDD-Promotion project management
yayoi_dd
0
160
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
1.7k
SQLだけでマイグレーションしたい!
makki_d
0
1.2k
事業の財務責任に向き合うリクルートデータプラットフォームのFinOps
recruitengineers
PRO
2
210
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.3k
Connection-based OAuthから学ぶOAuth for AI Agents
flatt_security
0
360
Microsoft Agent Frameworkの可観測性
tomokusaba
1
110
日本Rubyの会: これまでとこれから
snoozer05
PRO
6
240
フィッシュボウルのやり方 / How to do a fishbowl
pauli
2
380
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
260
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
The SEO identity crisis: Don't let AI make you average
varn
0
39
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
38
Designing for Performance
lara
610
69k
Become a Pro
speakerdeck
PRO
31
5.7k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
0
950
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Music & Morning Musume
bryan
46
7k
Building an army of robots
kneath
306
46k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.1k
Transcript
ϛεεϖϧΛൃݟ͢Δ misspellͷ͝հ 2021/1/19 ٢ࣉ.pm #25 - papix
ࣗݾհ • papix (id:papix / @__papix__) • גࣜձࣾͯͳ WebΞϓϦέʔγϣϯΤϯδχΞ (2017ʙ)
• ϒϩάMediaνʔϜ → ϚϯΨνʔϜ • Ұൠࣾஂ๏ਓJapan Perl Associationཧࣄ • ϒϩά: https://papix.hatena(blog.(com|jp)|diary.jp)
ࠓmisspellͷΛ͠·͢
client9/misspell • https://github.com/client9/misspell • Goͷπʔϧ • ӳޠͷϛεεϖϧΛൃݟͯ͘͠ΕΔ܅
͜Μͳ͜ͱ͋Γ·ͤΜ͔?
͜Μͳ͜ͱ͋Γ·ͤΜ͔? • ม໊Λtypo͍ͯͨ͠...! • ެ։͢ΔAPIυΩϡϝϯτʹtypo͕͋ͬͨ...! • σʔλϕʔεͷschemaʹtypo͕͋ͬͨ...!
ͦΜͳ͋ͳͨʹmisspell!
misspellͰൃݟ͢Δ $ go get -u github.com/client9/misspell/cmd/misspel l $ cat sample.tx
t - TOOD: typo͕ͳ͍͔֬ೝ͢Δ $ misspell . sample.txt:1:2: "TOOD" is a misspelling of "TODO " $ vim sample.txt # मਖ਼͢Δ.. . $ cat sample.tx t - TODO: typo͕ͳ͍͔֬ೝ͢Δ $ misspell . # ϛεεϖϧ͕ͳ͍ͷͰԿग़ྗͳ͍
ߋʹ...
reviewdog/action-misspell
ศར!!!
༨ஊ: ࣮ࡍʹݟ͔ͭͬͨϛεεϖϧୡ • ࢹͩͱؾ͖ͮʹ͍͘, ͜ΜͳϛεεϖϧΛൃݟ͠·ͨ͠ • cannnot → cannot •
recomended → recommended • occured → occurred • minumum → minimum • comparision → comparison
༨ஊ: occured? occurred? • weblioӳࣙయΛݟΔͱ... • occured = occurͷաڈܗ, աڈࢺܗͱ͋Δ
• https://ejje.weblio.jp/content/occured
༗ࣝऀͷݟղ
·ͱΊ • typoͳͲʹΑΔϛεεϖϧΛൃݟ͢ΔmisspellΛհ͠·ͨ͠ • reviewdogͱ࿈ܞ͢Δͱ, Pull Requestʹࣗಈతʹࢦఠͯ͘͠Ε·͢ • ϛεεϖϧ୭Ͱͬͯ͠·͏ͷ... •
͔͠͠, ͦͷ··͍ͬͯΔͱࠞཚͷݩʹͳΓ͕ͪ • ͏·͘πʔϧΛͬͯൃݟ, मਖ਼͍͖ͯ͠·͠ΐ͏!