摘要:
import numpy as np samples = ['The cat jump over the dog', 'The dog ate my homework'] #我们先将每个单词放置到一个哈希表中 token_index = {} for sample in samples: #将一个句 阅读全文
posted @ 2020-01-28 12:50
吴裕雄
阅读(463)
评论(0)
推荐(0)