<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nikkie-ftnext</author_name>
  <author_url>https://blog.hatena.ne.jp/nikkie-ftnext/</author_url>
  <blog_title>nikkie-ftnextの日記</blog_title>
  <blog_url>https://nikkie-ftnext.hatenablog.com/</blog_url>
  <categories>
    <anon>NLP(自然言語処理)</anon>
  </categories>
  <description>はじめに 文字列中の半角スペースを正規表現を使って削除する、nikkieです。 先日、はんなりプログラミングの会のボーネンLT会にて文字列の正規化処理を話しました。 その中から、「文字列中の半角スペースの削除」をエントリ化しちゃいます！ ※このエントリ中のコードは、Python 3.10.2で動作確認しています 目次 はじめに 目次 文字列の正規化処理LTのコンテキスト 正規表現を使って半角スペース1つに揃えているとします 正規表現を使って、文字列中の半角スペースを削除する実装 正規表現で文字の範囲を表す 半角スペースを含む正規表現のパターン 後方参照を使って置換する subメソッドはパターン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnikkie-ftnext.hatenablog.com%2Fentry%2Fremove-whitespace-in-text-with-regex&quot; title=&quot;文字列 中 の 半角 スペース を 正規表現 を 使っ て 削除 する - nikkie-ftnextの日記&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-12-21 23:53:56</published>
  <title>文字列 中 の 半角 スペース を 正規表現 を 使っ て 削除 する</title>
  <type>rich</type>
  <url>https://nikkie-ftnext.hatenablog.com/entry/remove-whitespace-in-text-with-regex</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
