view 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
line wrap: on
line source
import os, fnmatch

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

execfile(basedir + 'fca/fcaDotGen.py')

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