wiktionaryparser.py 文件源码

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

项目:ankimaker 作者: carllacan 项目源码 文件源码
def __init__(self, lang):
        self.lang = lang # lang of the word we are looking up
        self.in_lang = False # flag: are we in the appropriate language?
        self.getting_defs = False # flag: are we collecting definitions?
        self.pos = "" # part of speech we are in
        self.trans = {} # each key is the pos, each entry the translations
        HTMLParser.__init__(self)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号