annotate fca/run.py @ 0:62d2c72e4223

initial commit
author nothing@tehis.net
date Mon, 25 Feb 2013 14:40:54 +0000
parents
children 8bd8453e0551
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@0 7 for name in os.listdir(rdfdir):
nothing@0 8 if fnmatch.fnmatch(name, '*.rdf'):
nothing@0 9 constructMatrix( name.replace('af-', '').replace('.rdf', ''), fcadir )