動作環境
GeForce GTX 1070 (8GB)
ASRock Z170M Pro4S [Intel Z170chipset]
Ubuntu 14.04 LTS desktop amd64
TensorFlow v0.11
cuDNN v5.1 for Linux
CUDA v8.0
Python 2.7.6
IPython 5.1.0 -- An enhanced Interactive Python.
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
任意の英単語を取得して、それを画像化してNeural Network学習に使おうと検討中。
lookコマンドを使う。
a-zでイテレートして、辞書から単語を引き出す。
参考 http://stackoverflow.com/questions/7300070/bash-script-looping-through-alphabet
$ for x in {a..z};do look $x;done
結果
A
A's
AA's
AB's
ABM's
AC's
ACTH's
AI's
AIDS's
AM's
AOL
AOL's
ASCII's
ASL's
ATM's
ATP's
AWOL's
AZ's
AZT's
Aachen
...
abhorred
abhorrence
abhorrence's
abhorrent
abhorring
abhors
abide
abided
abides
abiding
abilities
ability
ability's
abject
abjectly
abjuration
abjuration's
abjurations
abjure
abjured
abjures
abjuring
ablative
ablative's
ablatives
ablaze
...
$ for x in {a..z};do look $x;done | wc
99154 99154 938702
単語数は99154。