view fca/run.py @ 4:8bd8453e0551

added fuxi facts and rules
author nothing@tehis.net
date Tue, 02 Apr 2013 15:33:18 +0100
parents 62d2c72e4223
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 )