I hope this doesn't make me sick..
This file contains 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
[dimazest@mac tools]$ bin/fowler.corpora-py t.py | |
usage: t.py <command> [options] | |
commands: | |
dat Dialog act tagging | |
help Show help for a given help topic or a help overview. | |
similarity Word similarity | |
[dimazest@mac tools]$ bin/fowler.corpora-py t.py dat -h | |
usage: t.py dat <command> [options] |
This file contains 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
@view.parallel(block=False) | |
def cosine_similarity(rows): | |
from sklearn.metrics import pairwise | |
print('hi!') | |
return [len(rows)] | |
@functools.lru_cache(maxsize=None) | |
def compute_tensor_dot(word, other_word=None): |
This file contains 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
#!/opt/local/bin/python2.7 | |
"""My awesome script.""" | |
import opster | |
@opster.command() | |
def hello(): | |
"""A hello word implementation.""" | |
print 'Hello world!' |
This file contains 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
class Index(OrderedDict): | |
"""An indexer. | |
For every unseen index, a unique ID id is assigned. | |
""" | |
def __getitem__(self, key): | |
"""Assign an ingeger ID for a unseen item.""" | |
try: | |
return super().__getitem__(key) |
I hereby claim:
- I am dimazest on github.
- I am dimazest (https://keybase.io/dimazest) on keybase.
- I have a public key whose fingerprint is C846 779A CCA3 0C10 B929 D763 B293 7D50 8BF7 FC77
To claim this, I am signing this object:
python3.3 -m venv .env
source .env/bin/activate
python3 ez_setup.py
python3.3 get-pip.py
.env/local/bin/pip install numpy
.env/local/bin/pip install numexpr
This file contains 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
cd phd-buildout/notebooks | |
time ../bin/corpora serafin plain-lsa --swda corpora/swda -v -j 2 --limit 10000 | less |
This file contains 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
# $Id: screen-keys.conf,v 1.7 2010-07-31 11:39:13 nicm Exp $ | |
# | |
# By Nicholas Marriott. Public domain. | |
# | |
# This configuration file binds many of the common GNU screen key bindings to | |
# appropriate tmux key bindings. Note that for some key bindings there is no | |
# tmux analogue and also that this set omits binding some commands available in | |
# tmux but not in screen. | |
# | |
# Note this is only a selection of key bindings and they are in addition to the |
This file contains 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
[rewrites] | |
github = | |
url ~ ^https://github.com/ | |
git@github.com: | |
kind = git |
OlderNewer