Skip to content

Instantly share code, notes, and snippets.

View erumoico's full-sized avatar

Jan Doležal erumoico

View GitHub Profile
@Eugeny
Eugeny / memuse.md
Last active November 7, 2024 06:02
memuse - measure a total unique RAM taken by process tree
# Imports
import nltk.corpus
import nltk.tokenize.punkt
import nltk.stem.snowball
from nltk.corpus import wordnet
import string
# Get default English stopwords and extend with punctuation
stopwords = nltk.corpus.stopwords.words('english')
stopwords.extend(string.punctuation)