*文章をGANにかける際の学習データセットの作成


文章をGANによる生成モデルにかける用のフォーマットがどんなものが良いのか、少々調べたのでメモ書き。


seq2seq-attnを用いた例。
qiita.com

Kerasを使った例。
gist.github.com

雪舟 ( せっしゅう 、 1420 年 ( 応永 27 年 ) - 1506 年 ( 永正 3 年 ) ) は 号 で 、 15 世紀 後半 室町 時代 に 活躍 し た 水墨 画 家 ・ 禅僧 で 、 画聖 と も 称え られ る 。
日本 の 水墨 画 を 一変 さ せ た 。
諱 は 「 等楊 ( とうよう ) 」 、 もしくは 「 拙宗 ( せっしゅう ) 」 と 号 し た 。
備中 国 に 生まれ 、 京都 ・ 相国 寺 に 入 っ て から 周防 国 に 移 る 。

Known as Sesshu ( 1420 - 1506 ) , he was an ink painter and Zen monk active in the Muromachi period in the latter half of the 15th century , and was called a master painter .
He revolutionized the Japanese ink painting .
He was given the posthumous name " Toyo " or " Sesshu ( 拙宗 ) . "
Born in Bicchu Province , he moved to Suo Province after entering SShokoku-ji Temple in Kyoto .

http://www.phontron.com/kftt/index-ja.html#dataonlyhttp://www.phontron.com/kftt/download/kftt-data-1.0.tar.gzより

このような日本語のわかち書きについては、Mecabなどが使える
https://www.oreilly.co.jp/pub/9784873118307/appa.html