Skip to content

Instantly share code, notes, and snippets.

@robhawkins
robhawkins / downloadPack.py
Created August 24, 2019 03:30
download emojis from yaml
#!/usr/bin/env python
import yaml
import sys
import requests
import os
yaml_file = sys.argv[1]
packname = os.path.splitext(os.path.basename(yaml_file))[0]
$ sbt assembly
[info] Loading project definition from /home/rob/wiki2vec-forked/project
[info] Set current project to wiki2vec (in build file:/home/rob/wiki2vec-forked/)
[info] Updating {file:/home/rob/wiki2vec-forked/}wiki2vec-forked...
[info] Resolving net.sf.jwordnet#jwnl;1.3.3 ...
[error] SERVER ERROR: Service Unavailable url=http://opennlp.sourceforge.net/maven2/net/sf/jwordnet/jwnl/1.3.3/jwnl-1.3.3.pom
[info] Resolving jwnl#jwnl;1.3.3 ...
[error] SERVER ERROR: Service Unavailable url=http://opennlp.sourceforge.net/maven2/jwnl/jwnl/1.3.3/jwnl-1.3.3.pom
[info] Resolving org.apache.hadoop#hadoop-mapreduce-client-common;2.2.0 ...
[error] SERVER ERROR: Service Unavailable url=http://opennlp.sourceforge.net/maven2/org/apache/hadoop/hadoop-mapreduce-client-common/2.2.0/hadoop-mapreduce-client-common-2.2.0.pom