1
stillwater 2013-11-03 13:04:54 +08:00 list comprehension
|
2
laskuma OP @stillwater 感谢!
|
3
mkeith 2013-11-03 13:41:32 +08:00 texts = []
for document in documents: for word in document.lower().split(): if word not in stoplist: texts.append(word) |
4
subpo PRO 好像一下子知道pythoner推崇的pythonic是什么意思了
|