<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>estie</author_name>
  <author_url>https://blog.hatena.ne.jp/estie/</author_url>
  <blog_title>estie inside blog</blog_title>
  <blog_url>https://www.estie.jp/blog/</blog_url>
  <categories>
    <anon>technology</anon>
  </categories>
  <description>前の記事で、形態素解析器を使って、日本語から読みを取得できるようになりました。この記事では、その読みが575かどうかを判定できるようにコードを書きます。 Q. 575判定はどうすればいい？ A. 音を数えて、文節の区切れと575が一致するかを見よう 前回のプログラムを変更します。 なんとなく平仮名にしたかった 形態素では区切れていても助詞や助動詞で始まる五音や七音を除きたかった 文字数ではなく音（モーラ）で数えたい（「きゃ」は1音だとする） などを追加実装したものが以下のプログラムです。 import jaconv import MeCab import regex def extract_h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.estie.jp%2Fblog%2Fentry%2F2022%2F11%2F10%2F110000&quot; title=&quot;MeCabを使った575判定 - estie inside blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/e/estie/20220818/20220818203755.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-10 11:00:00</published>
  <title>MeCabを使った575判定</title>
  <type>rich</type>
  <url>https://www.estie.jp/blog/entry/2022/11/10/110000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
