<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y_uti</author_name>
  <author_url>https://blog.hatena.ne.jp/y_uti/</author_url>
  <blog_title>y_uti のブログ</blog_title>
  <blog_url>https://y-uti.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>先日 IBM Model 1 を実装してみましたが、f 側の各文には null トークンを追加する必要がありました。Kohen 先生のスライドにある &quot;Inserting Words&quot; のところです。そんなわけで、プログラムを少し修正します。コーパスを読み込んだ後、f 側の文に null トークンを追加するようにします。 def main(): sentence_pairs = load_sentence_pairs(sys.argv[1]) add_null_tokens(sentence_pairs) translation_prob = init_translation_prob(sen…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy-uti.hatenablog.jp%2Fentry%2F20120707%2F1341633481&quot; title=&quot;続 IBM Model 1: null トークンを入れる - y_uti のブログ&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-07-07 12:58:01</published>
  <title>続 IBM Model 1: null トークンを入れる</title>
  <type>rich</type>
  <url>https://y-uti.hatenablog.jp/entry/20120707/1341633481</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
