annotate fca/run.py @ 18:d5012016bf64 tip

added rdfpy and rdfonto directories
author nothing@tehis.net
date Tue, 23 Apr 2013 11:49:20 +0100
parents 8bd8453e0551
children
rev   line source
nothing@0 1 import os, fnmatch
nothing@0 2
nothing@0 3 basedir = '/Users/alo/MusicOntology/features/'
nothing@0 4 rdfdir = basedir + 'rdf/'
nothing@0 5 fcadir = basedir + 'fcadata/'
nothing@0 6
nothing@4 7 execfile(basedir + 'fca/fcaDotGen.py')
nothing@4 8
nothing@0 9 for name in os.listdir(rdfdir):
nothing@0 10 if fnmatch.fnmatch(name, '*.rdf'):
nothing@0 11 constructMatrix( name.replace('af-', '').replace('.rdf', ''), fcadir )