All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.pipeline.braille.liblouis.LiblouisTranslator Maven / Gradle / Ivy

There is a newer version: 6.3.0
Show newest version
package org.daisy.pipeline.braille.liblouis;

import org.daisy.pipeline.braille.common.BrailleTranslator;
import org.daisy.pipeline.braille.common.BrailleTranslatorProvider;

public interface LiblouisTranslator extends BrailleTranslator {
	
	public LiblouisTable asLiblouisTable();
	
	public FromTypeformedTextToBraille fromTypeformedTextToBraille();
	
	public interface FromTypeformedTextToBraille {
		
		/**
		 * @param text The text segments to be translated.
		 * @param typeform The typeform. Array must have the same length as text.
		 * @return The translated text segments. Has the same length as text.
		 */
		public String[] transform(String[] text, String[] typeform);
		
	}
	
	public interface Provider extends BrailleTranslatorProvider {}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy