Skip to content

Instantly share code, notes, and snippets.

View comiclandapp's full-sized avatar
💭
Resurrecting and Liquid Glass-ifying ComicLand

Antonio Montes comiclandapp

💭
Resurrecting and Liquid Glass-ifying ComicLand
View GitHub Profile
@comiclandapp
comiclandapp / remove_stop_words.py
Created April 18, 2017 21:08 — forked from glenbot/remove_stop_words.py
Test various ways of removing stop words in python.
"""
Demonstration of ways to implement this API:
sanitize(user_input, stop_words)
Related discussions:
- Modifying a list while looping over it:
- http://stackoverflow.com/questions/1207406/remove-items-from-a-list-while-iterating-in-python
- Remove all occurences of a value in a list:
- http://stackoverflow.com/questions/1157106/remove-all-occurences-of-a-value-from-a-python-list