Skip to content

Instantly share code, notes, and snippets.

@pawoody
pawoody / SOURCES.txt
Created April 20, 2019 02:36
What is this 6
INSTALL.txt
LICENSE.txt
MANIFEST.in
README.md
setup.cfg
setup.py
nltk/VERSION
nltk/__init__.py
nltk/book.py
nltk/collections.py
@pawoody
pawoody / files
Created April 20, 2019 02:35
What is this 5
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/PKG-INFO
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/SOURCES.txt
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/dependency_links.txt
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/not-zip-safe
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/requires.txt
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/top_level.txt
lib/python3.7/site-packages/nltk/VERSION
lib/python3.7/site-packages/nltk/__init__.py
lib/python3.7/site-packages/nltk/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/nltk/__pycache__/book.cpython-37.pyc
@pawoody
pawoody / __init__.py
Created April 20, 2019 02:35
What is this 4
# Natural Language Toolkit: Miscellaneous modules
#
# Copyright (C) 2001-2019 NLTK Project
# Author: Steven Bird <stevenbird1@gmail.com>
# URL: <http://nltk.org/>
# For license information, see LICENSE.TXT
from nltk.misc.chomsky import generate_chomsky
from nltk.misc.wordfinder import word_finder
from nltk.misc.minimalset import MinimalSet
@pawoody
pawoody / files
Created April 20, 2019 02:27
What is this 3 - need to look
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/PKG-INFO
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/SOURCES.txt
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/dependency_links.txt
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/not-zip-safe
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/requires.txt
lib/python3.7/site-packages/nltk-3.4-py3.7.egg-info/top_level.txt
lib/python3.7/site-packages/nltk/VERSION
lib/python3.7/site-packages/nltk/__init__.py
lib/python3.7/site-packages/nltk/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/nltk/__pycache__/book.cpython-37.pyc
@pawoody
pawoody / scanner.py
Created April 20, 2019 02:25
What the fuck is this pt 2
# Scanner produces tokens of the following types:
# STREAM-START
# STREAM-END
# DIRECTIVE(name, value)
# DOCUMENT-START
# DOCUMENT-END
# BLOCK-SEQUENCE-START
# BLOCK-MAPPING-START
# BLOCK-END
@pawoody
pawoody / test_misc.py
Created April 20, 2019 02:20
What the fuck is this file?
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Miscellaneous tests.
"""
@pawoody
pawoody / Plotly_ref.py
Last active March 12, 2019 17:56
Plotly References
'''
A Handy Reference Guide for Understanding and Building Fxns and Plots Using the Plotly Library.
Code is mostly not my own. Reference material (and code) is mainly from Flatiron's Learn.co (free) pre-work module.
This gist is information/code compiled by Paul Woody for use as a reference sheet.
More detail can be found (for free) on Learn.co
'''
# Plotly reference guide:
# Import Plotly and set mode to offline so you don't have to login.