This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Your OS X is ripe for brewing. | |
| Any troubles you may be experiencing are likely purely psychosomatic. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| My PRP$ B-NP O - B-A0 O | |
| brother NN E-NP O - E-A0 O | |
| has VBZ S-VP O has S-V O | |
| a DT B-NP O - B-A1 B-A0 | |
| dog NN E-NP O - I-A1 E-A0 | |
| that WDT S-NP O - I-A1 S-R-A0 | |
| has VBZ S-VP O has I-A1 S-V | |
| a DT B-NP O - I-A1 B-A1 | |
| cat NN E-NP O - E-A1 E-A1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import csv | |
| from StringIO import StringIO | |
| import subprocess as sp | |
| from nltk.draw.tree import Tree, TreeWidget | |
| from nltk.draw.util import CanvasFrame | |
| senna_path = '/Users/dedan/Downloads/senna/' | |
| sentence = 'My brother has a dog' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import sys | |
| import time | |
| try: | |
| p = subprocess.Popen([sys.executable, '-m', 'Pyro4.naming'], | |
| stdout=subprocess.PIPE, | |
| stderr=subprocess.STDOUT) | |
| time.sleep(5) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 My my my PRP$ PRP$ _ _ 0 0 NMOD NMOD _ _ | |
| 1 brother brother brother NN NN _ _ 0 0 ROOT ROOT _ _ | |
| 1 has have have VBZ VBZ _ _ 0 0 ROOT ROOT _ _ | |
| 1 a a a DT DT _ _ 0 0 ROOT ROOT _ _ | |
| 1 dog dog dog NN NN _ _ 0 0 ROOT ROOT _ _ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In [109]: from neo.io.neuroexplorerio import NeuroExplorerIO | |
| --------------------------------------------------------------------------- | |
| ImportError Traceback (most recent call last) | |
| /Users/dedan/projects/fu/unmixpain/<ipython-input-109-f477c5eea2d3> in <module>() | |
| ----> 1 from neo.io.neuroexplorerio import NeuroExplorerIO | |
| /Users/dedan/.virtualenvs/neo/lib/python2.7/site-packages/neo/io/neuroexplorerio.py in <module>() | |
| 19 from .baseio import BaseIO | |
| 20 from ..core import * | |
| ---> 21 from .tools import create_many_to_one_relationship |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from OpenGL.GL import * | |
| from OpenGL.GLUT import * | |
| from PIL import Image | |
| width, height = 640, 480 | |
| def DrawStuff(): | |
| poly1 = [(0,0), (640,0), (0,480)] | |
| color = (0.5, 0.4, 0.3, 0.8) | |
| glClear(GL_COLOR_BUFFER_BIT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import pylab as plt | |
| import time | |
| living_cells = set([(1, 0), (1, 1), (1, 2)]) | |
| counting = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| class Life(object): | |
| """docstring for Life""" | |
| def __init__(self, init=None): | |
| super(Life, self).__init__() | |
| self.cells = init |
OlderNewer