op_sentence.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:WebNav 作者: nyu-dl 项目源码 文件源码
def __init__(self, wiki, vocab, n_consec):
        self.wiki = wiki
        self.vocab = vocab
        self.n_consec = n_consec # number of consecutive sections that are used to form a query
        nltk.download('punkt')
        self.tokenizer = nltk.data.load('tokenizers/punkt/english.pickle')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号