다음 character 예측 import tensorflow as tf import numpy as np from tensorflow.contrib import rnn sentence = ("if you want to build a ship, don't drum up people together to " "collect wood and don't assign them tasks and work, but rather " "teach them to long for the endless immensity of the sea.") # 딕셔너리 생성 char_set = list(set(sentence)) char_dic = {w: i for i, w in enumerate(char_set)} print(char_..