<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hironsan</author_name>
  <author_url>https://blog.hatena.ne.jp/Hironsan/</author_url>
  <blog_title>Ahogrammer</blog_title>
  <blog_url>https://hironsan.hatenablog.com/</blog_url>
  <categories>
    <anon>自然言語処理</anon>
  </categories>
  <description>自然言語処理で欠かせない前処理としてテキストの分かち書きとID化があります。分かち書きはテキストを分割するプロセスであり、文字や単語、サブワードといった単位でテキストを分割します。これらの分割後の要素はトークンと呼ばれます。一方、ID化はトークンを数値に変換するプロセスです。数値に変換することで、機械学習アルゴリズムにトークンを与えることができるようになります。本記事では、これらのプロセスをTensorFlow Datasetsの機能を使って実現する方法について紹介します。 準備 この記事ではTensorFlow Datasetsを使って分かち書きとID化を行います。TensorFlow Da…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhironsan.hatenablog.com%2Fentry%2Ftokenizing-text-by-tensorflow-datasets&quot; title=&quot;TensorFlow Datasetsを使ってテキストの分かち書きとID化をする - Ahogrammer&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>2019-09-12 14:02:15</published>
  <title>TensorFlow Datasetsを使ってテキストの分かち書きとID化をする</title>
  <type>rich</type>
  <url>https://hironsan.hatenablog.com/entry/tokenizing-text-by-tensorflow-datasets</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
