<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hitode909</author_name>
  <author_url>https://blog.hatena.ne.jp/hitode909/</author_url>
  <blog_title>hitode909の日記</blog_title>
  <blog_url>https://blog.sushi.money/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>昨日、はじめてのAIプログラミングという本を読んだ。 それで紹介されていた、N-gramという手法がおもしろそうだったのでやってみた。 はじめてのAIプログラミング―C言語で作る人工知能と人工無能作者: 小高知宏出版社/メーカー: オーム社発売日: 2006/10メディア: 単行本 クリック: 85回この商品を含むブログ (23件) を見る N-gramとは 日本語の文章をn文字ずつに切り出して、出現回数を数えると楽しい ３文字で切るのがいいらしい(？) ソース next if token =~ /\n|\r/ のあたりがおかしいが、リンク先では正しく表示される。 使い方 R echo &quot;アメ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.sushi.money%2Fentry%2F20081008%2F1223436242&quot; title=&quot;N-gramしてみた - hitode909の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://ecx.images-amazon.com/images/I/51Al+Ae8d1L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-10-08 12:24:02</published>
  <title>N-gramしてみた</title>
  <type>rich</type>
  <url>https://blog.sushi.money/entry/20081008/1223436242</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
