發表文章

目前顯示的是 8月, 2014的文章

python一行讀AFINN

dict(map(lambda (w, s): (w, int(s)), [ws.strip().split('\t') for ws in open("AFINN-111.txt")]))