Révision 912
tmp/org.txm.ahc.core/src/org/txm/ahc/core/messages/messages.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
ERROR_EXPORT_TXT = Error while exporting CAH result:
|
|
2 |
RESULT_TYPE = AHC
|
|
3 | 3 |
|
4 |
LOG_COMPUTE_CAH = Computing CAH |
|
5 |
|
|
6 |
RESULT_TYPE = Classification |
|
4 |
error_errorWhileExportingCAHToTXT = Error while exporting CAH result: |
tmp/org.txm.ahc.core/src/org/txm/ahc/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
ERROR_EXPORT_TXT = Erreur durant l'export du résultat CAH :
|
|
2 |
RESULT_TYPE = CAH
|
|
3 | 3 |
|
4 |
LOG_COMPUTE_CAH = Calcul de la CAH |
|
5 |
|
|
6 |
RESULT_TYPE = Classification |
|
4 |
error_errorWhileExportingCAHToTXT = Erreur durant l'export du résultat CAH : |
tmp/org.txm.ahc.core/src/org/txm/ahc/core/messages/AHCCoreMessages.java (revision 912) | ||
---|---|---|
16 | 16 |
|
17 | 17 |
public static String RESULT_TYPE; |
18 | 18 |
|
19 |
public static String ERROR_EXPORT_TXT; |
|
20 |
public static String LOG_COMPUTE_CAH; |
|
19 |
public static String error_errorWhileExportingCAHToTXT; |
|
21 | 20 |
|
22 | 21 |
|
23 | 22 |
static { |
tmp/org.txm.ahc.core/src/org/txm/ahc/core/functions/AHC.java (revision 912) | ||
---|---|---|
302 | 302 |
rw.eval("print("+symbol+"$call)"); //$NON-NLS-1$ //$NON-NLS-2$ |
303 | 303 |
rw.eval("sink()"); //$NON-NLS-1$ |
304 | 304 |
} catch (RWorkspaceException e) { |
305 |
// TODO Auto-generated catch block |
|
306 |
System.out.println(AHCCoreMessages.ERROR_EXPORT_TXT + e); |
|
305 |
Log.severe(AHCCoreMessages.error_errorWhileExportingCAHToTXT); |
|
307 | 306 |
org.txm.utils.logger.Log.printStackTrace(e); |
308 | 307 |
ret = false; |
309 | 308 |
} finally { |
... | ... | |
659 | 658 |
rendering2D = rendering2d; |
660 | 659 |
} |
661 | 660 |
|
661 |
@Override |
|
662 |
public String getResultype() { |
|
663 |
return AHCCoreMessages.RESULT_TYPE; |
|
664 |
} |
|
662 | 665 |
|
663 | 666 |
|
667 |
|
|
664 | 668 |
} |
tmp/org.txm.tigersearch.rcp/src/org/txm/function/tigersearch/TIGERSearch.java (revision 912) | ||
---|---|---|
284 | 284 |
System.err.println("TIGERSearch._compute(): not yet implemented."); |
285 | 285 |
return false; |
286 | 286 |
} |
287 |
|
|
288 |
@Override |
|
289 |
public String getResultype() { |
|
290 |
return "Tiger search"; |
|
291 |
} |
|
292 |
|
|
287 | 293 |
} |
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/core/messages/CQPSearchEngineCoreMessages.java (revision 912) | ||
---|---|---|
13 | 13 |
*/ |
14 | 14 |
public class CQPSearchEngineCoreMessages extends NLS { |
15 | 15 |
|
16 |
private static final String BUNDLE_NAME = "org.txm.searchengine.cqp.core.messages.messages"; //$NON-NLS-1$ |
|
17 |
|
|
18 |
|
|
16 | 19 |
static { |
17 | 20 |
// initialize resource bundle |
18 |
Utf8NLS.initializeMessages(CQPSearchEngineCoreMessages.class); |
|
21 |
Utf8NLS.initializeMessages(BUNDLE_NAME, CQPSearchEngineCoreMessages.class);
|
|
19 | 22 |
} |
20 | 23 |
|
21 | 24 |
private CQPSearchEngineCoreMessages() { |
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/core/functions/preview/Preview.java (revision 912) | ||
---|---|---|
125 | 125 |
// TODO Auto-generated method stub |
126 | 126 |
return false; |
127 | 127 |
} |
128 |
|
|
129 |
@Override |
|
130 |
public String getResultype() { |
|
131 |
return "Preview"; |
|
132 |
} |
|
128 | 133 |
} |
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/core/functions/selection/Selection.java (revision 912) | ||
---|---|---|
526 | 526 |
return false; |
527 | 527 |
} |
528 | 528 |
|
529 |
@Override |
|
530 |
public String getResultype() { |
|
531 |
return "Selection"; |
|
532 |
} |
|
529 | 533 |
} |
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/core/functions/summary/Summary.java (revision 912) | ||
---|---|---|
297 | 297 |
public void setProperties(ArrayList<StructuralUnitProperty> properties) { |
298 | 298 |
this.properties = properties; |
299 | 299 |
} |
300 |
|
|
301 |
|
|
302 |
@Override |
|
303 |
public String getResultype() { |
|
304 |
return "Summary"; |
|
305 |
} |
|
300 | 306 |
} |
tmp/org.txm.referencer.core/src/org/txm/referencer/core/messages/package.html (revision 912) | ||
---|---|---|
1 |
<html><body>Core message keys : contains the low level shared messages</body></html> |
|
1 |
<html><body>Core message keys: contains the low level shared messages.</body></html> |
tmp/org.txm.referencer.core/src/org/txm/referencer/core/messages/ReferencerCoreMessages.java (revision 912) | ||
---|---|---|
12 | 12 |
*/ |
13 | 13 |
public class ReferencerCoreMessages extends NLS { |
14 | 14 |
|
15 |
|
|
16 |
private static final String BUNDLE_NAME = "org.txm.referencer.core.messages.messages"; //$NON-NLS-1$ |
|
17 |
|
|
18 |
public static String RESULT_TYPE; |
|
19 |
|
|
20 |
|
|
15 | 21 |
public static String Referencer_1; |
16 | 22 |
public static String Referencer_2; |
17 | 23 |
|
18 | 24 |
static { |
19 | 25 |
// initialize resource bundle |
20 |
Utf8NLS.initializeMessages(ReferencerCoreMessages.class); |
|
26 |
Utf8NLS.initializeMessages(BUNDLE_NAME, ReferencerCoreMessages.class);
|
|
21 | 27 |
} |
22 | 28 |
|
23 | 29 |
|
tmp/org.txm.referencer.core/src/org/txm/referencer/core/messages/messages.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
RESULT_TYPE = Referencer |
|
3 |
|
|
2 | 4 |
Referencer_1 = Referencer |
3 | 5 |
Referencer_2 = Referencer export failed: |
tmp/org.txm.referencer.core/src/org/txm/referencer/core/messages/messages_ru.properties (revision 912) | ||
---|---|---|
1 |
|
|
2 |
RESULT_TYPE = |
tmp/org.txm.referencer.core/src/org/txm/referencer/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
RESULT_TYPE = Références |
|
3 |
|
|
2 | 4 |
Referencer_1 = Références |
3 | 5 |
Referencer_2 = Références : l'export a échoué : |
tmp/org.txm.referencer.core/src/org/txm/referencer/core/functions/Referencer.java (revision 912) | ||
---|---|---|
78 | 78 |
/** |
79 | 79 |
* The Class Referencer computes the references of a query |
80 | 80 |
* |
81 |
* @author xxx?
|
|
81 |
* @author mdecorde
|
|
82 | 82 |
* @author sjacquot |
83 | 83 |
*/ |
84 | 84 |
public class Referencer extends TXMResult { |
... | ... | |
143 | 143 |
|
144 | 144 |
|
145 | 145 |
/** |
146 |
* Instantiates a new referencer.
|
|
146 |
* Creates a not computed referencer.
|
|
147 | 147 |
* |
148 |
* @param corpus the corpus
|
|
148 |
* @param parent the parent corpus
|
|
149 | 149 |
*/ |
150 |
public Referencer(Corpus corpus) {
|
|
151 |
super(corpus);
|
|
150 |
public Referencer(Corpus parent) {
|
|
151 |
super(parent);
|
|
152 | 152 |
} |
153 |
|
|
153 |
|
|
154 |
|
|
155 |
/** |
|
156 |
* Creates a not computed referencer. |
|
157 |
* @param uuid |
|
158 |
*/ |
|
159 |
public Referencer(String uuid) { |
|
160 |
super(uuid); |
|
161 |
} |
|
162 |
|
|
163 |
|
|
154 | 164 |
/** |
155 | 165 |
* As r matrix. |
156 | 166 |
* |
... | ... | |
768 | 778 |
|
769 | 779 |
} |
770 | 780 |
|
781 |
@Override |
|
782 |
public String getResultype() { |
|
783 |
return ReferencerCoreMessages.RESULT_TYPE; |
|
784 |
} |
|
785 |
|
|
771 | 786 |
|
772 | 787 |
} |
tmp/org.txm.para.core/src/org/txm/para/core/functions/ParaBrowser.java (revision 912) | ||
---|---|---|
294 | 294 |
System.err.println("ParaBrowser._compute() not implemented"); |
295 | 295 |
return false; |
296 | 296 |
} |
297 |
|
|
298 |
|
|
299 |
@Override |
|
300 |
public String getResultype() { |
|
301 |
return "Parallel browser"; |
|
302 |
} |
|
297 | 303 |
} |
tmp/org.txm.queryindex.rcp/src/org/txm/functions/queryindex/QueryIndex.java (revision 912) | ||
---|---|---|
463 | 463 |
return false; |
464 | 464 |
} |
465 | 465 |
|
466 |
|
|
467 |
@Override |
|
468 |
public String getResultype() { |
|
469 |
return "Query index"; |
|
470 |
} |
|
471 |
|
|
466 | 472 |
} |
tmp/org.txm.index.core/src/org/txm/index/core/messages/IndexCoreMessages.java (revision 912) | ||
---|---|---|
16 | 16 |
public static String DetailsFromCorpus; |
17 | 17 |
|
18 | 18 |
public static String RESULT_TYPE; |
19 |
public static String LEXICON_RESULT_TYPE; |
|
20 |
|
|
19 | 21 |
public static String Index_1; |
20 | 22 |
public static String Index_7; |
21 | 23 |
|
22 |
public static String LEXICON_RESULT_TYPE; |
|
24 |
|
|
23 | 25 |
public static String Lexicon_0; |
24 | 26 |
public static String Lexicon_3; |
25 | 27 |
public static String LexiconDetailsFromPartition; |
tmp/org.txm.index.core/src/org/txm/index/core/functions/Lexicon.java (revision 912) | ||
---|---|---|
57 | 57 |
import org.txm.statsengine.r.core.data.VectorImpl; |
58 | 58 |
import org.txm.utils.logger.Log; |
59 | 59 |
|
60 |
// TODO: Auto-generated Javadoc |
|
61 | 60 |
// TODO should be put into stat.data package ? |
62 | 61 |
/** |
63 | 62 |
* Represent a frequency list according to a {@link Corpus} (or a. |
... | ... | |
97 | 96 |
@Parameter(key=TBXPreferences.UNIT_PROPERTY) |
98 | 97 |
protected Property pProperty; |
99 | 98 |
|
100 |
public Lexicon(Corpus corpus) { |
|
101 |
this(null, corpus); |
|
99 |
|
|
100 |
/** |
|
101 |
* Creates a not computed lexicon from the specified corpus. |
|
102 |
* @param parent |
|
103 |
*/ |
|
104 |
public Lexicon(Corpus parent) { |
|
105 |
super(parent); |
|
102 | 106 |
} |
103 | 107 |
|
108 |
/** |
|
109 |
* Creates a not computed lexicon from the specified uuid node name. |
|
110 |
* @param uuid |
|
111 |
*/ |
|
104 | 112 |
public Lexicon(String uuid) { |
105 |
this(uuid, null);
|
|
113 |
super(uuid);
|
|
106 | 114 |
} |
107 | 115 |
|
108 |
public Lexicon(String uuid, Corpus corpus) { |
|
109 |
super(uuid, corpus); |
|
110 |
|
|
111 |
this.persistable = false; // FIXME: remove that later |
|
112 |
} |
|
113 | 116 |
|
114 |
|
|
115 |
|
|
116 | 117 |
@Override |
117 | 118 |
public boolean loadParameters() throws Exception { |
118 | 119 |
try { |
120 |
this.persistable = false; // FIXME: remove that later |
|
119 | 121 |
String p = this.getStringParameterValue(TBXPreferences.UNIT_PROPERTY); |
120 | 122 |
this.pProperty = getCorpus().getProperty(p); |
121 | 123 |
} |
... | ... | |
664 | 666 |
|
665 | 667 |
|
666 | 668 |
|
669 |
@Override |
|
670 |
public String getResultype() { |
|
671 |
return IndexCoreMessages.LEXICON_RESULT_TYPE; |
|
672 |
} |
|
673 |
|
|
674 |
|
|
667 | 675 |
} |
tmp/org.txm.index.core/src/org/txm/index/core/functions/Index.java (revision 912) | ||
---|---|---|
156 | 156 |
this(null, parent); |
157 | 157 |
} |
158 | 158 |
|
159 |
/** |
|
160 |
* |
|
161 |
* @param uuid |
|
162 |
*/ |
|
159 | 163 |
public Index(String uuid) { |
160 | 164 |
this(uuid, null); |
161 | 165 |
} |
162 | 166 |
|
167 |
/** |
|
168 |
* |
|
169 |
* @param uuid |
|
170 |
* @param parent |
|
171 |
*/ |
|
163 | 172 |
public Index(String uuid, TXMResult parent) { |
164 | 173 |
super(uuid, parent); |
165 | 174 |
} |
... | ... | |
1243 | 1252 |
} |
1244 | 1253 |
} |
1245 | 1254 |
} |
1255 |
|
|
1256 |
@Override |
|
1257 |
public String getResultype() { |
|
1258 |
return IndexCoreMessages.RESULT_TYPE; |
|
1259 |
} |
|
1246 | 1260 |
} |
tmp/org.txm.ca.core/src/org/txm/ca/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
EIGENVALUES_RESULT_TYPE = Eigenvalues |
|
3 |
|
|
4 |
RESULT_TYPE = AFC |
|
5 |
|
|
2 | 6 |
charts_error_factorialMap_cantCreateCAChartFile = Impossible de créer le fichier du graphique du plan factoriel de l'AFC (moteur de production de graphiques: {0}). |
3 | 7 |
charts_error_singularValues_cantCreateSingularValuesChart = Impossible de créer l'histogramme des valeurs propres de l'AFC. |
4 | 8 |
charts_factorialMap_axisLabelPrefix = Axe |
tmp/org.txm.ca.core/src/org/txm/ca/core/messages/messages.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
EIGENVALUES_RESULT_TYPE = Eigenvalues |
|
3 |
|
|
4 |
RESULT_TYPE = CA |
|
5 |
|
|
2 | 6 |
charts_error_factorialMap_cantCreateCAChartFile = Can't create CA chart file (charts engine: {0}). |
3 | 7 |
charts_error_singularValues_cantCreateSingularValuesChart = Can't create bar chart of the CA singular values. |
4 | 8 |
charts_factorialMap_axisLabelPrefix = Axis |
tmp/org.txm.ca.core/src/org/txm/ca/core/messages/CACoreMessages.java (revision 912) | ||
---|---|---|
13 | 13 |
public class CACoreMessages extends NLS { |
14 | 14 |
|
15 | 15 |
private static final String BUNDLE_NAME = "org.txm.ca.core.messages.messages"; //$NON-NLS-1$ |
16 |
|
|
17 |
public static String RESULT_TYPE; |
|
18 |
public static String EIGENVALUES_RESULT_TYPE; |
|
16 | 19 |
|
17 | 20 |
public static String charts_error_factorialMap_cantCreateCAChartFile; |
18 | 21 |
public static String charts_error_singularValues_cantCreateSingularValuesChart; |
tmp/org.txm.ca.core/src/org/txm/ca/core/functions/CA.java (revision 912) | ||
---|---|---|
927 | 927 |
public void setSecondDimension(int secondDimension) { |
928 | 928 |
this.secondDimension = secondDimension; |
929 | 929 |
} |
930 |
|
|
931 |
@Override |
|
932 |
public String getResultype() { |
|
933 |
return CACoreMessages.RESULT_TYPE; |
|
934 |
} |
|
935 |
|
|
936 |
|
|
930 | 937 |
} |
tmp/org.txm.ca.core/src/org/txm/ca/core/functions/Eigenvalues.java (revision 912) | ||
---|---|---|
5 | 5 |
|
6 | 6 |
import java.io.File; |
7 | 7 |
|
8 |
import org.txm.ca.core.messages.CACoreMessages; |
|
8 | 9 |
import org.txm.chartsengine.core.results.ChartResult; |
9 | 10 |
import org.txm.core.results.TXMParameters; |
10 | 11 |
import org.txm.core.results.TXMResult; |
... | ... | |
97 | 98 |
return false; |
98 | 99 |
} |
99 | 100 |
|
101 |
@Override |
|
102 |
public String getResultype() { |
|
103 |
return CACoreMessages.EIGENVALUES_RESULT_TYPE; |
|
104 |
} |
|
105 |
|
|
100 | 106 |
} |
tmp/org.txm.information.core/src/org/txm/properties/core/messages/messages_ru.properties (revision 912) | ||
---|---|---|
1 |
|
|
2 |
RESULT_TYPE = |
tmp/org.txm.information.core/src/org/txm/properties/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
18 | 18 |
Properties_7 = Nombre de mots |
19 | 19 |
Properties_8 = \ lexique |
20 | 20 |
Properties_9 = Nombre de propriétés de mot |
21 |
|
|
22 |
RESULT_TYPE = Propriétés |
tmp/org.txm.information.core/src/org/txm/properties/core/messages/PropertiesCoreMessages.java (revision 912) | ||
---|---|---|
5 | 5 |
|
6 | 6 |
|
7 | 7 |
/** |
8 |
* Information core messages.
|
|
8 |
* Properties core messages.
|
|
9 | 9 |
* |
10 | 10 |
* @author mdecorde |
11 | 11 |
* @author sjacquot |
... | ... | |
13 | 13 |
*/ |
14 | 14 |
public class PropertiesCoreMessages extends NLS { |
15 | 15 |
|
16 |
private static final String BUNDLE_NAME = "org.txm.properties.core.messages.messages"; //$NON-NLS-1$ |
|
17 |
|
|
18 |
public static String RESULT_TYPE; |
|
19 |
|
|
20 |
|
|
16 | 21 |
public static String Properties_0; |
17 | 22 |
public static String Properties_1; |
18 | 23 |
public static String Properties_11; |
... | ... | |
37 | 42 |
|
38 | 43 |
static { |
39 | 44 |
// initialize resource bundle |
40 |
Utf8NLS.initializeMessages(PropertiesCoreMessages.class); |
|
45 |
Utf8NLS.initializeMessages(BUNDLE_NAME, PropertiesCoreMessages.class);
|
|
41 | 46 |
} |
42 | 47 |
|
43 | 48 |
private PropertiesCoreMessages() { |
tmp/org.txm.information.core/src/org/txm/properties/core/messages/messages.properties (revision 912) | ||
---|---|---|
18 | 18 |
Properties_7 = Number of words |
19 | 19 |
Properties_8 = \ lexicon |
20 | 20 |
Properties_9 = Number of word properties |
21 |
|
|
22 |
RESULT_TYPE = Properties |
tmp/org.txm.information.core/src/org/txm/properties/core/functions/Properties.java (revision 912) | ||
---|---|---|
128 | 128 |
*/ |
129 | 129 |
public Properties(Corpus corpus) { |
130 | 130 |
super(corpus); |
131 |
this.corpus = corpus; |
|
132 | 131 |
} |
133 | 132 |
|
133 |
public Properties(String uuid) { |
|
134 |
super(uuid); |
|
135 |
} |
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
@Override |
|
140 |
public boolean loadParameters() { |
|
141 |
this.corpus = (Corpus) this.parent; |
|
142 |
return true; |
|
143 |
} |
|
144 |
|
|
145 |
|
|
134 | 146 |
/** |
135 | 147 |
* Sets the maximum properties to display. |
136 | 148 |
* @param maxPropertiesToDisplay |
... | ... | |
579 | 591 |
|
580 | 592 |
@Override |
581 | 593 |
public String getSimpleName() { |
582 |
return "Propriétés";
|
|
594 |
return this.getResultype();
|
|
583 | 595 |
} |
584 | 596 |
|
585 | 597 |
@Override |
... | ... | |
623 | 635 |
|
624 | 636 |
@Override |
625 | 637 |
public boolean canCompute() { |
626 |
return corpus != null;
|
|
638 |
return this.parent != null;
|
|
627 | 639 |
} |
628 | 640 |
|
629 | 641 |
@Override |
... | ... | |
632 | 644 |
return true; |
633 | 645 |
} |
634 | 646 |
|
635 |
@Override |
|
636 |
public boolean loadParameters() { |
|
637 |
// nothing to do -> all parameters are already managed by autoLoadParameters |
|
638 |
return true; |
|
639 |
} |
|
640 |
|
|
641 | 647 |
|
642 | 648 |
@Override |
643 | 649 |
public boolean saveParameters() { |
... | ... | |
646 | 652 |
} |
647 | 653 |
|
648 | 654 |
public Corpus getCorpus() { |
649 |
return corpus;
|
|
655 |
return (Corpus) this.parent;
|
|
650 | 656 |
} |
657 |
|
|
658 |
@Override |
|
659 |
public String getResultype() { |
|
660 |
return PropertiesCoreMessages.RESULT_TYPE; |
|
661 |
} |
|
651 | 662 |
} |
tmp/org.txm.cooccurrence.chartsengine/src/org/txm/cooccurrence/functions/CooccurrenceGraph.java (revision 912) | ||
---|---|---|
32 | 32 |
// TODO Auto-generated constructor stub |
33 | 33 |
} |
34 | 34 |
|
35 |
/** |
|
36 |
* @param uuid |
|
37 |
* @param parent |
|
38 |
*/ |
|
39 |
public CooccurrenceGraph(String uuid, TXMResult parent) { |
|
40 |
super(uuid, parent); |
|
41 |
// TODO Auto-generated constructor stub |
|
42 |
} |
|
43 | 35 |
|
44 | 36 |
/* (non-Javadoc) |
45 | 37 |
* @see org.txm.core.results.TXMResult#saveParameters() |
... | ... | |
131 | 123 |
return false; |
132 | 124 |
} |
133 | 125 |
|
126 |
@Override |
|
127 |
public String getResultype() { |
|
128 |
return "Cooccurrence graph"; |
|
129 |
} |
|
130 |
|
|
134 | 131 |
} |
tmp/org.txm.wordcloud.rcp/src/org/txm/wordcloud/rcp/handlers/ComputeWordCloud.java (revision 912) | ||
---|---|---|
106 | 106 |
|
107 | 107 |
} |
108 | 108 |
|
109 |
StatusLine.setMessage(WordCloudCoreMessages.StatusBar_Opening_result);
|
|
109 |
StatusLine.setMessage(WordCloudCoreMessages.info_OpeningWordCloudResult);
|
|
110 | 110 |
|
111 | 111 |
ChartEditor.openEditor(wordCloud); |
112 | 112 |
|
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 912) | ||
---|---|---|
1772 | 1772 |
return userName; |
1773 | 1773 |
} |
1774 | 1774 |
|
1775 |
/** |
|
1776 |
* Gets the result type. Should be localized (eg. CA => AFC, Word cloud => Nuage de mots). |
|
1777 |
* This method can be used for logging or UI. |
|
1778 |
* This method can also be used to sort the result by type. |
|
1779 |
* @return |
|
1780 |
*/ |
|
1781 |
public abstract String getResultype(); |
|
1782 |
|
|
1783 |
|
|
1775 | 1784 |
@Override |
1776 | 1785 |
public int compareTo(TXMResult o) { |
1777 | 1786 |
// Compare node weights |
tmp/org.txm.core/src/java/org/txm/objects/TxmObject.java (revision 912) | ||
---|---|---|
293 | 293 |
// TODO: need to do something? |
294 | 294 |
return true; |
295 | 295 |
} |
296 |
|
|
297 |
@Override |
|
298 |
public String getResultype() { |
|
299 |
// TODO later we must implement this method in each TXMObject subclasses |
|
300 |
return this.getClass().getSimpleName(); |
|
301 |
} |
|
296 | 302 |
} |
tmp/org.txm.rcp.about.fragment/META-INF/MANIFEST.MF (revision 912) | ||
---|---|---|
3 | 3 |
Bundle-Name: org.txm.rcp.about.fragment |
4 | 4 |
Bundle-SymbolicName: org.txm.rcp.about.fragment |
5 | 5 |
Bundle-Version: 1.0.0.qualifier |
6 |
Fragment-Host: org.eclipse.ui.workbench;bundle-version="3.105.0"
|
|
6 |
Fragment-Host: org.eclipse.ui.workbench;bundle-version="3.110.1.v20170704-1208"
|
|
7 | 7 |
Eclipse-PatchFragment: true |
8 | 8 |
Bundle-RequiredExecutionEnvironment: JavaSE-1.7 |
9 | 9 |
Bundle-ClassPath: library.jar, |
tmp/org.txm.partition.core/src/org/txm/partition/core/messages/messages.properties (revision 912) | ||
---|---|---|
1 |
CHARTSENGINE_CANT_CREATE_PARTITION_DIMENSIONS_FILE_CHART=Can''t create dimensions partition chart file (charts engine: {0}) |
|
2 |
CHARTSENGINE_PARTITION_DIMENSIONS_CATEGORY=t |
|
3 |
CHARTSENGINE_PARTITION_DIMENSIONS_DIMENSIONS_OF_PARTITION=Dimensions of the {0} partition in the {1} corpus |
|
4 |
CHARTSENGINE_PARTITION_DIMENSIONS_SORTED_BY_SIZE=sorted by size |
|
5 |
CHARTSENGINE_PARTITION_DIMENSIONS_X_AXIS_LABEL=Part |
|
6 |
CHARTSENGINE_PARTITION_DIMENSIONS_Y_AXIS_LABEL=Number of words |
|
7 |
CHARTSENGINE_PARTITION_DIMENSIONS_PARTS=Part(s) |
|
8 |
PartsSize_18=Dimensions\: {0} |
|
1 |
|
|
2 |
CHARTSENGINE_CANT_CREATE_PARTITION_DIMENSIONS_FILE_CHART = Can''t create dimensions partition chart file (charts engine: {0}) |
|
3 |
CHARTSENGINE_PARTITION_DIMENSIONS_CATEGORY = t |
|
4 |
CHARTSENGINE_PARTITION_DIMENSIONS_DIMENSIONS_OF_PARTITION = Dimensions of the {0} partition in the {1} corpus |
|
5 |
CHARTSENGINE_PARTITION_DIMENSIONS_PARTS = Part(s) |
|
6 |
CHARTSENGINE_PARTITION_DIMENSIONS_SORTED_BY_SIZE = sorted by size |
|
7 |
CHARTSENGINE_PARTITION_DIMENSIONS_X_AXIS_LABEL = Part |
|
8 |
CHARTSENGINE_PARTITION_DIMENSIONS_Y_AXIS_LABEL = Number of words |
|
9 |
|
|
10 |
PartsSize_18 = Dimensions: {0} |
|
11 |
|
|
12 |
RESULT_TYPE = Partition dimensions |
tmp/org.txm.partition.core/src/org/txm/partition/core/messages/messages_ru.properties (revision 912) | ||
---|---|---|
1 |
PartsSize_18=Размеры: {0} |
|
1 |
|
|
2 |
PartsSize_18 = Размеры: {0} |
|
3 |
|
|
4 |
RESULT_TYPE = |
tmp/org.txm.partition.core/src/org/txm/partition/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
1 |
PartsSize_18=Dimensions \: {0} |
|
1 |
|
|
2 |
PartsSize_18 = Dimensions : {0} |
|
3 |
|
|
4 |
RESULT_TYPE = Dimensions de partition |
tmp/org.txm.partition.core/src/org/txm/partition/core/messages/PartitionCoreMessages.java (revision 912) | ||
---|---|---|
13 | 13 |
*/ |
14 | 14 |
public class PartitionCoreMessages extends NLS { |
15 | 15 |
|
16 |
private static final String BUNDLE_NAME = "org.txm.partition.core.messages.messages"; //$NON-NLS-1$ |
|
17 |
|
|
18 |
public static String RESULT_TYPE; |
|
19 |
|
|
16 | 20 |
public static String CHARTSENGINE_CANT_CREATE_PARTITION_DIMENSIONS_FILE_CHART; |
17 | 21 |
public static String CHARTSENGINE_PARTITION_DIMENSIONS_SORTED_BY_SIZE; |
18 | 22 |
public static String CHARTSENGINE_PARTITION_DIMENSIONS_DIMENSIONS_OF_PARTITION; |
... | ... | |
24 | 28 |
|
25 | 29 |
static { |
26 | 30 |
// initialize resource bundle |
27 |
Utf8NLS.initializeMessages(PartitionCoreMessages.class); |
|
31 |
Utf8NLS.initializeMessages(BUNDLE_NAME, PartitionCoreMessages.class);
|
|
28 | 32 |
} |
29 | 33 |
|
30 | 34 |
private PartitionCoreMessages() { |
tmp/org.txm.partition.core/src/org/txm/partition/core/functions/PartitionDimensions.java (revision 912) | ||
---|---|---|
55 | 55 |
|
56 | 56 |
|
57 | 57 |
/** |
58 |
* Creates a partition dimensions result from the specified <link>Partition</link>.
|
|
58 |
* Creates a not computed partition dimensions.
|
|
59 | 59 |
* @param partition |
60 | 60 |
*/ |
61 | 61 |
public PartitionDimensions(Partition partition) { |
... | ... | |
63 | 63 |
} |
64 | 64 |
|
65 | 65 |
/** |
66 |
* Creates a partition dimensions result from the specified UUID.
|
|
66 |
* Creates a not computed partition dimensions.
|
|
67 | 67 |
* @param UUID |
68 | 68 |
*/ |
69 | 69 |
public PartitionDimensions(String UUID) { |
... | ... | |
195 | 195 |
} |
196 | 196 |
catch(Exception e) { |
197 | 197 |
} |
198 |
return ""; |
|
198 |
return ""; //$NON-NLS-1$
|
|
199 | 199 |
} |
200 | 200 |
|
201 | 201 |
|
... | ... | |
238 | 238 |
return displayPartsCountInTitle; |
239 | 239 |
} |
240 | 240 |
|
241 |
@Override |
|
242 |
public String getResultype() { |
|
243 |
return PartitionCoreMessages.RESULT_TYPE; |
|
244 |
} |
|
245 |
|
|
241 | 246 |
} |
tmp/org.txm.progression.core/src/org/txm/progression/core/messages/ProgressionCoreMessages.java (revision 912) | ||
---|---|---|
12 | 12 |
*/ |
13 | 13 |
public class ProgressionCoreMessages extends NLS { |
14 | 14 |
|
15 |
private static final String BUNDLE_NAME = "org.txm.progression.core.messages.messages"; //$NON-NLS-1$ |
|
16 |
|
|
15 | 17 |
public static String RESULT_TYPE; |
16 | 18 |
|
17 | 19 |
public static String ChartsEngine_PROGRESSION_X_AXIS_LABEL; |
... | ... | |
34 | 36 |
|
35 | 37 |
static { |
36 | 38 |
// initialize resource bundle |
37 |
Utf8NLS.initializeMessages(ProgressionCoreMessages.class); |
|
39 |
Utf8NLS.initializeMessages(BUNDLE_NAME, ProgressionCoreMessages.class);
|
|
38 | 40 |
} |
39 | 41 |
|
40 | 42 |
private ProgressionCoreMessages() { |
tmp/org.txm.progression.core/src/org/txm/progression/core/functions/Progression.java (revision 912) | ||
---|---|---|
60 | 60 |
import org.txm.utils.logger.Log; |
61 | 61 |
|
62 | 62 |
/** |
63 |
* Computes a progression similar to the progression of Weblex software.
|
|
63 |
* Progression similar to the progression of Weblex software.
|
|
64 | 64 |
* |
65 | 65 |
* @author mdecorde |
66 | 66 |
* @author sjacquot |
... | ... | |
144 | 144 |
protected String propertyRegex; |
145 | 145 |
|
146 | 146 |
|
147 |
/** |
|
148 |
* |
|
149 |
* @param parent |
|
150 |
*/ |
|
147 | 151 |
public Progression(Corpus parent) { |
148 | 152 |
this(null, parent); |
149 | 153 |
} |
150 | 154 |
|
155 |
/** |
|
156 |
* |
|
157 |
* @param uuid |
|
158 |
*/ |
|
151 | 159 |
public Progression(String uuid) { |
152 | 160 |
this(uuid, null); |
153 | 161 |
} |
154 | 162 |
|
163 |
/** |
|
164 |
* |
|
165 |
* @param uuid |
|
166 |
* @param parent |
|
167 |
*/ |
|
155 | 168 |
public Progression(String uuid, Corpus parent) { |
156 | 169 |
super(uuid, parent); |
157 | 170 |
} |
... | ... | |
855 | 868 |
this.queries = queries; |
856 | 869 |
} |
857 | 870 |
|
871 |
@Override |
|
872 |
public String getResultype() { |
|
873 |
return ProgressionCoreMessages.RESULT_TYPE; |
|
874 |
} |
|
858 | 875 |
|
876 |
|
|
859 | 877 |
} |
tmp/org.txm.cooccurrence.core/src/org/txm/cooccurrence/core/messages/messages.properties (revision 912) | ||
---|---|---|
14 | 14 |
Cooccurrence_8 = \ Score: |
15 | 15 |
Cooccurrence_9 = \ MeanDist: |
16 | 16 |
|
17 |
RESULT_TYPE = Cooccurrence |
|
18 |
|
|
17 | 19 |
info_buildingLexicalTable = Building lexical table. |
18 | 20 |
info_buildingLineSignatures = Building line signatures. |
19 | 21 |
info_buildingQueries = Building queries. |
tmp/org.txm.cooccurrence.core/src/org/txm/cooccurrence/core/messages/messages_ru.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
RESULT_TYPE = |
|
3 |
|
|
2 | 4 |
info_buildingLexicalTable = Расчет словарной таблицы |
3 | 5 |
info_buildingLineSignatures = Расчет подписей к строкам |
4 | 6 |
info_buildingQueries = Расчет запроса |
tmp/org.txm.cooccurrence.core/src/org/txm/cooccurrence/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
14 | 14 |
Cooccurrence_8 = \ Indice: |
15 | 15 |
Cooccurrence_9 = \ DistMoy: |
16 | 16 |
|
17 |
RESULT_TYPE = Cooccurrence |
|
18 |
|
|
17 | 19 |
info_buildingLexicalTable = Calcul de la table lexicale. |
18 | 20 |
info_buildingLineSignatures = Calcul des signatures de lignes. |
19 | 21 |
info_buildingQueries = Calcul des requêtes. |
tmp/org.txm.cooccurrence.core/src/org/txm/cooccurrence/core/messages/CooccurrenceCoreMessages.java (revision 912) | ||
---|---|---|
3 | 3 |
import org.eclipse.osgi.util.NLS; |
4 | 4 |
import org.txm.utils.messages.Utf8NLS; |
5 | 5 |
|
6 |
/** |
|
7 |
* Cooccurrence core message. |
|
8 |
* |
|
9 |
* @author mdecorde |
|
10 |
* @author sjacquot |
|
11 |
* |
|
12 |
*/ |
|
6 | 13 |
public class CooccurrenceCoreMessages extends NLS { |
7 | 14 |
|
15 |
private static final String BUNDLE_NAME = "org.txm.cooccurrence.core.messages.messages"; //$NON-NLS-1$ |
|
16 |
|
|
17 |
public static String RESULT_TYPE; |
|
18 |
|
|
19 |
|
|
8 | 20 |
public static String Cooccurrence_10; |
9 | 21 |
public static String Cooccurrence_102; |
10 | 22 |
public static String Cooccurrence_103; |
... | ... | |
30 | 42 |
|
31 | 43 |
static { |
32 | 44 |
// initialize resource bundle |
33 |
Utf8NLS.initializeMessages(CooccurrenceCoreMessages.class); |
|
45 |
Utf8NLS.initializeMessages(BUNDLE_NAME, CooccurrenceCoreMessages.class);
|
|
34 | 46 |
} |
35 | 47 |
} |
tmp/org.txm.cooccurrence.core/src/org/txm/cooccurrence/core/functions/Cooccurrence.java (revision 912) | ||
---|---|---|
72 | 72 |
import org.txm.utils.logger.Log; |
73 | 73 |
|
74 | 74 |
/** |
75 |
* Compute a cooccurrences from a concordance.
|
|
75 |
* Compute a cooccurrence from a concordance. |
|
76 | 76 |
* |
77 | 77 |
* @author mdecorde |
78 | 78 |
* |
... | ... | |
226 | 226 |
protected StructuralUnit pStructuralUnitLimit; |
227 | 227 |
|
228 | 228 |
|
229 |
|
|
230 |
public Cooccurrence(Corpus corpus) { |
|
231 |
this(null, corpus); |
|
229 |
/** |
|
230 |
* Creates a not computed cooccurrence from the specified corpus. |
|
231 |
* @param parent |
|
232 |
*/ |
|
233 |
public Cooccurrence(Corpus parent) { |
|
234 |
super(parent); |
|
232 | 235 |
} |
233 | 236 |
|
234 |
public Cooccurrence(String uuid) { |
|
235 |
this(uuid, null); |
|
236 |
} |
|
237 |
|
|
238 | 237 |
/** |
239 |
* Creates an empty <link>Cooccurrence</link> object, child of the specified <link>Corpus</link>.
|
|
240 |
* @param corpus
|
|
238 |
* Creates a not computed cooccurrence from the uuid node.
|
|
239 |
* @param uuid
|
|
241 | 240 |
*/ |
242 |
public Cooccurrence(String uuid, Corpus corpus) {
|
|
243 |
super(uuid, corpus);
|
|
241 |
public Cooccurrence(String uuid) { |
|
242 |
super(uuid); |
|
244 | 243 |
} |
245 | 244 |
|
246 | 245 |
|
246 |
|
|
247 | 247 |
/** |
248 | 248 |
* |
249 | 249 |
* @param watcher |
... | ... | |
1614 | 1614 |
} |
1615 | 1615 |
} |
1616 | 1616 |
|
1617 |
|
|
1618 |
@Override |
|
1619 |
public String getResultype() { |
|
1620 |
return CooccurrenceCoreMessages.RESULT_TYPE; |
|
1621 |
} |
|
1622 |
|
|
1617 | 1623 |
|
1618 | 1624 |
} |
tmp/org.txm.cql2lsa.rcp/src/org/txm/functions/cql2lsa/ExpI.java (revision 912) | ||
---|---|---|
424 | 424 |
// TODO Auto-generated method stub |
425 | 425 |
return false; |
426 | 426 |
} |
427 |
|
|
428 |
@Override |
|
429 |
public String getResultype() { |
|
430 |
// TODO |
|
431 |
return this.getClass().getSimpleName(); |
|
432 |
} |
|
433 |
|
|
427 | 434 |
} |
tmp/org.txm.cql2lsa.rcp/src/org/txm/functions/cql2lsa/ContextSubcorpus.java (revision 912) | ||
---|---|---|
169 | 169 |
// TODO Auto-generated method stub |
170 | 170 |
return false; |
171 | 171 |
} |
172 |
|
|
173 |
@Override |
|
174 |
public String getResultype() { |
|
175 |
// TODO |
|
176 |
return this.getClass().getSimpleName(); |
|
177 |
} |
|
178 |
|
|
172 | 179 |
} |
tmp/org.txm.cql2lsa.rcp/src/org/txm/functions/cql2lsa/ValuesOfQuery.java (revision 912) | ||
---|---|---|
241 | 241 |
// TODO Auto-generated method stub |
242 | 242 |
return false; |
243 | 243 |
} |
244 |
|
|
245 |
@Override |
|
246 |
public String getResultype() { |
|
247 |
// TODO |
|
248 |
return this.getClass().getSimpleName(); |
|
249 |
} |
|
250 |
|
|
244 | 251 |
} |
tmp/org.txm.cql2lsa.rcp/src/org/txm/functions/cql2lsa/ExpII.java (revision 912) | ||
---|---|---|
724 | 724 |
// TODO Auto-generated method stub |
725 | 725 |
return false; |
726 | 726 |
} |
727 |
|
|
728 |
@Override |
|
729 |
public String getResultype() { |
|
730 |
// TODO |
|
731 |
return this.getClass().getSimpleName(); |
|
732 |
} |
|
733 |
|
|
727 | 734 |
} |
tmp/org.txm.wordcloud.core/src/org/txm/wordcloud/core/messages/messages.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
Log_Aborting = Aborting WordCloud. |
|
3 |
Log_Could_not_install_R_package = Could not install the {0} package. |
|
4 |
Log_Installing_R_package = Installing {0} R package... |
|
5 |
Log_Loading_R_package = Loading package: |
|
6 |
Log_R_Packages_installation_failed = The necessary R packages have not been installed properly, it is not possible to complete the installation of the WordCloud command.\nSee instructions at https://groupes.renater.fr/wiki/txm-users/public/extensions#wordcloud |
|
7 |
Log_R_Packages_loaded = R packages loaded. Now running WordCloud. |
|
2 |
RESULT_TYPE = Word cloud |
|
8 | 3 |
|
9 |
RESULT_TYPE = WordCloud |
|
4 |
error_RPackagesInstallationFailed = The necessary R packages have not been installed properly, it is not possible to complete the installation of the WordCloud command.\nSee instructions at https://groupes.renater.fr/wiki/txm-users/public/extensions#wordcloud |
|
5 |
error_couldNotInstallRPackage = Could not install the {0} package. |
|
10 | 6 |
|
11 |
StatusBar_Opening_result = Opening WordCloud results. |
|
7 |
info_OpeningWordCloudResult = Opening word cloud result. |
|
8 |
info_RPackagesLoaded = R packages loaded. Now running WordCloud. |
|
9 |
info_aborting = Aborting WordCloud. |
|
10 |
info_installingRPackage = Installing {0} R package... |
|
11 |
info_loadingRPackage = Loading package: |
tmp/org.txm.wordcloud.core/src/org/txm/wordcloud/core/messages/WordCloudCoreMessages.java (revision 912) | ||
---|---|---|
3 | 3 |
import org.eclipse.osgi.util.NLS; |
4 | 4 |
import org.txm.utils.messages.Utf8NLS; |
5 | 5 |
|
6 |
/** |
|
7 |
* Word cloud core messages. |
|
8 |
* |
|
9 |
* @author mdecorde |
|
10 |
* @author sjacquot |
|
11 |
* |
|
12 |
*/ |
|
6 | 13 |
public class WordCloudCoreMessages extends NLS { |
7 | 14 |
|
15 |
private static final String BUNDLE_NAME = "org.txm.wordcloud.core.messages.messages"; //$NON-NLS-1$ |
|
16 |
|
|
8 | 17 |
public static String RESULT_TYPE; |
9 | 18 |
|
10 |
public static String Log_Aborting;
|
|
11 |
public static String Log_Could_not_install_R_package;
|
|
12 |
public static String Log_Installing_R_package;
|
|
13 |
public static String Log_Loading_R_package;
|
|
14 |
public static String Log_R_Packages_installation_failed;
|
|
15 |
public static String Log_R_Packages_loaded;
|
|
16 |
public static String StatusBar_Opening_result;
|
|
19 |
public static String info_aborting;
|
|
20 |
public static String error_couldNotInstallRPackage;
|
|
21 |
public static String info_installingRPackage;
|
|
22 |
public static String info_loadingRPackage;
|
|
23 |
public static String error_RPackagesInstallationFailed;
|
|
24 |
public static String info_RPackagesLoaded;
|
|
25 |
public static String info_OpeningWordCloudResult;
|
|
17 | 26 |
|
27 |
|
|
18 | 28 |
static { |
19 | 29 |
// initialize resource bundle |
20 |
Utf8NLS.initializeMessages(WordCloudCoreMessages.class); |
|
30 |
Utf8NLS.initializeMessages(BUNDLE_NAME, WordCloudCoreMessages.class);
|
|
21 | 31 |
} |
22 | 32 |
|
23 | 33 |
private WordCloudCoreMessages() { |
tmp/org.txm.wordcloud.core/src/org/txm/wordcloud/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 | 2 |
ComputeWordCloud_6 = Echec de l'installation du package {0}. |
3 | 3 |
|
4 |
Log_Aborting = Abandon du calcul. |
|
5 |
Log_Could_not_install_R_package = Le package R {0} n'a pas pu être installé. Raison : {1}. |
|
6 |
Log_Installing_R_package = Installation du package R {0}... |
|
7 |
Log_Loading_R_package = Chargement du package : |
|
8 |
Log_R_Packages_installation_failed = Les packages nécessaires au fonctionnement de la fonctionnalité n'ont pas pu être installés. Voir les instructions pour installation manuelle à l'adresse https://groupes.renater.fr/wiki/txm-users/public/extensions#wordcloud |
|
9 |
Log_R_Packages_loaded = Les packages R ont été chargés. Lancement du calcul. |
|
10 |
|
|
11 | 4 |
RESULT_TYPE = Nuage de mots |
12 | 5 |
|
13 |
StatusBar_Opening_result = Ouverture du résultat. |
|
6 |
error_RPackagesInstallationFailed = Les packages nécessaires au fonctionnement de la fonctionnalité n'ont pas pu être installés. Voir les instructions pour installation manuelle à l'adresse https://groupes.renater.fr/wiki/txm-users/public/extensions#wordcloud |
|
7 |
error_couldNotInstallRPackage = Le package R {0} n'a pas pu être installé. Raison : {1}. |
|
8 |
|
|
9 |
info_OpeningWordCloudResult = Ouverture du résultat. |
|
10 |
info_RPackagesLoaded = Les packages R ont été chargés. Lancement du calcul. |
|
11 |
info_aborting = Abandon du calcul. |
|
12 |
info_installingRPackage = Installation du package R {0}... |
|
13 |
info_loadingRPackage = Chargement du package : |
tmp/org.txm.wordcloud.core/src/org/txm/wordcloud/core/functions/WordCloud.java (revision 912) | ||
---|---|---|
54 | 54 |
|
55 | 55 |
|
56 | 56 |
/** |
57 |
* Creates a WordCloud.
|
|
57 |
* Creates a not computed words cloud.
|
|
58 | 58 |
* @param index |
59 | 59 |
*/ |
60 | 60 |
public WordCloud(Index parent) { |
61 |
this(null, parent);
|
|
61 |
super(parent);
|
|
62 | 62 |
} |
63 | 63 |
|
64 |
/** |
|
65 |
* Creates a not computed words cloud |
|
66 |
* @param uuid |
|
67 |
*/ |
|
64 | 68 |
public WordCloud(String uuid) { |
65 |
this(uuid, null);
|
|
69 |
super(uuid);
|
|
66 | 70 |
} |
67 | 71 |
|
68 |
public WordCloud(String uuid, Index parent) { |
|
69 |
super(uuid, parent); |
|
70 |
} |
|
71 |
|
|
72 | 72 |
|
73 | 73 |
/** |
74 | 74 |
* |
... | ... | |
160 | 160 |
public static boolean initPackages() { |
161 | 161 |
String[] packages = {"Rcpp", "RColorBrewer", "wordcloud"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ |
162 | 162 |
if (!loadAndInstallNeededPackages(packages)) { |
163 |
System.out.println(WordCloudCoreMessages.Log_Aborting);
|
|
163 |
System.out.println(WordCloudCoreMessages.info_aborting);
|
|
164 | 164 |
return false; |
165 | 165 |
} |
166 | 166 |
return true; |
... | ... | |
177 | 177 |
boolean installFailed = false; |
178 | 178 |
for (String p : packages) { |
179 | 179 |
try { |
180 |
Log.severe(WordCloudCoreMessages.bind(WordCloudCoreMessages.Log_Loading_R_package, p));
|
|
180 |
Log.severe(WordCloudCoreMessages.bind(WordCloudCoreMessages.info_loadingRPackage, p));
|
|
181 | 181 |
RWorkspace.getRWorkspaceInstance().loadPackage(p); |
182 | 182 |
} catch(Exception e) { |
183 | 183 |
//Log.severe(Messages.bind(Messages.ComputeWordCloud_3,p,e)); |
184 |
System.out.println(WordCloudCoreMessages.bind(WordCloudCoreMessages.Log_Installing_R_package, p));
|
|
184 |
System.out.println(WordCloudCoreMessages.bind(WordCloudCoreMessages.info_installingRPackage, p));
|
|
185 | 185 |
try { |
186 | 186 |
RWorkspace.getRWorkspaceInstance().eval("install.packages(\""+p+"\", dependencies=TRUE, repos=\"http://cran.rstudio.com\");"); //$NON-NLS-1$ //$NON-NLS-2$ |
187 | 187 |
RWorkspace.getRWorkspaceInstance().loadPackage(p); |
188 | 188 |
} catch(Exception e2) { |
189 |
System.out.println(WordCloudCoreMessages.bind(WordCloudCoreMessages.Log_Could_not_install_R_package, p));
|
|
189 |
Log.severe(WordCloudCoreMessages.bind(WordCloudCoreMessages.error_couldNotInstallRPackage, p));
|
|
190 | 190 |
Log.printStackTrace(e2); |
191 | 191 |
installFailed = true; |
192 | 192 |
} |
... | ... | |
194 | 194 |
} |
195 | 195 |
|
196 | 196 |
if (installFailed) { |
197 |
System.out.println(WordCloudCoreMessages.Log_R_Packages_installation_failed);
|
|
197 |
System.out.println(WordCloudCoreMessages.error_RPackagesInstallationFailed);
|
|
198 | 198 |
return false; |
199 | 199 |
} else { |
200 |
Log.info(WordCloudCoreMessages.Log_R_Packages_loaded);
|
|
200 |
Log.info(WordCloudCoreMessages.info_RPackagesLoaded);
|
|
201 | 201 |
return true; |
202 | 202 |
} |
203 | 203 |
} |
... | ... | |
367 | 367 |
public void setFMin(int fMin) { |
368 | 368 |
this.fMin = fMin; |
369 | 369 |
} |
370 |
|
|
371 |
@Override |
|
372 |
public String getResultype() { |
|
373 |
return WordCloudCoreMessages.RESULT_TYPE; |
|
374 |
} |
|
370 | 375 |
} |
tmp/org.txm.specificities.core/src/org/txm/functions/contrasts/Contrast.java (revision 912) | ||
---|---|---|
276 | 276 |
return true; |
277 | 277 |
} |
278 | 278 |
|
279 |
@Override |
|
280 |
public String getResultype() { |
|
281 |
// TODO; later we must implement this methods in subclasses |
|
282 |
return this.getClass().getSimpleName(); |
|
283 |
} |
|
284 |
|
|
279 | 285 |
} |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/messages/messages.properties (revision 912) | ||
---|---|---|
7 | 7 |
|
8 | 8 |
ComputeError_FAILED_TO_GET_SPECIFICITIES = ** Failed to get the specificites: |
9 | 9 |
ComputeError_FOUND_AND_WANTED_ROWS_MISMATCH = ** Number of rows wanted ({0}) and found ({1}) mismatch. |
10 |
ComputeError_NEED_AT_LEAST_2_PARTS = ** Cannot compute specificites with less than 2 parts in the corpus. |
|
11 | 10 |
|
12 |
SpecificitesResult_0 = ** No specificity index array. |
|
13 |
SpecificitesResult_1 = ** The specificity index array does not properly represent a matrix. |
|
14 |
SpecificitesResult_10 = ** Reference to a non existing column. |
|
15 |
SpecificitesResult_2 = ** The lexical table cannot be null. |
|
16 |
SpecificitesResult_6 = ** Reference to non existing row. |
|
17 |
SpecificitesResult_7 = ** number of columns given and found mismatch ( |
|
18 |
SpecificitesResult_8 = Unit |
|
11 |
RESULT_TYPE = Specificities |
|
19 | 12 |
|
20 |
Specificites_2 = \ specificity index computed
|
|
13 |
SELECTION_RESULT_TYPE = Specificities selection
|
|
21 | 14 |
|
15 |
SpecificitesResult_0 = ** No specificities index array. |
|
16 |
SpecificitesResult_1 = ** The specificity index array does not properly represent a matrix. |
|
17 |
SpecificitesResult_2 = ** The lexical table cannot be null. |
|
18 |
SpecificitesResult_6 = ** Reference to non existing row. |
|
19 |
SpecificitesResult_8 = Unit |
|
20 |
|
|
21 |
Specificites_2 = \ specificity index computed |
|
22 |
|
|
22 | 23 |
error_errorWhileComputingSpecificities = Error while computing specificities: {0} |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/messages/SpecificitiesCoreMessages.java (revision 912) | ||
---|---|---|
6 | 6 |
|
7 | 7 |
|
8 | 8 |
/** |
9 |
* Specificities core messages. |
|
9 | 10 |
* |
11 |
* @author mdecorde |
|
10 | 12 |
* @author sjacquot |
11 | 13 |
* |
12 | 14 |
*/ |
13 | 15 |
public class SpecificitiesCoreMessages extends NLS { |
14 | 16 |
|
17 |
private static final String BUNDLE_NAME = "org.txm.specificities.core.messages.messages"; //$NON-NLS-1$ |
|
18 |
|
|
19 |
public static String RESULT_TYPE; |
|
20 |
public static String SELECTION_RESULT_TYPE; |
|
21 |
|
|
15 | 22 |
public static String ChartsError_CANT_CREATE_SPECIFICITIES_FILE_CHART; |
16 | 23 |
|
17 | 24 |
public static String Charts_X_AXIS_LABEL; |
18 | 25 |
public static String Charts_Y_AXIS_LABEL; |
19 | 26 |
public static String Charts_BANALITY_MARKER_LABEL; |
20 | 27 |
|
21 |
public static String ComputeError_NEED_AT_LEAST_2_PARTS; |
|
22 | 28 |
public static String ComputeError_FAILED_TO_GET_SPECIFICITIES; |
23 | 29 |
public static String ComputeError_FOUND_AND_WANTED_ROWS_MISMATCH; |
24 | 30 |
|
25 | 31 |
public static String Specificites_2; |
26 | 32 |
public static String SpecificitesResult_0; |
27 |
public static String SpecificitesResult_10; |
|
28 | 33 |
public static String SpecificitesResult_1; |
29 | 34 |
public static String SpecificitesResult_2; |
30 | 35 |
public static String SpecificitesResult_6; |
31 |
public static String SpecificitesResult_7; |
|
32 | 36 |
public static String SpecificitesResult_8; |
33 | 37 |
|
34 | 38 |
public static String error_errorWhileComputingSpecificities; |
35 | 39 |
|
36 | 40 |
static { |
37 | 41 |
// initialize resource bundle |
38 |
Utf8NLS.initializeMessages(SpecificitiesCoreMessages.class); |
|
42 |
Utf8NLS.initializeMessages(BUNDLE_NAME, SpecificitiesCoreMessages.class);
|
|
39 | 43 |
} |
40 | 44 |
|
41 | 45 |
} |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/messages/messages_ru.properties (revision 912) | ||
---|---|---|
1 | 1 |
|
2 |
RESULT_TYPE = |
|
3 |
|
|
4 |
SELECTION_RESULT_TYPE = |
|
5 |
|
|
2 | 6 |
error_errorWhileComputingSpecificities = ** Ошибка во время расчета специфичности: {0} |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
7 | 7 |
|
8 | 8 |
ComputeError_FAILED_TO_GET_SPECIFICITIES = ** Echec d'accès aux spécificités : |
9 | 9 |
ComputeError_FOUND_AND_WANTED_ROWS_MISMATCH = ** Le nombre de lignes prévu ({0}) et trouvé ({1}) ne correspondent pas. |
10 |
ComputeError_NEED_AT_LEAST_2_PARTS = ** Il faut au moins 2 parties pour calculer des spécificités. |
|
11 | 10 |
|
12 |
SpecificitesResult_0 = ** Pas de tableau d'index de spécificité |
|
13 |
SpecificitesResult_1 = ** Le tableau d'index des spécificités ne correspond pas à une matrice |
|
14 |
SpecificitesResult_10 = ** Référence à une colonne inexistante. |
|
15 |
SpecificitesResult_2 = ** La table lexicale ne peut être nulle. |
|
16 |
SpecificitesResult_6 = ** Référence à une ligne inexistante |
|
17 |
SpecificitesResult_7 = ** Le nombre de colonnes données et le nombre de colonnes trouvées sont différents ( |
|
18 |
SpecificitesResult_8 = Unité |
|
11 |
RESULT_TYPE = Spécificités |
|
19 | 12 |
|
20 |
Specificites_2 = \ spécificités calculées
|
|
13 |
SELECTION_RESULT_TYPE = Sélection de spécificités
|
|
21 | 14 |
|
15 |
SpecificitesResult_0 = ** Pas de tableau d'index de spécificité |
|
16 |
SpecificitesResult_1 = ** Le tableau d'index des spécificités ne correspond pas à une matrice |
|
17 |
SpecificitesResult_2 = ** La table lexicale ne peut être nulle. |
|
18 |
SpecificitesResult_6 = ** Référence à une ligne inexistante |
|
19 |
SpecificitesResult_8 = Unité |
|
20 |
|
|
21 |
Specificites_2 = \ spécificités calculées |
|
22 |
|
|
22 | 23 |
error_errorWhileComputingSpecificities = ** Erreur lors du calcul des spécificités : {0} |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/functions/SpecificitiesSelection.java (revision 912) | ||
---|---|---|
10 | 10 |
import org.txm.core.results.Parameter; |
11 | 11 |
import org.txm.core.results.TXMParameters; |
12 | 12 |
import org.txm.core.results.TXMResult; |
13 |
import org.txm.specificities.core.messages.SpecificitiesCoreMessages; |
|
13 | 14 |
import org.txm.specificities.core.preferences.SpecificitiesPreferences; |
14 | 15 |
|
15 | 16 |
/** |
... | ... | |
252 | 253 |
// redefined to not reset the chart |
253 | 254 |
} |
254 | 255 |
|
256 |
|
|
257 |
|
|
258 |
@Override |
|
259 |
public String getResultype() { |
|
260 |
return SpecificitiesCoreMessages.SELECTION_RESULT_TYPE; |
|
261 |
} |
|
262 |
|
|
255 | 263 |
} |
tmp/org.txm.specificities.core/src/org/txm/specificities/core/functions/Specificities.java (revision 912) | ||
---|---|---|
740 | 740 |
return unitProperty; |
741 | 741 |
} |
742 | 742 |
|
743 |
@Override |
|
744 |
public String getResultype() { |
|
745 |
return SpecificitiesCoreMessages.RESULT_TYPE; |
|
746 |
} |
|
747 |
|
|
743 | 748 |
|
744 | 749 |
|
745 | 750 |
|
tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/messages/messages.properties (revision 912) | ||
---|---|---|
6 | 6 |
LexicalTableImpl_5 = not enough columns: minimum 2 (here: |
7 | 7 |
LexicalTableImpl_8 = line |
8 | 8 |
LexicalTableImpl_9 = does not have |
9 |
|
|
10 |
RESULT_TYPE = Lexical table |
tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/messages/messages_ru.properties (revision 912) | ||
---|---|---|
1 |
|
|
2 |
RESULT_TYPE = |
tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/messages/messages_fr.properties (revision 912) | ||
---|---|---|
3 | 3 |
LexicalTableImpl_10 = colonnes |
4 | 4 |
LexicalTableImpl_12 = Erreur: les marges |
5 | 5 |
LexicalTableImpl_13 = \ sont plus grandes que la taille des parties |
6 |
sLexicalTableImpl_5 = pas assez de colonnes : minimum 2 (ici : |
|
7 | 6 |
LexicalTableImpl_8 = ligne |
8 | 7 |
LexicalTableImpl_9 = n'a pas |
8 |
|
|
9 |
RESULT_TYPE = Table lexicale |
|
10 |
|
|
11 |
sLexicalTableImpl_5 = pas assez de colonnes : minimum 2 (ici : |
tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/messages/LexicalTableCoreMessages.java (revision 912) | ||
---|---|---|
5 | 5 |
|
6 | 6 |
public class LexicalTableCoreMessages extends NLS { |
7 | 7 |
|
8 |
private static final String BUNDLE_NAME = "org.txm.lexicaltable.core.messages.messages"; //$NON-NLS-1$ |
|
9 |
|
|
10 |
public static String RESULT_TYPE; |
|
11 |
|
|
8 | 12 |
public static String LexicalTableImpl_1; |
9 | 13 |
public static String LexicalTableImpl_10; |
10 | 14 |
public static String LexicalTableImpl_12; |
... | ... | |
15 | 19 |
|
16 | 20 |
static { |
17 | 21 |
// initialize resource bundle |
18 |
Utf8NLS.initializeMessages(LexicalTableCoreMessages.class); |
|
22 |
Utf8NLS.initializeMessages(BUNDLE_NAME, LexicalTableCoreMessages.class);
|
|
19 | 23 |
} |
20 | 24 |
} |
tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/functions/LexicalTable.java (revision 912) | ||
---|---|---|
33 | 33 |
/** |
34 | 34 |
* Holds the word frequencies table of a {@link Partition} seen through a word property. |
35 | 35 |
* |
36 |
* @author mdecorde |
|
37 |
* @author sjacquot |
|
36 | 38 |
* |
Formats disponibles : Unified diff