nothing@0: import os, fnmatch nothing@0: nothing@0: basedir = '/Users/alo/MusicOntology/features/' nothing@0: rdfdir = basedir + 'rdf/' nothing@0: fcadir = basedir + 'fcadata/' nothing@0: nothing@4: execfile(basedir + 'fca/fcaDotGen.py') nothing@4: nothing@0: for name in os.listdir(rdfdir): nothing@0: if fnmatch.fnmatch(name, '*.rdf'): nothing@0: constructMatrix( name.replace('af-', '').replace('.rdf', ''), fcadir )