Skip to content

Instantly share code, notes, and snippets.

@ferayebend
ferayebend / datab_toolkit.py
Created November 25, 2014 12:53
twitter API tools
#!/usr/bin/python
# -*- encoding: utf-8 -*-
from __future__ import unicode_literals
from pylab import *
import json
import codecs
import pymongo
import time
import sys
import itertools
import copy
import random
def overlap_rule(l, mi):
desired = []
length = len(l)
c_l = copy.deepcopy(l)
index = random.randint(1,length) - 1
@ferayebend
ferayebend / OpenSubtitles_ca_cleaned.txt
Last active June 14, 2018 14:10
Open Subtitles Catalan Corpus
This file has been truncated, but you can view the full file.
A Àfrica amb mon pare.
A Àfrica era famós per evitar les drogues.
A Àfrica xafàvem sang a cada petjada.
A això crida supervivent?
A això em refereixo.
A això em refereixo exactament.
A això em referia.
A això és al què em refereixo a l'aigua.
A això es redueix tot?
A això es referia?