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
GoでMecab
Search
Senoue
March 22, 2021
Programming
420
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GoでMecab
GoでMecabを使ったサービスをやってます
Senoue
March 22, 2021
More Decks by Senoue
See All by Senoue
Go(5)分で! ECC暗号を動かして理解する BuriKaigi 2026
senoue
2
120
Goカードゲームを 作ってみた!
senoue
0
340
App_RunnerとRDSを活用したスケーラブルなWebAPI構築とインフラの自動化.pdf
senoue
1
170
チャンネルを完全に理解する
senoue
0
120
Real-time Communication in Go with Melody and WebSockets
senoue
0
220
Adobeの生成AIのこと を調べてみた
senoue
0
260
ソフトウェア開発におけるAI :CopilotとGenie
senoue
0
250
Sendai.go x GDG Cloud 仙台 ハンズオン
senoue
0
97
GKEとGoでエフェメラルなサービス
senoue
0
430
Other Decks in Programming
See All in Programming
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.2k
Next.js: The final boss of Web Performance
guaca
0
370
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
1.8k
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
350
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
130
Kotlinの15年とServer-Side Kotlin
n_takehata
1
190
Spec-driven Development with AI
simas
PRO
0
2.2k
ActionController meets Protocol Buffers
sorah
1
770
golang-bob.pdf
iwatsukayura
0
150
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
320
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
220
ChromeでローカルLLM
ryu1013
0
180
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
2
750
Navigating Weather and Climate Data
rabernat
0
570
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
480
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Facilitating Awesome Meetings
lara
57
7.2k
Building an army of robots
kneath
307
47k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
The Curious Case for Waylosing
cassininazir
1
600
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
780
How STYLIGHT went responsive
nonsquared
100
6.3k
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