2018-04-12+
¶Static html with images -- http://88.99.210.144/data/clustering_2018/html/AGI-2018-Pictures-2018-08-13.html
Data -- http://88.99.210.144/data/clustering_2018/AGI-2018-Pictures-2018-08-13
import os, sys, time
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
from IPython.display import display
module_path = os.path.abspath(os.path.join('..'))
if module_path not in sys.path: sys.path.append(module_path)
from src.utl.utl import UTC
from src.utl.read_files import check_dir
date = '2018-08-13'
verbose='none'
from src.grammar_learner.agi_2018_pictures import gimme_pictures
print(UTC())
input_dir = module_path + '/data/POC-Turtle/MST_fixed_manually/'
batch_dir = module_path + '/output/AGI-2018-Pictures-'+str(UTC())[:10]
prj_dir = batch_dir + '/POC-Turtle/MST_fixed_manually/connectors-DRK-connectors/'
context = 1
grammar_rules = 1
gimme_pictures(input_dir, prj_dir, context, grammar_rules, verbose)
#STOP
prj_dir = batch_dir + '/POC-Turtle/MST_fixed_manually/disjuncts-DRK-disjuncts/'
context = 2
grammar_rules = 2
gimme_pictures(input_dir, prj_dir, context, grammar_rules, verbose)
input_dir = module_path + '/data/POC-English-NoAmb/MST_fixed_manually/'
prj_dir = batch_dir + '/POC_English_NoAmb/MST_fixed_manually/connectors-DRK-connectors/'
context = 1
grammar_rules = 1
gimme_pictures(input_dir, prj_dir, context, grammar_rules, verbose)
prj_dir = batch_dir + '/POC_English_NoAmb/MST_fixed_manually/disjuncts-DRK-disjuncts/'
context = 2
grammar_rules = 2
gimme_pictures(input_dir, prj_dir, context, grammar_rules, verbose)