<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sh111h</author_name>
  <author_url>https://blog.hatena.ne.jp/sh111h/</author_url>
  <blog_title>エイエイレトリック</blog_title>
  <blog_url>https://eieito.hatenablog.com/</blog_url>
  <categories>
    <anon>nlp</anon>
    <anon>ngram language model</anon>
  </categories>
  <description>サイコロ本 (統計的自然言語処理の基礎) で確率的言語モデル(ngram言語モデル) のバリエーションについて少し勉強したので、実装して比較してみます。 ngram言語モデル スムージング 1-加算 (add-one) Lidstoneの法則 実装 前処理 データ tokenizer vocab count ngram エントロピーを算出 おわりに 参考資料 ngram言語モデル 長さnの単語列 において以下のように定義される確率 を推定するモデルのこと。 以下のように定義される。 ここで、 は条件付き確率。 1単語目から i-1 単語目までが である事象において、i単語目の単語が である確率…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feieito.hatenablog.com%2Fentry%2F2022%2F02%2F15%2F100000&quot; title=&quot;ngram言語モデルについてまとめる (add-one) - エイエイレトリック&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>2022-02-15 10:00:00</published>
  <title>ngram言語モデルについてまとめる (add-one)</title>
  <type>rich</type>
  <url>https://eieito.hatenablog.com/entry/2022/02/15/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
