<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>factal</author_name>
  <author_url>https://blog.hatena.ne.jp/factal/</author_url>
  <blog_title>うおっ</blog_title>
  <blog_url>https://factal.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>NLP</anon>
  </categories>
  <description>表とういほどじゃないんだけど、検索用に。 Matplotlibを使ったグラフの表示のところ、例4-10のプログラムの6行目が間違ってる。 width = 1 / (len(categories) + 1) 整数の1を整数で割ってるから、グラフの幅が0になってしまってる。 正しくはこう。（他にも書き方はある） width = float(1) / (len(categories) + 1) すごい単純なところなんだけど、ついさっきの整数の割り算の確認が早速役に立ってうれしい。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffactal.hatenadiary.org%2Fentry%2F20120628%2F1340904515&quot; title=&quot;『入門　自然言語処理』の4.8.1のプログラム正誤表 - うおっ&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>2012-06-28 02:28:35</published>
  <title>『入門　自然言語処理』の4.8.1のプログラム正誤表</title>
  <type>rich</type>
  <url>https://factal.hatenadiary.org/entry/20120628/1340904515</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
