Révision 1363
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/messages/RCoreMessages.java (revision 1363) | ||
---|---|---|
1 | 1 |
package org.txm.statsengine.r.core.messages; |
2 | 2 |
|
3 |
import org.eclipse.osgi.util.NLS;
|
|
3 |
import org.txm.core.messages.TXMCoreMessages;
|
|
4 | 4 |
import org.txm.utils.messages.Utf8NLS; |
5 | 5 |
|
6 | 6 |
/** |
... | ... | |
10 | 10 |
* @author sjacquot |
11 | 11 |
* |
12 | 12 |
*/ |
13 |
public class RCoreMessages extends NLS {
|
|
13 |
public class RCoreMessages extends TXMCoreMessages {
|
|
14 | 14 |
|
15 | 15 |
private static final String BUNDLE_NAME = "org.txm.statsengine.r.core.messages.messages"; //$NON-NLS-1$ |
16 | 16 |
|
... | ... | |
47 | 47 |
public static String runningTextSelection; |
48 | 48 |
public static String errorWhileRunningRScriptP0DDotP1; |
49 | 49 |
public static String p0RScriptDoesntExist; |
50 |
public static String errorWhileRunningRScriptP0DDotP1_2; |
|
51 | 50 |
|
52 | 51 |
public static String error_unexpectedErrorInRStatisticsEngine; |
53 | 52 |
|
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/messages/messages.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
doneDDot=Done\: |
|
4 |
error_cantFindRServeInPath=** The Statistics Engine program path is set but we couldn't find it in\: {0}. |
|
5 |
error_connectionFailed=** Error while connecting to the stat engine. |
|
6 |
error_errorDuringItemsListExtraction=** Error during items list extraction\: |
|
7 |
error_errorWhileEvaluating=** R error\: "{0}"\nwhile evaluating\: {1} |
|
8 |
error_evaluationError=** Evaluation error\: {0}\n{1}. |
|
9 |
error_failedToConnectToTheRWorkspace=** Failed to connect to the R Workspace. |
|
10 |
error_failedToInitializeFileTransfert=** Failed to initialize file transfert\: {0}. |
|
11 |
error_failedToLoadLibrary=Failed to load the {0} library\: {1}. |
|
12 |
error_failedToRunREG=** Failed to run REG to find the location of R program. |
|
13 |
error_failedToStartRServe=Failed to start RServe. |
|
14 |
error_failedToStartRServeWithCommand=** Failed to start Rserve with command\: |
|
15 |
error_matrixIsEmpty=Matrix is empty. |
|
16 |
error_requestedObjectNotFoundInR=The requested object ({0}) was not found in the R workspace. |
|
17 |
error_rserveIsAlreadyRunningOnPort=Rserve is already running on port {0}. |
|
18 |
error_rservePathNotSet=** The Statistics Engine program path is not set and we could not find it. |
|
19 |
error_unexpectedErrorInRStatisticsEngine=Unexpected error R statistics engine\: {0}. |
|
20 |
error_youNeedRSoftware=You need the 'R' software and you need to configure in the 'Tools/Preferences' window the correct path to it. |
|
21 |
errorWhileRunningRScriptP0DDotP1=** Error while running R script {0}\: {1} |
|
22 |
errorWhileRunningRScriptP0DDotP1_2=** Error while Running R script {0}\: {1} |
|
23 |
info_connectingToRAt=Connecting to R at {0}\:{1}. |
|
24 |
info_connectingToRAtWithUser=Connecting to R at {0}\:{1} with user {2}. |
|
25 |
info_lastSafeEvalExpression=Last safeeval expression\: {0}. |
|
26 |
info_rPathNotSetTryingToFindIt=R path is not set, trying to find it... |
|
27 |
info_savingChartToFile=Saving chart to file\: {0}. |
|
28 |
info_startingRWithCommandLine=Starting R with command line\: {0}. |
|
29 |
info_startingStatsEngine=Starting Statistics Engine\: user\: {0}, remote\: {1}, port\: {2}, debug\: {3} |
|
30 |
info_statisticsEngineLaunched=Statistical Engine launched |
|
31 |
info_tryingToStartRFrom=Try to start R from\: {0}... |
|
32 |
info_tryingToStartRWithRPath=Try to start R with path\: 'R'. |
|
33 |
ms=\ ms |
|
34 |
p0RScriptDoesntExist=** {0} R script doesn''t exist |
|
35 |
runningP0=Running {0} |
|
36 |
runningTextSelection=Running text selection... |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
doneDDot = Done in {0} ms. |
|
6 |
|
|
7 |
errorWhileRunningRScriptP0DDotP1 = ** Error while running R script {0}: {1}. |
|
8 |
|
|
9 |
error_cantFindRServeInPath = ** The Statistics Engine program path is set but we couldn't find it in: {0}. |
|
10 |
error_connectionFailed = ** Error while connecting to the stat engine. |
|
11 |
error_errorDuringItemsListExtraction = ** Error during items list extraction: |
|
12 |
error_errorWhileEvaluating = ** R error: "{0}"\nwhile evaluating: {1} |
|
13 |
error_evaluationError = ** Evaluation error: {0}\n{1}. |
|
14 |
error_failedToConnectToTheRWorkspace = ** Failed to connect to the R Workspace with {0}, {1} and {2}. |
|
15 |
error_failedToInitializeFileTransfert = ** Failed to initialize file transfert: {0}. |
|
16 |
error_failedToLoadLibrary = Failed to load the {0} library: {1}. |
|
17 |
error_failedToRunREG = ** Failed to run REG to find the location of R program. |
|
18 |
error_failedToStartRServe = Failed to start RServe. |
|
19 |
error_failedToStartRServeWithCommand = ** Failed to start Rserve with command: |
|
20 |
error_matrixIsEmpty = Matrix is empty. |
|
21 |
error_requestedObjectNotFoundInR = The requested object ({0}) was not found in the R workspace. |
|
22 |
error_rserveIsAlreadyRunningOnPort = Rserve is already running on port {0}. |
|
23 |
error_rservePathNotSet = ** The Statistics Engine program path is not set and we could not find it. |
|
24 |
error_unexpectedErrorInRStatisticsEngine = Unexpected error in R statistics engine: {0}. |
|
25 |
error_youNeedRSoftware = You need the 'R' software and you need to configure in the 'Tools/Preferences' window the correct path to it. |
|
26 |
|
|
27 |
info_connectingToRAt = Connecting to R at {0}:{1}. |
|
28 |
info_connectingToRAtWithUser = Connecting to R at {0}:{1} with user {2}. |
|
29 |
info_lastSafeEvalExpression = Last safeeval expression: {0}. |
|
30 |
info_rPathNotSetTryingToFindIt = R path is not set, trying to find it... |
|
31 |
info_savingChartToFile = Saving chart to file: {0}. |
|
32 |
info_startingRWithCommandLine = Starting R with command line: {0}. |
|
33 |
info_startingStatsEngine = Starting Statistics Engine: user: {0}, remote: {1}, port: {2}, debug: {3} |
|
34 |
info_statisticsEngineLaunched = Statistical Engine launched. |
|
35 |
info_tryingToStartRFrom = Trying to start R from: {0}... |
|
36 |
info_tryingToStartRWithRPath = Trying to start R with path: 'R'. |
|
37 |
|
|
38 |
ms = \ ms |
|
39 |
|
|
40 |
p0RScriptDoesntExist = ** {0} R script doesn''t exist. |
|
41 |
|
|
42 |
runningP0 = Running {0}... |
|
43 |
|
|
44 |
runningTextSelection = Running text selection... |
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/messages/messages_ru.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
doneDDot=Готово\: |
|
4 |
error_unexpectedErrorInRStatisticsEngine=Неожиданная ошибка в статистической машине R \: {0} |
|
5 |
errorWhileRunningRScriptP0DDotP1=** Ошибка во время выполнения скрипта R {0}\: {1} |
|
6 |
errorWhileRunningRScriptP0DDotP1_2=** Ошибка при выполнении скрипта R {0}\: {1} |
|
7 |
info_tryingToStartRWithRPath= |
|
8 |
ms=\ мс |
|
9 |
p0RScriptDoesntExist=** Файл скрипта R {0} не найден |
|
10 |
runningP0=Выполнение |
|
11 |
runningTextSelection=Выполнение выделения текста... |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
doneDDot = |
|
6 |
|
|
7 |
errorWhileRunningRScriptP0DDotP1 = ** Ошибка во время выполнения скрипта R {0}: {1}. |
|
8 |
|
|
9 |
error_unexpectedErrorInRStatisticsEngine = Неожиданная ошибка в статистической машине R: {0}. |
|
10 |
|
|
11 |
info_tryingToStartRWithRPath = |
|
12 |
|
|
13 |
ms = \ мс |
|
14 |
|
|
15 |
p0RScriptDoesntExist = ** Файл скрипта R {0} не найден. |
|
16 |
|
|
17 |
runningP0 = |
|
18 |
|
|
19 |
runningTextSelection = Выполнение выделения текста... |
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/messages/messages_fr.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
doneDDot=Terminé \: |
|
4 |
error_cantFindRServeInPath=** Le chemin du programme du serveur statistique a été renseigné mais sa recherche a échoué dans \: {0}. |
|
5 |
error_connectionFailed=** La connexion au moteur statistique a échoué. |
|
6 |
error_errorDuringItemsListExtraction=** Erreur lors de l'extraction de la liste d'items \: \t |
|
7 |
error_errorWhileEvaluating=** Erreur R \: "{0}"\nlors de l'évaluation de \: {1} |
|
8 |
error_evaluationError=** Erreur d'évaluation \: {0}\n{1}. |
|
9 |
error_failedToConnectToTheRWorkspace=** Echec de connexion à l'espace de travail R. |
|
10 |
error_failedToInitializeFileTransfert=** Echec de l'initialisation du transfert \: {0}. |
|
11 |
error_failedToLoadLibrary=La librairie {0} n'a pu être chargée \: {1}. |
|
12 |
error_failedToRunREG=** Echec du lancement de REG pour localiser le programme R. |
|
13 |
error_failedToStartRServe=Impossible de démarrer RServe. |
|
14 |
error_failedToStartRServeWithCommand=** Echec du lancement de Rserve avec la commande \: |
|
15 |
error_matrixIsEmpty=La matrice est vide. |
|
16 |
error_requestedObjectNotFoundInR=L'objet demandé ({0}) n'a pas été trouvé dans l'espace de travail R. |
|
17 |
error_rserveIsAlreadyRunningOnPort=Rserve est déja démarré sur le port {0}. |
|
18 |
error_rservePathNotSet=** Le chemin du programme du serveur statistique n'a pas été renseigné et sa recherche a échoué. |
|
19 |
error_unexpectedErrorInRStatisticsEngine=Erreur inattendue dans le moteur statistique R \: {0}. |
|
20 |
error_youNeedRSoftware=Vous avez besoin du logiciel 'R' et de configurer ses chemins via la fenêtre de préférences 'Outils/Préférences'. |
|
21 |
errorWhileRunningRScriptP0DDotP1=** Erreur lors de l''exécution du script R {0} \: {1} |
|
22 |
errorWhileRunningRScriptP0DDotP1_2=** Erreur lors de l''exécution du script R {0} \: {1} |
|
23 |
info_connectingToRAt=Connexion à R à {0}\:{1}. |
|
24 |
info_connectingToRAtWithUser=Connexion à R à {0}\:{1} avec l'utilisateur {2}. |
|
25 |
info_lastSafeEvalExpression=Dernier 'safeeval' \: {0}. |
|
26 |
info_rPathNotSetTryingToFindIt=Chemin d'accès à R non fourni, tentative de résolution... |
|
27 |
info_savingChartToFile=Sauvegarde du graphique dans le fichier \: {0}. |
|
28 |
info_startingRWithCommandLine=Démarrage de R avec la ligne de commande \: {0}. |
|
29 |
info_startingStatsEngine=Démarrage du moteur de statistiques \: utilisateur \: {0}, distant \: {1}, port \: {2}, debug \: {3} |
|
30 |
info_statisticsEngineLaunched=Moteur statistique lancé |
|
31 |
info_tryingToStartRFrom=Tentative de démarrage de R depuis \: {0}... |
|
32 |
info_tryingToStartRWithRPath=Tentative de démarrage de R depuis le chemin \: 'R'. |
|
33 |
ms=\ ms |
|
34 |
p0RScriptDoesntExist=** Le fichier de script R {0} n''existe pas |
|
35 |
runningP0=Exécution de {0} |
|
36 |
runningTextSelection=Exécution de la sélection de texte... |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
doneDDot = Terminé en {0} ms. |
|
6 |
|
|
7 |
errorWhileRunningRScriptP0DDotP1 = ** Erreur lors de l''exécution du script R {0} : {1}. |
|
8 |
|
|
9 |
error_cantFindRServeInPath = ** Le chemin du programme du serveur statistique a été renseigné mais sa recherche a échoué dans : {0}. |
|
10 |
error_connectionFailed = ** La connexion au moteur statistique a échoué. |
|
11 |
error_errorDuringItemsListExtraction = ** Erreur lors de l'extraction de la liste d'items : \ |
|
12 |
error_errorWhileEvaluating = ** Erreur R : "{0}"\nlors de l'évaluation de : {1} |
|
13 |
error_evaluationError = ** Erreur d'évaluation : {0}\n{1}. |
|
14 |
error_failedToConnectToTheRWorkspace = ** Echec de connexion à l'espace de travail R avec {0}, {1} and {2}. |
|
15 |
error_failedToInitializeFileTransfert = ** Echec de l'initialisation du transfert : {0}. |
|
16 |
error_failedToLoadLibrary = La librairie {0} n'a pu être chargée : {1}. |
|
17 |
error_failedToRunREG = ** Echec du lancement de REG pour localiser le programme R. |
|
18 |
error_failedToStartRServe = Impossible de démarrer RServe. |
|
19 |
error_failedToStartRServeWithCommand = ** Echec du lancement de Rserve avec la commande : |
|
20 |
error_matrixIsEmpty = La matrice est vide. |
|
21 |
error_requestedObjectNotFoundInR = L'objet demandé ({0}) n'a pas été trouvé dans l'espace de travail R. |
|
22 |
error_rserveIsAlreadyRunningOnPort = Rserve est déja démarré sur le port {0}. |
|
23 |
error_rservePathNotSet = ** Le chemin du programme du serveur statistique n'a pas été renseigné et sa recherche a échoué. |
|
24 |
error_unexpectedErrorInRStatisticsEngine = Erreur inattendue dans le moteur statistique R : {0}. |
|
25 |
error_youNeedRSoftware = Vous avez besoin du logiciel 'R' et de configurer ses chemins via la fenêtre de préférences 'Outils/Préférences'. |
|
26 |
|
|
27 |
info_connectingToRAt = Connexion à R à {0}:{1}. |
|
28 |
info_connectingToRAtWithUser = Connexion à R à {0}:{1} avec l'utilisateur {2}. |
|
29 |
info_lastSafeEvalExpression = Dernier 'safeeval' : {0}. |
|
30 |
info_rPathNotSetTryingToFindIt = Chemin d'accès à R non fourni, tentative de résolution... |
|
31 |
info_savingChartToFile = Sauvegarde du graphique dans le fichier : {0}. |
|
32 |
info_startingRWithCommandLine = Démarrage de R avec la ligne de commande : {0}. |
|
33 |
info_startingStatsEngine = Démarrage du moteur de statistiques : utilisateur : {0}, distant : {1}, port : {2}, debug : {3} |
|
34 |
info_statisticsEngineLaunched = Moteur de statistiques lancé. |
|
35 |
info_tryingToStartRFrom = Tentative de démarrage de R depuis : {0}... |
|
36 |
info_tryingToStartRWithRPath = Tentative de démarrage de R depuis le chemin : 'R'. |
|
37 |
|
|
38 |
ms = \ ms |
|
39 |
|
|
40 |
p0RScriptDoesntExist = ** Le fichier de script R {0} n''existe pas. |
|
41 |
|
|
42 |
runningP0 = Exécution de {0}... |
|
43 |
|
|
44 |
runningTextSelection = Exécution de la sélection de texte... |
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/data/MatrixImpl.java (revision 1363) | ||
---|---|---|
422 | 422 |
// System.out.println("nrow: " + nrow); |
423 | 423 |
// System.out.println("ncol: " + ncol); |
424 | 424 |
// System.out.println(rw.eval("print(" + getSymbol() + ");")); |
425 |
throw new IllegalArgumentException(StatsEngineCoreMessages.unknownTypeDDot |
|
426 |
+ r.getAttribute(StatsEngineCoreMessages.mode)); |
|
425 |
throw new IllegalArgumentException(StatsEngineCoreMessages.bind(StatsEngineCoreMessages.unknownTypeDDot, r.getAttribute(StatsEngineCoreMessages.mode))); |
|
427 | 426 |
} |
428 | 427 |
} |
429 | 428 |
|
... | ... | |
487 | 486 |
@Override |
488 | 487 |
public int getNColumns() { |
489 | 488 |
try { |
490 |
return RWorkspace.getRWorkspaceInstance().eval(StatsEngineCoreMessages.dim+symbol+")[2]").asInteger(); //$NON-NLS-2$
|
|
489 |
return RWorkspace.getRWorkspaceInstance().eval("dim(" + symbol + ")[2]").asInteger(); //$NON-NLS-1$ //$NON-NLS-2$
|
|
491 | 490 |
} catch (Exception e) { |
492 |
Log.severe("Matrix: failed to get nrow: "+e); //$NON-NLS-1$
|
|
491 |
Log.severe(StatsEngineCoreMessages.bind("Matrix: failed to get nrow: {0}.", e));
|
|
493 | 492 |
} |
494 | 493 |
return 0; |
495 | 494 |
} |
... | ... | |
500 | 499 |
@Override |
501 | 500 |
public int getNRows() { |
502 | 501 |
try { |
503 |
return RWorkspace.getRWorkspaceInstance().eval(StatsEngineCoreMessages.dim+symbol+")[1]").asInteger(); //$NON-NLS-2$
|
|
502 |
return RWorkspace.getRWorkspaceInstance().eval("dim(" + symbol + ")[1]").asInteger(); //$NON-NLS-1$ //$NON-NLS-2$
|
|
504 | 503 |
} catch (Exception e) { |
505 |
Log.severe(StatsEngineCoreMessages.matrixDDotFailedToGetNrowDDot + e);
|
|
504 |
Log.severe(StatsEngineCoreMessages.bind(StatsEngineCoreMessages.matrixDDotFailedToGetNrowDDot, e));
|
|
506 | 505 |
} |
507 | 506 |
return 0; |
508 | 507 |
} |
... | ... | |
514 | 513 |
public Vector getRow(int index) throws RException, RWorkspaceException { |
515 | 514 |
int nrow = getNRows(); |
516 | 515 |
if (index < 0 || index >= nrow) { |
517 |
throw new IllegalArgumentException(StatsEngineCoreMessages.rowIndex + index |
|
518 |
+ StatsEngineCoreMessages.tooBigMax + nrow + ")"); //$NON-NLS-1$ |
|
516 |
throw new IllegalArgumentException(StatsEngineCoreMessages.bind(StatsEngineCoreMessages.rowIndex, index, nrow)); |
|
519 | 517 |
} |
520 | 518 |
String rowName = createSymbole(Vector.class); |
521 | 519 |
rw.voidEval(rowName + "<- " + symbol + "[" + (index + 1) + ", ];"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ |
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/RScriptEngine.java (revision 1363) | ||
---|---|---|
10 | 10 |
import org.eclipse.core.runtime.Status; |
11 | 11 |
import org.eclipse.osgi.util.NLS; |
12 | 12 |
import org.txm.core.engines.ScriptEngine; |
13 |
import org.txm.core.messages.TXMCoreMessages; |
|
13 | 14 |
import org.txm.statsengine.r.core.exceptions.RWorkspaceException; |
14 | 15 |
import org.txm.statsengine.r.core.messages.RCoreMessages; |
15 | 16 |
import org.txm.utils.logger.Log; |
... | ... | |
68 | 69 |
// RConsole.printServer(str); |
69 | 70 |
RWorkspace.appendtoEvalLog(text); |
70 | 71 |
|
71 |
System.out.println(RCoreMessages.doneDDot+(System.currentTimeMillis()-time)+RCoreMessages.ms); |
|
72 |
System.out.println(TXMCoreMessages.bind(RCoreMessages.doneDDot, (System.currentTimeMillis()-time))); |
|
73 |
|
|
72 | 74 |
} catch(Exception e) { |
73 | 75 |
System.out.println(NLS.bind(RCoreMessages.errorWhileRunningRScriptP0DDotP1, text, Log.toString(e))); |
74 | 76 |
// StatusLine.error(NLS.bind(TXMUIMessages.ExecuteRText_1, text, Log.toString(e))); |
... | ... | |
85 | 87 |
* |
86 | 88 |
* @param scriptfile the scriptfile |
87 | 89 |
*/ |
90 |
// FIXME: this method should call the method above : executeText(); |
|
88 | 91 |
public IStatus executeScript(File rFile, HashMap<String, Object> env) { |
89 | 92 |
if (!rFile.exists()) { |
90 | 93 |
System.err.println(NLS.bind(RCoreMessages.p0RScriptDoesntExist, rFile)); |
... | ... | |
130 | 133 |
// if (rw.isLogging() && str.length() > 0) |
131 | 134 |
// RConsole.printServer(cmd); |
132 | 135 |
// } |
133 |
System.out.println(RCoreMessages.doneDDot+(System.currentTimeMillis()-time)+RCoreMessages.ms); |
|
136 |
|
|
137 |
System.out.println(TXMCoreMessages.bind(RCoreMessages.doneDDot, (System.currentTimeMillis()-time))); |
|
138 |
|
|
134 | 139 |
} catch(Exception e) { |
135 |
System.out.println(NLS.bind(RCoreMessages.errorWhileRunningRScriptP0DDotP1_2, rFile, e));
|
|
136 |
//StatusLine.error(NLS.bind(RCoreMessages.errorWhileRunningRScriptP0DDotP1_2, rFile, e));
|
|
140 |
System.out.println(NLS.bind(RCoreMessages.errorWhileRunningRScriptP0DDotP1, rFile, e)); |
|
141 |
//StatusLine.error(NLS.bind(RCoreMessages.errorWhileRunningRScriptP0DDotP1, rFile, e)); |
|
137 | 142 |
Log.printStackTrace(e); |
138 | 143 |
return Status.CANCEL_STATUS; |
139 | 144 |
} finally { |
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/RWorkspace.java (revision 1363) | ||
---|---|---|
46 | 46 |
import org.rosuda.REngine.Rserve.RConnection; |
47 | 47 |
import org.rosuda.REngine.Rserve.RserveException; |
48 | 48 |
import org.txm.Toolbox; |
49 |
import org.txm.core.preferences.TBXPreferences; |
|
50 |
import org.txm.core.preferences.TXMPreferences; |
|
49 |
import org.txm.core.messages.TXMCoreMessages; |
|
51 | 50 |
import org.txm.statsengine.core.StatException; |
52 | 51 |
import org.txm.statsengine.core.data.QuantitativeDataStructure; |
53 | 52 |
import org.txm.statsengine.core.messages.StatsEngineCoreMessages; |
... | ... | |
205 | 204 |
*/ |
206 | 205 |
public static boolean connect(String host, int port, String user, String password) { |
207 | 206 |
try { |
208 |
Log.info(RCoreMessages.bind(RCoreMessages.info_connectingToRAtWithUser, new Object[] {host, port, user}));
|
|
207 |
Log.info(TXMCoreMessages.bind(RCoreMessages.info_connectingToRAtWithUser, new Object[] {host, port, user}));
|
|
209 | 208 |
connection = new RConnection(host, port); |
210 | 209 |
connection.login(user, password); |
211 | 210 |
connection.setStringEncoding("utf8"); // mandatory ! |
212 | 211 |
return isConnected(); |
213 | 212 |
|
214 | 213 |
} catch (RserveException x) { |
215 |
System.out.println(RCoreMessages.error_failedToConnectToTheRWorkspace + host+ ", " + port + ", " + user); //$NON-NLS-1$//$NON-NLS-2$ |
|
216 |
Log.severe(RCoreMessages.error_failedToConnectToTheRWorkspace + host+ ", " + port + ", " + user); //$NON-NLS-1$//$NON-NLS-2$ |
|
214 |
Log.severe(TXMCoreMessages.bind(RCoreMessages.error_failedToConnectToTheRWorkspace, host, port, user)); |
|
217 | 215 |
} |
218 | 216 |
return false; |
219 | 217 |
} |
... | ... | |
1134 | 1132 |
public int[][] evalToInt2D(String exp) throws RWorkspaceException { |
1135 | 1133 |
int[][] res = null; |
1136 | 1134 |
try { |
1137 |
int[] dims = eval(StatsEngineCoreMessages.dim+exp+")").asIntegers(); //$NON-NLS-2$
|
|
1135 |
int[] dims = eval("dim(" + exp + ")").asIntegers(); //$NON-NLS-1$ //$NON-NLS-2$
|
|
1138 | 1136 |
int ncol = dims[1]; |
1139 | 1137 |
int nrow = dims[0]; |
1140 | 1138 |
int[] tmp = eval("c("+exp+")").asIntegers(); //$NON-NLS-1$ //$NON-NLS-2$ |
tmp/org.txm.specificities.rcp/src/org/txm/specificities/rcp/messages/messages.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
banality=Banality |
|
4 |
drawBars=Draw bars |
|
5 |
drawLines=Draw lines |
|
6 |
failedToComputeSpecificities=Failed to compute specificities. |
|
7 |
groupBarsByLines=Group bars by lines |
|
8 |
maximumScore=Maximum score |
|
9 |
scoresFormatDefaultIsPercent1f=Scores format (default is %,.1f) |
|
10 |
specificities=Specificities |
|
11 |
t=\ T |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
banality = Banality |
|
6 |
|
|
7 |
drawBars = Draw bars |
|
8 |
|
|
9 |
drawLines = Draw lines |
|
10 |
|
|
11 |
failedToComputeSpecificities = Failed to compute specificities: {0}. |
|
12 |
|
|
13 |
groupBarsByLines = Group bars by lines |
|
14 |
|
|
15 |
maximumScore = Maximum score |
|
16 |
|
|
17 |
scoresFormatDefaultIsPercent1f = Scores format (default is %,.1f) |
|
18 |
|
|
19 |
specificities = Specificities |
|
20 |
|
|
21 |
t = \ T |
tmp/org.txm.specificities.rcp/src/org/txm/specificities/rcp/messages/messages_ru.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
banality=N/A_Banalit� |
|
4 |
drawBars=График\: показать столбики |
|
5 |
drawLines=График\: показать кривые |
|
6 |
failedToComputeSpecificities=Не удалось подсчитать специфичность |
|
7 |
groupBarsByLines=Сгруппировать столбики по строкам таблицы |
|
8 |
scoresFormatDefaultIsPercent1f=N/A_Scores format (default%,.1f) |
|
9 |
specificities=Специфичность |
|
10 |
t=T |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
banality = N/A_Banalité |
|
6 |
|
|
7 |
drawBars = График: показать столбики |
|
8 |
|
|
9 |
drawLines = График: показать кривые |
|
10 |
|
|
11 |
failedToComputeSpecificities = Не удалось подсчитать специфичность: {0}. |
|
12 |
|
|
13 |
groupBarsByLines = Сгруппировать столбики по строкам таблицы |
|
14 |
|
|
15 |
scoresFormatDefaultIsPercent1f = N/A_Scores format (default%,.1f) |
|
16 |
|
|
17 |
specificities = Специфичность |
|
18 |
|
|
19 |
t = T |
tmp/org.txm.specificities.rcp/src/org/txm/specificities/rcp/messages/messages_fr.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
banality=Banalité |
|
4 |
drawBars=Afficher les barres |
|
5 |
drawLines=Afficher les lignes |
|
6 |
failedToComputeSpecificities=Le calcul des spécificités a échoué. |
|
7 |
groupBarsByLines=Regrouper les barres par les lignes de la table |
|
8 |
maximumScore=Indice maximum |
|
9 |
scoresFormatDefaultIsPercent1f=Format des indices (par défaut \: %,.1f) |
|
10 |
specificities=Spécificités |
|
11 |
t=T |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
banality = Banalité |
|
6 |
|
|
7 |
drawBars = Afficher les barres |
|
8 |
|
|
9 |
drawLines = Afficher les lignes |
|
10 |
|
|
11 |
failedToComputeSpecificities = Le calcul des spécificités a échoué : {0}. |
|
12 |
|
|
13 |
groupBarsByLines = Regrouper les barres par les lignes de la table |
|
14 |
|
|
15 |
maximumScore = Indice maximum |
|
16 |
|
|
17 |
scoresFormatDefaultIsPercent1f = Format des indices (par défaut : %,.1f) |
|
18 |
|
|
19 |
specificities = Spécificités |
|
20 |
|
|
21 |
t = T |
tmp/org.txm.statsengine.core/src/org/txm/statsengine/core/messages/messages.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
allTheInnerArrayDoNotHaveTheSameLength=** All the inner array do not have the same length. |
|
4 |
anInnerArrayCannotBeNull=** An inner array cannot be null. |
|
5 |
aZerobasedIndexCannotBeInf0OrSupToTheNumberOfIndexedElements=** A zero-based index cannot be < 0 or > to the number of indexed elements. |
|
6 |
cannotDeleteAllLines=Cannot delete all lines |
|
7 |
cannotDeleteANonexistingObject=** Cannot delete a non-existing object. |
|
8 |
colIndex=Col index ( |
|
9 |
columnIndex=Column index ( |
|
10 |
columnNamesOfAContingencyTableCannotBeNull=Column names of a contingency table cannot be null |
|
11 |
dim=dim( |
|
12 |
error_statsEngineNotReadyCancelingCommand=Statistics Engine is not ready, canceling command. |
|
13 |
failedToGetRowNames=Failed to get row names |
|
14 |
innerArraysMustBeOfDimensionSup0=** Inner arrays must be of dimension > 0. |
|
15 |
matrixDDotFailedToGetNrowDDot=Matrix\: failed to get nrow\: |
|
16 |
matrixImplDDotErrorDDotColumnSizeDiffersDDotOriginal=MatrixImpl\: Error\: column size differs\: original |
|
17 |
mode=mode |
|
18 |
nothingToDoWithAnEmptyMatrix=** Nothing to do with an empty matrix |
|
19 |
notImplemented=** Not implemented |
|
20 |
rObjectEvaluatedToNull=R object evaluated to null. |
|
21 |
rowIndex=Row index ( |
|
22 |
rowNamesOfAContingencyTableCannotBeNull=Row names of a contingency table cannot be null. |
|
23 |
theIndexArrayCanNotBeNullOrEmpty=** The index array can not be null or empty. |
|
24 |
tooBigMax=) too big (max |
|
25 |
unknownTypeDDot=Unknown type\: |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
aZerobasedIndexCannotBeInf0OrSupToTheNumberOfIndexedElements = ** A zero-based index cannot be < 0 or > to the number of indexed elements. |
|
6 |
|
|
7 |
allTheInnerArrayDoNotHaveTheSameLength = ** All the inner array do not have the same length. |
|
8 |
|
|
9 |
anInnerArrayCannotBeNull = ** An inner array cannot be null. |
|
10 |
|
|
11 |
cannotDeleteANonexistingObject = ** Cannot delete a non-existing object. |
|
12 |
|
|
13 |
cannotDeleteAllLines = Cannot delete all lines |
|
14 |
|
|
15 |
colIndex = Col index ( |
|
16 |
|
|
17 |
columnIndex = Column index ( |
|
18 |
|
|
19 |
columnNamesOfAContingencyTableCannotBeNull = Column names of a contingency table cannot be null |
|
20 |
|
|
21 |
error_statsEngineNotReadyCancelingCommand = Statistics Engine is not ready, canceling command. |
|
22 |
|
|
23 |
failedToGetRowNames = Failed to get row names |
|
24 |
|
|
25 |
innerArraysMustBeOfDimensionSup0 = ** Inner arrays must be of dimension > 0. |
|
26 |
|
|
27 |
matrixDDotFailedToGetNrowDDot = Matrix: failed to get nrow: {0}. |
|
28 |
|
|
29 |
matrixImplDDotErrorDDotColumnSizeDiffersDDotOriginal = MatrixImpl: Error: column size differs: original |
|
30 |
|
|
31 |
mode = mode |
|
32 |
|
|
33 |
notImplemented = ** Not implemented |
|
34 |
|
|
35 |
nothingToDoWithAnEmptyMatrix = ** Nothing to do with an empty matrix |
|
36 |
|
|
37 |
rObjectEvaluatedToNull = R object evaluated to null. |
|
38 |
|
|
39 |
rowIndex = Row index ({0}) too big (max {1}) |
|
40 |
|
|
41 |
rowNamesOfAContingencyTableCannotBeNull = Row names of a contingency table cannot be null. |
|
42 |
|
|
43 |
theIndexArrayCanNotBeNullOrEmpty = ** The index array can not be null or empty. |
|
44 |
|
|
45 |
tooBigMax = ) too big (max |
|
46 |
|
|
47 |
unknownTypeDDot = Unknown type: {0}. |
tmp/org.txm.statsengine.core/src/org/txm/statsengine/core/messages/StatsEngineCoreMessages.java (revision 1363) | ||
---|---|---|
28 | 28 |
public static String tooBigMax; |
29 | 29 |
public static String colIndex; |
30 | 30 |
public static String rObjectEvaluatedToNull; |
31 |
public static String dim; |
|
32 | 31 |
public static String unknownTypeDDot; |
33 | 32 |
public static String mode; |
34 | 33 |
public static String columnIndex; |
tmp/org.txm.statsengine.core/src/org/txm/statsengine/core/messages/messages_ru.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
error_statsEngineNotReadyCancelingCommand= |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
error_statsEngineNotReadyCancelingCommand = |
|
6 |
|
|
7 |
rowIndex = |
tmp/org.txm.statsengine.core/src/org/txm/statsengine/core/messages/messages_fr.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
allTheInnerArrayDoNotHaveTheSameLength=** Les tableaux internes n'ont pas tous la même dimension. |
|
4 |
anInnerArrayCannotBeNull=** Un tableau interne ne peut pas être nul |
|
5 |
aZerobasedIndexCannotBeInf0OrSupToTheNumberOfIndexedElements=** Un index commençant à 0 ne peut pas être inférieur à 0 ou supérieur au nombre d'éléments indexés. |
|
6 |
cannotDeleteAllLines=Impossible de supprimer toutes les lignes |
|
7 |
cannotDeleteANonexistingObject=** Impossible de supprimer un objet qui n'existe pas. |
|
8 |
colIndex=Index de colonne ( |
|
9 |
columnIndex=Index de colonne ( |
|
10 |
columnNamesOfAContingencyTableCannotBeNull=Les noms de colonnes d'une matrice de contingence ne peuvent pas être nuls. |
|
11 |
dim=dim( |
|
12 |
error_statsEngineNotReadyCancelingCommand=Le moteur de statistiques n'est pas initialisé, annulation de la commande. |
|
13 |
failedToGetRowNames=Impossible d'obtenir les noms de lignes |
|
14 |
innerArraysMustBeOfDimensionSup0=** Les tableaux internes doivent avoir une dimension supérieure à 0 |
|
15 |
matrixDDotFailedToGetNrowDDot=Matrice\: impossible d'obtenir le nombre de lignes\: |
|
16 |
matrixImplDDotErrorDDotColumnSizeDiffersDDotOriginal=MatrixImpl\: Erreur\: la taille des colonnes diffère de l'originale |
|
17 |
mode=mode |
|
18 |
nothingToDoWithAnEmptyMatrix=** Rien à faire avec une matrice vide |
|
19 |
notImplemented=** Non implémenté |
|
20 |
rObjectEvaluatedToNull=L'objet R a une valeur nulle. |
|
21 |
rowIndex=Index de ligne ( |
|
22 |
rowNamesOfAContingencyTableCannotBeNull=Les noms de lignes d'une matrice de contingence ne peuvent pas être nuls. |
|
23 |
theIndexArrayCanNotBeNullOrEmpty=** Le tableau d'index ne peut pas être nul ou vide. |
|
24 |
tooBigMax=) trop grand (max |
|
25 |
unknownTypeDDot=Type inconnu \: |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
aZerobasedIndexCannotBeInf0OrSupToTheNumberOfIndexedElements = ** Un index commençant à 0 ne peut pas être inférieur à 0 ou supérieur au nombre d'éléments indexés. |
|
6 |
|
|
7 |
allTheInnerArrayDoNotHaveTheSameLength = ** Les tableaux internes n'ont pas tous la même dimension. |
|
8 |
|
|
9 |
anInnerArrayCannotBeNull = ** Un tableau interne ne peut pas être nul |
|
10 |
|
|
11 |
cannotDeleteANonexistingObject = ** Impossible de supprimer un objet qui n'existe pas. |
|
12 |
|
|
13 |
cannotDeleteAllLines = Impossible de supprimer toutes les lignes |
|
14 |
|
|
15 |
colIndex = Index de colonne ( |
|
16 |
|
|
17 |
columnIndex = Index de colonne ( |
|
18 |
|
|
19 |
columnNamesOfAContingencyTableCannotBeNull = Les noms de colonnes d'une matrice de contingence ne peuvent pas être nuls. |
|
20 |
|
|
21 |
error_statsEngineNotReadyCancelingCommand = Le moteur de statistiques n'est pas initialisé, annulation de la commande. |
|
22 |
|
|
23 |
failedToGetRowNames = Impossible d'obtenir les noms de lignes |
|
24 |
|
|
25 |
innerArraysMustBeOfDimensionSup0 = ** Les tableaux internes doivent avoir une dimension supérieure à 0 |
|
26 |
|
|
27 |
matrixDDotFailedToGetNrowDDot = Matrice: impossible d'obtenir le nombre de lignes: {0}. |
|
28 |
|
|
29 |
matrixImplDDotErrorDDotColumnSizeDiffersDDotOriginal = MatrixImpl: Erreur: la taille des colonnes diffère de l'originale |
|
30 |
|
|
31 |
mode = mode |
|
32 |
|
|
33 |
notImplemented = ** Non implémenté |
|
34 |
|
|
35 |
nothingToDoWithAnEmptyMatrix = ** Rien à faire avec une matrice vide |
|
36 |
|
|
37 |
rObjectEvaluatedToNull = L'objet R a une valeur nulle. |
|
38 |
|
|
39 |
rowIndex = Index de ligne ({0}) trop grand (max {1}) |
|
40 |
|
|
41 |
rowNamesOfAContingencyTableCannotBeNull = Les noms de lignes d'une matrice de contingence ne peuvent pas être nuls. |
|
42 |
|
|
43 |
theIndexArrayCanNotBeNullOrEmpty = ** Le tableau d'index ne peut pas être nul ou vide. |
|
44 |
|
|
45 |
tooBigMax = ) trop grand (max |
|
46 |
|
|
47 |
unknownTypeDDot = Type inconnu : {0}. |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/statsengine/r/function/SpecificitiesR.java (revision 1363) | ||
---|---|---|
30 | 30 |
import org.rosuda.REngine.REXP; |
31 | 31 |
import org.rosuda.REngine.REXPMismatchException; |
32 | 32 |
import org.rosuda.REngine.Rserve.RserveException; |
33 |
import org.txm.core.messages.TXMCoreMessages; |
|
33 | 34 |
import org.txm.lexicaltable.core.statsengine.data.ILexicalTable; |
34 | 35 |
import org.txm.specificities.core.messages.SpecificitiesCoreMessages; |
35 | 36 |
import org.txm.specificities.core.statsengine.data.ISpecificities; |
... | ... | |
101 | 102 |
super(prefixR+(specif_counter++)); |
102 | 103 |
|
103 | 104 |
RWorkspace rw = RWorkspace.getRWorkspaceInstance(); |
104 |
rw.safeEval("library(textometry)"); |
|
105 |
rw.safeEval("library(textometry)"); //$NON-NLS-1$
|
|
105 | 106 |
REXP r = rw.callFunction("specificities.lexicon.new", new QuantitativeDataStructure[] { lexicon, subLexicon }, symbol); //$NON-NLS-1$ |
106 | 107 |
// double[] res = RWorkspace.toDouble(r); |
107 | 108 |
//System.out.println(" build double matrix"); |
... | ... | |
130 | 131 |
column = new VectorImpl(partFocus); |
131 | 132 |
|
132 | 133 |
try { |
133 |
rw.safeEval("library(textometry)"); |
|
134 |
rw.safeEval("library(textometry)"); //$NON-NLS-1$
|
|
134 | 135 |
} catch (Exception e1) { |
135 | 136 |
// TODO Auto-generated catch block |
136 | 137 |
e1.printStackTrace(); |
... | ... | |
141 | 142 |
try { |
142 | 143 |
res = r.asDoubleMatrix(); |
143 | 144 |
} catch (Exception e) { |
144 |
throw new StatException(SpecificitiesCoreMessages.failedToGetTheSpecificitesDDot + e.getMessage(), e);
|
|
145 |
throw new StatException(TXMCoreMessages.bind(SpecificitiesCoreMessages.failedToGetTheSpecificitesDDot, e.getMessage()), e);
|
|
145 | 146 |
} |
146 |
Log.finest((res.length * res[0].length) + SpecificitiesCoreMessages.specificityIndexComputed);
|
|
147 |
Log.finest(TXMCoreMessages.bind(SpecificitiesCoreMessages.specificityIndexComputed, (res.length * res[0].length)));
|
|
147 | 148 |
|
148 | 149 |
return res; |
149 | 150 |
} |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/messages/messages_fr.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
banalityDDotP0=Banalité \: {0} |
|
4 |
cantCreateSpecificitiesChartFileChartsEngineDDotP0=Impossible de créer le fichier du graphique des spécificités (moteur de production de graphiques\: {0}) |
|
5 |
error_errorWhileComputingSpecificities=** Erreur lors du calcul des spécificités \: {0} |
|
6 |
failedToGetTheSpecificitesDDot=** Echec d'accès aux spécificités \: |
|
7 |
noSpecificitiesIndexArray=** Pas de tableau d'index de spécificité |
|
8 |
numberOfRowsWantedP0AndFoundP1Mismatch=** Le nombre de lignes prévu ({0}) et trouvé ({1}) ne correspondent pas. |
|
9 |
part=Partie |
|
10 |
referenceToNonExistingRow=** Référence à une ligne inexistante |
|
11 |
relativeFrequencyPercent=Fréquence Relative % |
|
12 |
RESULT_TYPE=Spécificités |
|
13 |
score=Score |
|
14 |
specificitiesSelection=Sélection de spécificités |
|
15 |
specificityIndexComputed=\ spécificités calculées |
|
16 |
theLexicalTableCannotBeNull=** La table lexicale ne peut être nulle. |
|
17 |
theSpecificityIndexArrayDoesNotProperlyRepresentAMatrix=** Le tableau d'index des spécificités ne correspond pas à une matrice |
|
18 |
unit=Unité |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
RESULT_TYPE = Spécificités |
|
6 |
|
|
7 |
banalityDDotP0 = Banalité : {0} |
|
8 |
|
|
9 |
cantCreateSpecificitiesChartFileChartsEngineDDotP0 = Impossible de créer le fichier du graphique des spécificités (moteur de production de graphiques: {0}) |
|
10 |
|
|
11 |
error_errorWhileComputingSpecificities = ** Erreur lors du calcul des spécificités : {0} |
|
12 |
|
|
13 |
failedToGetTheSpecificitesDDot = ** Echec d'accès aux spécificités dans R : {0}. |
|
14 |
|
|
15 |
noSpecificitiesIndexArray = ** Pas de tableau d'index de spécificité |
|
16 |
|
|
17 |
numberOfRowsWantedP0AndFoundP1Mismatch = ** Le nombre de lignes prévu ({0}) et trouvé ({1}) ne correspondent pas. |
|
18 |
|
|
19 |
part = Partie |
|
20 |
|
|
21 |
referenceToNonExistingRow = ** Référence à une ligne inexistante |
|
22 |
|
|
23 |
relativeFrequencyPercent = Fréquence Relative % |
|
24 |
|
|
25 |
score = Score |
|
26 |
|
|
27 |
specificitiesSelection = Sélection de spécificités |
|
28 |
|
|
29 |
specificityIndexComputed = {0} spécificités calculées. |
|
30 |
|
|
31 |
theLexicalTableCannotBeNull = ** La table lexicale ne peut être nulle. |
|
32 |
|
|
33 |
theSpecificityIndexArrayDoesNotProperlyRepresentAMatrix = ** Le tableau d'index des spécificités ne correspond pas à une matrice |
|
34 |
|
|
35 |
unit = Unité |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/messages/messages.properties (revision 1363) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
banalityDDotP0=Banality\: {0} |
|
4 |
cantCreateSpecificitiesChartFileChartsEngineDDotP0=Can''t create specificities chart file (charts engine\: {0}) |
|
5 |
error_errorWhileComputingSpecificities=Error while computing specificities\: {0} |
|
6 |
failedToGetTheSpecificitesDDot=** Failed to get the specificites\: |
|
7 |
noSpecificitiesIndexArray=** No specificities index array. |
|
8 |
numberOfRowsWantedP0AndFoundP1Mismatch=** Number of rows wanted ({0}) and found ({1}) mismatch. |
|
9 |
part=Part |
|
10 |
referenceToNonExistingRow=** Reference to non existing row. |
|
11 |
relativeFrequencyPercent=Relative Frequency % |
|
12 |
RESULT_TYPE=Specificities |
|
13 |
score=Score |
|
14 |
specificitiesSelection=Specificities selection |
|
15 |
specificityIndexComputed=\ specificity index computed |
|
16 |
theLexicalTableCannotBeNull=** The lexical table cannot be null. |
|
17 |
theSpecificityIndexArrayDoesNotProperlyRepresentAMatrix=** The specificity index array does not properly represent a matrix. |
|
18 |
unit=Unit |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
2 |
#TXM messages generated by the PluginMessagesManager class |
|
3 |
#Mon Nov 12 17:18:22 CET 2018 |
|
4 |
|
|
5 |
RESULT_TYPE = Specificities |
|
6 |
|
|
7 |
banalityDDotP0 = Banality: {0} |
|
8 |
|
|
9 |
cantCreateSpecificitiesChartFileChartsEngineDDotP0 = Can''t create specificities chart file (charts engine: {0}) |
|
10 |
|
|
11 |
error_errorWhileComputingSpecificities = Error while computing specificities: {0} |
|
12 |
|
|
13 |
failedToGetTheSpecificitesDDot = ** Failed to get the specificities from R: {0}. |
|
14 |
|
|
15 |
noSpecificitiesIndexArray = ** No specificities index array. |
|
16 |
|
|
17 |
numberOfRowsWantedP0AndFoundP1Mismatch = ** Number of rows wanted ({0}) and found ({1}) mismatch. |
|
18 |
|
|
19 |
part = Part |
|
20 |
|
|
21 |
referenceToNonExistingRow = ** Reference to non existing row. |
|
22 |
|
|
23 |
relativeFrequencyPercent = Relative Frequency % |
|
24 |
|
|
25 |
score = Score |
|
26 |
|
|
27 |
specificitiesSelection = Specificities selection |
|
28 |
|
|
29 |
specificityIndexComputed = {0} specificity index computed. |
|
30 |
|
|
31 |
theLexicalTableCannotBeNull = ** The lexical table cannot be null. |
|
32 |
|
|
33 |
theSpecificityIndexArrayDoesNotProperlyRepresentAMatrix = ** The specificity index array does not properly represent a matrix. |
|
34 |
|
|
35 |
unit = Unit |
Formats disponibles : Unified diff