jq is useful to slice, filter, map and transform structured json data.
brew install jq
| import mock | |
| import myconvenience | |
| from csvdedupe import csvhelpers, csvlink | |
| def myConsoleLabel(deduper): # pragma: no cover | |
| return myconvenience.consoleLabel(deduper) | |
| def launch_new_instance(): |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| import collections | |
| import itertools | |
| import sys | |
| from dedupe.core import randomPairs, randomPairsMatch | |
| from dedupe.canonical import getCanonicalRep | |
| import trunklucator |
| import tensorflow as tf | |
| import tensorflow_hub as hub | |
| import numpy as np | |
| import pandas as pd | |
| import nmslib | |
| docs = \ | |
| """good beer | |
| sweet bready malt noticeable | |
| good one share friends nice statement |
https://arxiv.org/pdf/1612.04609.pdf - Neural Emoji Recommendation in Dialogue Systems https://github.com/fvancesco/acmmm2016 - Data for the paper - How Cosmopolitan are Emojis
http://www.wildml.com/2016/08/rnns-in-tensorflow-a-practical-guide-and-undocumented-features/ https://github.com/rsennrich/subword-nmt/ https://gist.github.com/Cecilwang/1e26c042a8f42fec248d27655623f1d4 - Various RNN types comparation