Skip to content

Instantly share code, notes, and snippets.

View netfl0's full-sized avatar

Peter Kaloroumakis netfl0

  • The MITRE Corporation
  • Location Location Location
  • X @netfl0
View GitHub Profile
@andreasvc
andreasvc / bow.py
Created July 8, 2015 15:58
Extract Bag-of-Words (BOW) models from a corpus of text files.
"""Extract several BOW models from a corpus of text files.
The models are stored in Matrix Market format which can be read
by gensim. The texts are read from .txt files in the directory
specified as TOPDIR. The output is written to the current directory."""
# NB: All strings are utf8 (not unicode).
import os
import glob
import nltk
import gensim
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active June 13, 2024 10:59
A badass list of frontend development resources I collected over time.