ほぼほぼ http://d.hatena.ne.jp/higepon/20170428/1493382521 の方のブログのままです こちらには収集したデータ,学習済みデータも上げています. tweet_replyer.py と tweet_listener.py にTwitter API keyを入れて,同時に実行すると動きます.