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
#! python3 | |
# coding:utf-8 | |
import sys | |
import os | |
import json | |
import random | |
import math | |
import MeCab | |
import numpy | |
import scipy |
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
import sys | |
from pytodoist import todoist | |
from datetime import datetime, timedelta, date | |
from slacker import Slacker | |
# 日付を変えて表示するための埋め込み | |
embedding_date = [ | |
[-365, 0, 'スタックされた'], | |
[0, 1, '今日の'], | |
[1, 3, '三日以内の'], |
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
# 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: |