Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GoでMecab
Search
Senoue
March 22, 2021
Programming
400
0
Share
GoでMecab
GoでMecabを使ったサービスをやってます
Senoue
March 22, 2021
More Decks by Senoue
See All by Senoue
Go(5)分で! ECC暗号を動かして理解する BuriKaigi 2026
senoue
2
71
Goカードゲームを 作ってみた!
senoue
0
240
App_RunnerとRDSを活用したスケーラブルなWebAPI構築とインフラの自動化.pdf
senoue
1
150
チャンネルを完全に理解する
senoue
0
92
Real-time Communication in Go with Melody and WebSockets
senoue
0
180
Adobeの生成AIのこと を調べてみた
senoue
0
230
ソフトウェア開発におけるAI :CopilotとGenie
senoue
0
230
Sendai.go x GDG Cloud 仙台 ハンズオン
senoue
0
83
GKEとGoでエフェメラルなサービス
senoue
0
410
Other Decks in Programming
See All in Programming
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
[BalkanRuby 2026] Drop your app/services!
palkan
3
510
関係性から理解する"同一性"の型用語たち
pvcresin
1
190
Cloudflare で始める Data Platform
ta93abe
0
180
Sans tests, vos agents ne sont pas fiables
nabondance
0
130
なぜあなたのコードには「コシ」がないのか?〜AI時代に問う、最後まで美味しい設計と戦略〜 #phpconkagawa / phpconkagawa2026
shogogg
0
210
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
720
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
400
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
380
AI時代になぜ書くのか
mutsumix
0
420
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
160
Back to the roots of date
jinroq
0
870
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
Typedesign – Prime Four
hannesfritz
42
3k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
230
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
360
We Have a Design System, Now What?
morganepeng
55
8.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Accessibility Awareness
sabderemane
1
120
HDC tutorial
michielstock
2
660
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Transcript
朝からめかぶを食べる と健康に 株式会社ビデオマーケット 瀬上祐匡 2021/3/21
瀬上 祐匡(せのうえ ひろまさ) 株式会社ビデオマーケット サーバサイドエンジニア • GCP, Go, Python等,BI,データ分析 •
@senoue,@hiromasa.senoue • ハリネズミ飼ってます • モノノフです。 • 好きなものは、Cloud Function • Sendai.go やってます 自己紹介 株式会社ビデオマーケット TVOD(都度課金)を軸とした動画配信サービス 映画、アニメ、ドラマなど多彩なジャンルで配信本数は 国内最大の 26 万本+ 自社が開発した独自エンコード方式で高品質な動画を提供
GoでMecab
- Mecabとは - 形態素解析エンジンです - 形態素解析とは - 自然語を言語単位に分割 - 現代語なども辞書で対応
- Goで形態素解析をしたかった - Goのライブラリは古かった - 基本的には自実装 - 配列からの文字比較をする
実際のところ
分かち書きの方法
分かち結果 ※配列としての形態素解析
問題点:Goで、正規表現は遅い対応
どのくらい違うか マイクロ秒で20倍以上の差が出てくる。 ちりつもを大切に
Thank You