if (getLocale() != null) { fdFilename = MaryProperties .getFilename(MaryProperties.localePrefix(getLocale()) + ".pronunciation.featuredefinition"); File treePath = new File(MaryProperties.needFilename(MaryProperties.localePrefix(getLocale()) + ".pronunciation.treepath")); String managerClass = MaryProperties.needProperty(MaryProperties.localePrefix(getLocale()) + ".pronunciation.targetfeaturelister.featuremanager"); FeatureProcessorManager manager = (FeatureProcessorManager) Class.forName(managerClass).newInstance(); String features = MaryProperties.needProperty(MaryProperties.localePrefix(getLocale()) + ".pronunciation.targetfeaturelister.features"); this.featureComputer = new TargetFeatureComputer(manager, features);
if (getLocale() != null) { fdFilename = MaryProperties .getFilename(MaryProperties.localePrefix(getLocale()) + ".pronunciation.featuredefinition"); File treePath = new File(MaryProperties.needFilename(MaryProperties.localePrefix(getLocale()) + ".pronunciation.treepath")); String managerClass = MaryProperties.needProperty(MaryProperties.localePrefix(getLocale()) + ".pronunciation.targetfeaturelister.featuremanager"); FeatureProcessorManager manager = (FeatureProcessorManager) Class.forName(managerClass).newInstance(); String features = MaryProperties.needProperty(MaryProperties.localePrefix(getLocale()) + ".pronunciation.targetfeaturelister.features"); this.featureComputer = new TargetFeatureComputer(manager, features);
if (getLocale() != null) { fdFilename = MaryProperties .getFilename(MaryProperties.localePrefix(getLocale()) + ".pronunciation.featuredefinition"); File treePath = new File(MaryProperties.needFilename(MaryProperties.localePrefix(getLocale()) + ".pronunciation.treepath")); String managerClass = MaryProperties.needProperty(MaryProperties.localePrefix(getLocale()) + ".pronunciation.targetfeaturelister.featuremanager"); FeatureProcessorManager manager = (FeatureProcessorManager) Class.forName(managerClass).newInstance(); String features = MaryProperties.needProperty(MaryProperties.localePrefix(getLocale()) + ".pronunciation.targetfeaturelister.features"); this.featureComputer = new TargetFeatureComputer(manager, features);