proNlp1/stopWords.py

8 lines
141 B
Python
Raw Normal View History

2017-11-28 01:14:38 +00:00
def stopWrdList():
sw = open('stop.words')
prue = []
prue.append(sw.readlines())
return [l.strip('\n\r') for l in prue[0]]