<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayousanz</author_name>
  <author_url>https://blog.hatena.ne.jp/ayousanz/</author_url>
  <blog_title>yousanのメモ</blog_title>
  <blog_url>https://ayousanz.hatenadiary.jp/</blog_url>
  <categories>
    <anon>AI</anon>
    <anon>Python</anon>
  </categories>
  <description>初めに 環境 変換コード 実行 初めに TTSの学習データを作る際に 音声コーパスにはよく ITAコーパスが用いられることがあります。このコーパスは以下のフォーマットで作成されています. ファイル名:本文,ヨミ こちらを学習に使う際にヨミの部分は、必要がないので「ファイル名:本文」のみに変更するスクリプトを作成します。 環境 MacOS Python 3.11 変換コード 以下のコードで変換することができます import sys def process_file(input_file_path, output_file_path): with open(input_file_path, 'r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayousanz.hatenadiary.jp%2Fentry%2F2024%2F03%2F09%2F113554&quot; title=&quot;ITAコーパスをファイル名と本文のみに変換するスクリプトを作成する - yousanのメモ&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>2024-03-09 11:35:54</published>
  <title>ITAコーパスをファイル名と本文のみに変換するスクリプトを作成する</title>
  <type>rich</type>
  <url>https://ayousanz.hatenadiary.jp/entry/2024/03/09/113554</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
