import tensorflow as tf import numpy as np sentences = 'Lorem ipsum ... 生成单词和索引的映射关系word2idx = {v:k for k,v in enumerate(words)} ...
確定! 回上一頁