24. 検索
twinkle, twinkle, little star, how i wonder
what you are! up above the world so high,
Like a diamond in the sky. twinkle, twinkle,
little star, how i wonder what you are!
when the blazing sun is gone, When he
nothing shines upon. then you show your
little light, twinkle, twinkle, all the
night. twinkle, twinkle, little star, how i
wonder what you are!
検索
…up above the world so high, Like a diamond in the sky…
the
先頭から一文字ずつ文字列検
索する
33. テキストマイニング
• 文字ごとの統計では面白い結果が出てこない
• 文字を「まとめて」単語レベルでデータ処理すると少し面白くな
る
• 単語を検索して数を数える -> 文章中にどの単語がどのくらい表れ
るか,「頻度」を計算する
Twinkle, twinkle, little star, How I wonder
what you are! Up above the world so high,
Like a diamond in the sky. Twinkle, twinkle,
little star, How I wonder what you are!
When the blazing sun is gone, When he
nothing shines upon. Then you show your
little light, Twinkle, twinkle, all the
night. Twinkle, twinkle, little star, How I
wonder what you are!
“the”が
4つある