view fca/run.py @ 0:62d2c72e4223

initial commit
author nothing@tehis.net
date Mon, 25 Feb 2013 14:40:54 +0000
parents
children 8bd8453e0551
line wrap: on
line source
import os, fnmatch

basedir = '/Users/alo/MusicOntology/features/' 
rdfdir = basedir + 'rdf/'
fcadir = basedir + 'fcadata/'

for name in os.listdir(rdfdir):
    if fnmatch.fnmatch(name, '*.rdf'):
        constructMatrix( name.replace('af-', '').replace('.rdf', ''), fcadir )