int standard_load_persistence_alphabet(const char*filename,char* persistent_filename_buffer,size_t buffer_size)
{
	if ((persistent_filename_buffer == NULL) || (buffer_size <= strlen(filename)))
		return 0;
	strcpy(persistent_filename_buffer,filename);
	return load_persistent_alphabet(filename);
}
/*
 * Class:     fr_umlv_unitex_jni_UnitexJni
 * Method:    loadPersistentAlphabet
 * Signature: (Ljava/lang/String;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_fr_umlv_unitex_jni_UnitexJni_loadPersistentAlphabet
	(JNIEnv* env, jclass, jstring filename) {
jstringToCUtf name;
name.initJString(env,filename);
if (load_persistent_alphabet(name.getJString())) {
	return env->NewStringUTF(name.getJString());
}
return NULL;
}