Skip to content

Instantly share code, notes, and snippets.

View masahiro-mi's full-sized avatar

mima_tea masahiro-mi

View GitHub Profile
#! python3
# coding:utf-8
import sys
import os
import json
import random
import math
import MeCab
import numpy
import scipy
import sys
from pytodoist import todoist
from datetime import datetime, timedelta, date
from slacker import Slacker
# 日付を変えて表示するための埋め込み
embedding_date = [
[-365, 0, 'スタックされた'],
[0, 1, '今日の'],
[1, 3, '三日以内の'],
# To support the append (postscript) of the filewrite in pickle.
import pickle
# test data
data = ['this','is','a','test','.']
appendix = ['this','is','appendix','.']
def load_dumps(f):
obj = []
while 1: