Mercurial > hg > audio-features-catalogue
comparison fca/run.py @ 0:62d2c72e4223
initial commit
author | nothing@tehis.net |
---|---|
date | Mon, 25 Feb 2013 14:40:54 +0000 |
parents | |
children | 8bd8453e0551 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:62d2c72e4223 |
---|---|
1 import os, fnmatch | |
2 | |
3 basedir = '/Users/alo/MusicOntology/features/' | |
4 rdfdir = basedir + 'rdf/' | |
5 fcadir = basedir + 'fcadata/' | |
6 | |
7 for name in os.listdir(rdfdir): | |
8 if fnmatch.fnmatch(name, '*.rdf'): | |
9 constructMatrix( name.replace('af-', '').replace('.rdf', ''), fcadir ) |