<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aerith</author_name>
  <author_url>https://blog.hatena.ne.jp/aerith/</author_url>
  <blog_title>あれこれそれどこ？</blog_title>
  <blog_url>https://aerith.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>def ngram(target, n) analyzed = [] keywords = target.split(//u) keywords.size.times do |i| keyword = keywords[i, n].delete_if { |i| i.nil? || i.blank? || i.match(/^\s+$/) } next if keyword.size &lt; n analyzed &lt;&lt; keyword.join end analyzed.join(&quot; &quot;) end なんか作ってくださいって言われたので作った。文字列を n 文字で分割したものを作ればいいのかなくらい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faerith.hateblo.jp%2Fentry%2F2011%2F12%2F01%2F202411&quot; title=&quot;N-gram ってなに…。 - あれこれそれどこ？&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-12-01 20:24:11</published>
  <title>N-gram ってなに…。</title>
  <type>rich</type>
  <url>https://aerith.hateblo.jp/entry/2011/12/01/202411</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
