You can call each individual function uing jni
Can you describe more your need whant what you currently do?
De : unitex-...@googlegroups.com [mailto:unitex-...@googlegroups.com] De la part de Olivier GRACIANNE
Envoyé : mardi 26 février 2019 14:44
À : Unitex-GramLab
Objet : [Unitex-GramLab] Using Unitex JNI
--
You received this message because you are subscribed to the Google Groups "Unitex-GramLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unitex-gramla...@googlegroups.com.
To post to this group, send email to unitex-...@googlegroups.com.
Visit this group at https://groups.google.com/group/unitex-gramlab.
To view this discussion on the web visit https://groups.google.com/d/msgid/unitex-gramlab/bf2513b8-6954-4332-a94e-5d622fc64dfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Did you see
https://github.com/UnitexGramLab/unitex-core/blob/master/UnitexLibAndJni/UnitexJniDemo.java
https://github.com/UnitexGramLab/unitex-core/blob/master/UnitexLibAndJni/TestUnitexJni.java
https://unitex-library.readthedocs.io/en/latest/
https://unitex-library.readthedocs.io/fr/latest/
https://github.com/UnitexGramLab/unitex-library/blob/master/docs/en/linking.rst
De : unitex-...@googlegroups.com [mailto:unitex-...@googlegroups.com] De la part de Olivier GRACIANNE
Envoyé : mardi 26 février 2019 15:16
À : Unitex-GramLab
Objet : Re: [Unitex-GramLab] Using Unitex JNI
To view this discussion on the web visit https://groups.google.com/d/msgid/unitex-gramlab/0d6967cf-ef5c-44f8-83d8-28dd537719ae%40googlegroups.com.
https://unitex-library.readthedocs.io/en/latest/vfs.html
De : unitex-...@googlegroups.com [mailto:unitex-...@googlegroups.com] De la part de Olivier GRACIANNE
Envoyé : mardi 26 février 2019 15:41
À : Unitex-GramLab
Objet : Re: [Unitex-GramLab] Using Unitex JNI
Back from the reading.
If you read french, read http://www.smartversion.com/unitex-contribution/
About the idea of vfs
http://www.smartversion.com/unitex-contribution/Unitex_A_NLP_engine_from_the_lab_to_the_iPhone.pdf
I can gave source of these function:
/**
* combine several path items and a filename to create a full filename
*/
public static final String combineUnitexFileComponent(
String... FilePathNameItems) {
String retStr = "";
String pSep = pathSeparator;
boolean isFirst = true;
for (String strItem : FilePathNameItems) {
if (isFirst)
retStr = strItem;
else
retStr = retStr + pSep + strItem;
isFirst = false;
}
return retStr;
}
/**
* combine several path items and a filename to create a full filename with
* quote
*/
public static final String combineUnitexFileComponentWithQuote(
String... FilePathNameItems) {
String retStr = "";
String pSep = pathSeparator;
boolean isFirst = true;
for (String strItem : FilePathNameItems) {
if (isFirst)
retStr = strItem;
else
retStr = retStr + pSep + strItem;
isFirst = false;
}
return "\"" + retStr + "\"";
}
De : unitex-...@googlegroups.com [mailto:unitex-...@googlegroups.com] De la part de Olivier GRACIANNE
Envoyé : mardi 26 février 2019 17:34
À : Unitex-GramLab
Objet : Re: [Unitex-GramLab] Using Unitex JNI
This is 'hwo to use' documentation. I would to have a 'how it is made' doc too. Is there one ?
By the way, I couldn't find the description of the function 'combineUnitexFileComponentWithQuote', used in the demo, in the documentation you gave me (https://unitex-library.readthedocs.io/en/latest/). Did I miss it or is there an other doc ?
Thanks a lot for your help !.
--
You received this message because you are subscribed to the Google Groups "Unitex-GramLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unitex-gramla...@googlegroups.com.
To post to this group, send email to unitex-...@googlegroups.com.
Visit this group at https://groups.google.com/group/unitex-gramlab.
To view this discussion on the web visit https://groups.google.com/d/msgid/unitex-gramlab/2f2305ae-327c-4f67-b63b-9483706e65cc%40googlegroups.com.
Cette fonction est bien présente dans les sources jni au même titre que les autres
UnitexLibAndJni\fr_umlv_unitex_jni_UnitexJni.h
UnitexLibAndJni\fr_umlv_unitex_jni_UnitexJni.cpp
UnitexLibAndJni\fr\umlv\unitex\jni\UnitexJni.java
Que donnent les autres fonctions ?
Par contre, je n’ai pas d’experience avec un .jar, j’ai toujours utilisé directement le .so / .dylib / .dll de la jni
De : unitex-...@googlegroups.com [mailto:unitex-...@googlegroups.com] De la part de Olivier GRACIANNE
Envoyé : vendredi 1 mars 2019 17:21
À : Unitex-GramLab
Objet : Re: [Unitex-GramLab] Using Unitex JNI
Bonjour
--
You received this message because you are subscribed to the Google Groups "Unitex-GramLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unitex-gramla...@googlegroups.com.
To post to this group, send email to unitex-...@googlegroups.com.
Visit this group at https://groups.google.com/group/unitex-gramlab.
To view this discussion on the web visit https://groups.google.com/d/msgid/unitex-gramlab/d488ba51-ff83-4299-9af0-aecd7cf5688b%40googlegroups.com.