public MaryData process(MaryData d) throws Exception { // System.err.println("Italian Postlex START"); Document doc = d.getDocument(); mtuMergeTokenPostlex(doc); return super.process(d); }
allophoneSet = MaryRuntimeUtils.determineAllophoneSet(t); createSubStructure(t, allophoneSet); boolean changedSomething = postlexicalRules(t, allophoneSet); if (changedSomething) { updatePhAttributesFromPhElements(t); MaryData result = new MaryData(outputType(), d.getLocale()); result.setDocument(doc);
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);
allophoneSet = MaryRuntimeUtils.determineAllophoneSet(t); createSubStructure(t, allophoneSet); boolean changedSomething = postlexicalRules(t, allophoneSet); if (changedSomething) { updatePhAttributesFromPhElements(t); MaryData result = new MaryData(outputType(), d.getLocale()); result.setDocument(doc);
public MaryData process(MaryData d) throws Exception { Document doc = d.getDocument(); mtuPostlex(doc); phonologicalRules(doc); return super.process(d); }
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);
allophoneSet = MaryRuntimeUtils.determineAllophoneSet(t); createSubStructure(t, allophoneSet); boolean changedSomething = postlexicalRules(t, allophoneSet); if (changedSomething) { updatePhAttributesFromPhElements(t); MaryData result = new MaryData(outputType(), d.getLocale()); result.setDocument(doc);
public MaryData process(MaryData d) throws Exception { Document doc = d.getDocument(); mtuPostlex(doc); phonologicalRules(doc); return super.process(d); }
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);
public MaryData process(MaryData d) throws Exception { // System.err.println("Italian Postlex START"); Document doc = d.getDocument(); mtuMergeTokenPostlex(doc); return super.process(d); }