<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lacolaco</author_name>
  <author_url>https://blog.hatena.ne.jp/lacolaco/</author_url>
  <blog_title>余白</blog_title>
  <blog_url>https://lacolaco.hatenablog.com/</blog_url>
  <categories>
    <anon>自然言語処理</anon>
  </categories>
  <description>文章生成 N-gramモデルをベースにする 想定されるデータモデル(「今日は雨です」) { w1: &quot;今日&quot;, w2: &quot;は&quot;, w3: &quot;雨&quot; }, { w1: &quot;は&quot;, w2: &quot;雨&quot;, w3: &quot;です&quot; } 確率の推定 w3がw2, w1から生起する確率 「w1,w2,w3と並んだ回数」と「w1,w2と並んだ数」の比により、「w1,w2の次にw3が来る確率」が推定できる。 N-gramモデルの利点 学習データ中に存在する連結しか発生しないので、文の精度がある程度保証される 実装が楽 欠点 コーパスが増えるとループが発生する危険性がある コーパスが増えるとそのまま計算量が増える 知らない連…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flacolaco.hatenablog.com%2Fentry%2F2015%2F01%2F22%2F220352&quot; title=&quot;メカらこv3の文章生成草案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>http://chart.apis.google.com/chart?cht=tx&amp;amp;chl=%7B%20%5Cdisplaystyle%0AP%28w3%7Cw2%2Cw1%29%20%3D%20C%28w3%2Cw2%2Cw1%29%2FC%28w2%2Cw1%29%0A%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-01-22 22:03:52</published>
  <title>メカらこv3の文章生成草案1</title>
  <type>rich</type>
  <url>https://lacolaco.hatenablog.com/entry/2015/01/22/220352</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
