class NFACompiler {

	public static <T> NFA<T> compile(Pattern<T, ?> pattern, TypeSerializer<T> inputTypeSerializer) {
		NFAFactory<T> factory = compileFactory(pattern, inputTypeSerializer);

		return factory.createNFA();
	}

}