File f = new File(name);
if(f.getParentFile() != null)
NobleCoderTerminology.setPersistenceDirectory(f.getParentFile());
term = new NobleCoderTerminology(f.getName());
} catch (IOException e) {
throw new TerminologyException("Could not load IndexFinder terminology "+name,e);
}
}
}catch(TerminologyException ex){
ex.printStackTrace();
}