Révision 1340
tmp/org.txm.queryindex.rcp/src/org/txm/queryindex/rcp/editors/QueryIndexEditor.java (revision 1340) | ||
---|---|---|
268 | 268 |
createQueryIndex(); |
269 | 269 |
|
270 | 270 |
StatusLine.setMessage(IndexUIMessages.computingIndex); |
271 |
|
|
271 | 272 |
final CQLQuery query; // if the query is empty then we put "[]" instead |
272 | 273 |
if (!queryWidget.getQueryString().equals("\"\"")) {//$NON-NLS-1$ |
273 | 274 |
query = new CQLQuery(queryWidget.getQueryString()); |
274 | 275 |
} else { |
275 |
System.err.println(IndexUIMessages.indexDDotQueryIsEmpty);
|
|
276 |
Log.severe(IndexUIMessages.indexDDotQueryIsEmpty);
|
|
276 | 277 |
return; |
277 | 278 |
} |
278 | 279 |
|
... | ... | |
296 | 297 |
try { |
297 | 298 |
try { |
298 | 299 |
if (queryindex.hasLine(name)) { |
299 |
System.out.println(Messages.QueryIndexEditor_1 + name);
|
|
300 |
System.out.println(TXMCoreMessages.bind(Messages.QueryIndexEditor_1, name));
|
|
300 | 301 |
queryindex.removeLine(name); |
301 | 302 |
} |
302 | 303 |
line = queryindex.addLine(name, query); |
303 | 304 |
} catch (CqiClientException e2) { |
304 |
System.out |
|
305 |
.println(Messages.QueryIndexEditor_2 |
|
306 |
+ query); |
|
305 |
Log.severe(TXMCoreMessages.bind(Messages.error_QueryIndexEditor_2 , query)); |
|
307 | 306 |
Log.printStackTrace(e2); |
308 | 307 |
return Status.CANCEL_STATUS; |
309 | 308 |
} |
310 | 309 |
|
311 | 310 |
if (line == null) { |
312 |
System.out |
|
313 |
.println(Messages.QueryIndexEditor_2 |
|
314 |
+ query); |
|
311 |
Log.severe(TXMCoreMessages.bind(Messages.error_QueryIndexEditor_2, query)); |
|
315 | 312 |
return Status.CANCEL_STATUS; |
316 | 313 |
} |
317 | 314 |
|
... | ... | |
364 | 361 |
} catch (Exception e) { |
365 | 362 |
System.out.println(e.getLocalizedMessage()); |
366 | 363 |
try { |
367 |
System.out.println(TXMUIMessages.lastCQPErrorDDot |
|
368 |
+ CQPSearchEngine.getCqiClient().getLastCQPError()); |
|
364 |
Log.severe(TXMCoreMessages.bind(TXMUIMessages.lastCQPErrorDDot, CQPSearchEngine.getCqiClient().getLastCQPError())); |
|
369 | 365 |
} catch (Exception e1) { |
370 |
System.out.println(IndexUIMessages.cQPErrorDDot |
|
371 |
+ e1); |
|
366 |
Log.severe(TXMCoreMessages.bind(IndexUIMessages.cQPErrorDDot, e1)); |
|
372 | 367 |
Log.printStackTrace(e1); |
373 | 368 |
} |
374 |
Log.severe("Error while computing QueryIndex: "+e.getLocalizedMessage());
|
|
369 |
Log.severe(TXMCoreMessages.bind("Error while computing QueryIndex: {0}.", e.getLocalizedMessage()));
|
|
375 | 370 |
} catch (ThreadDeath td) { |
376 | 371 |
return Status.CANCEL_STATUS; |
377 | 372 |
} finally { |
... | ... | |
486 | 481 |
// TODO Auto-generated catch block |
487 | 482 |
Log.printStackTrace(e1); |
488 | 483 |
} catch (IOException e1) { |
489 |
// TODO Auto-generated catch block |
|
490 |
System.out |
|
491 |
.println(Messages.QueryIndexEditor_6 + propFile); |
|
484 |
Log.severe(TXMCoreMessages.bind(Messages.error_QueryIndexEditor_6, propFile)); |
|
492 | 485 |
Log.printStackTrace(e1); |
493 | 486 |
} |
494 | 487 |
} |
... | ... | |
742 | 735 |
freqColumn = new TableColumn(viewer.getTable(), SWT.RIGHT); |
743 | 736 |
try { |
744 | 737 |
if (partition != null) |
745 |
freqColumn.setText(TXMCoreMessages.common_frequency |
|
746 |
+ " T=" + partition.getTotalSize()); //$NON-NLS-1$ |
|
738 |
freqColumn.setText(TXMCoreMessages.common_frequency + " T=" + partition.getTotalSize()); |
|
747 | 739 |
else |
748 |
freqColumn.setText(TXMCoreMessages.common_frequency |
|
749 |
+ " T=" + corpus.getSize()); //$NON-NLS-1$ |
|
740 |
freqColumn.setText(TXMCoreMessages.common_frequency + " T=" + corpus.getSize()); |
|
750 | 741 |
} catch (CqiClientException e2) { |
751 | 742 |
Log.printStackTrace(e2); |
752 | 743 |
return; |
... | ... | |
787 | 778 |
final TableColumn partColumn = new TableColumn( |
788 | 779 |
viewer.getTable(), SWT.RIGHT); |
789 | 780 |
try { |
790 |
partColumn |
|
791 |
.setText(partnames.get(i) |
|
792 |
+ " t=" + partition.getParts().get(i).getSize()); //$NON-NLS-1$ |
|
781 |
partColumn.setText(partnames.get(i) + " t=" + partition.getParts().get(i).getSize()); |
|
793 | 782 |
} catch (CqiClientException e1) { |
794 | 783 |
Log.printStackTrace(e1); |
795 | 784 |
return; |
796 | 785 |
} |
797 | 786 |
partColumn.setToolTipText(partnames.get(i)); |
798 | 787 |
partColumn.setWidth(100); |
799 |
partColumn |
|
800 |
.addSelectionListener(new SelectionListener() { |
|
801 |
@Override |
|
802 |
public void widgetSelected(SelectionEvent e) { |
|
803 |
if (viewer.getTable().getSortColumn() != partColumn) { |
|
804 |
viewer.getTable().setSortColumn( |
|
805 |
partColumn); |
|
806 |
viewer.getTable().setSortDirection( |
|
807 |
SWT.UP); |
|
808 |
queryindex.sortLines( |
|
809 |
SortMode.FREQUNIT, false); |
|
810 |
} else { |
|
811 |
if (viewer.getTable() |
|
812 |
.getSortDirection() == SWT.UP) { |
|
813 |
viewer.getTable() |
|
814 |
.setSortDirection( |
|
815 |
SWT.DOWN); |
|
816 |
queryindex |
|
817 |
.sortLines( |
|
818 |
SortMode.FREQUNIT, |
|
819 |
true); |
|
820 |
} else { |
|
821 |
viewer.getTable() |
|
822 |
.setSortDirection( |
|
823 |
SWT.UP); |
|
824 |
queryindex.sortLines( |
|
825 |
SortMode.FREQUNIT, |
|
826 |
false); |
|
827 |
} |
|
828 |
} |
|
829 |
fillDisplayArea(topLine, bottomLine); |
|
788 |
partColumn.addSelectionListener(new SelectionListener() { |
|
789 |
@Override |
|
790 |
public void widgetSelected(SelectionEvent e) { |
|
791 |
if (viewer.getTable().getSortColumn() != partColumn) { |
|
792 |
viewer.getTable().setSortColumn(partColumn); |
|
793 |
viewer.getTable().setSortDirection(SWT.UP); |
|
794 |
queryindex.sortLines(SortMode.FREQUNIT, false); |
|
795 |
} |
|
796 |
else { |
|
797 |
if (viewer.getTable().getSortDirection() == SWT.UP) { |
|
798 |
viewer.getTable().setSortDirection(SWT.DOWN); |
|
799 |
queryindex.sortLines(SortMode.FREQUNIT, true); |
|
830 | 800 |
} |
831 |
|
|
832 |
@Override |
|
833 |
public void widgetDefaultSelected( |
|
834 |
SelectionEvent e) { |
|
801 |
else { |
|
802 |
viewer.getTable().setSortDirection(SWT.UP); |
|
803 |
queryindex.sortLines(SortMode.FREQUNIT, false); |
|
835 | 804 |
} |
836 |
}); |
|
805 |
} |
|
806 |
fillDisplayArea(topLine, bottomLine); |
|
807 |
} |
|
808 |
|
|
809 |
@Override |
|
810 |
public void widgetDefaultSelected(SelectionEvent e) { |
|
811 |
} |
|
812 |
}); |
|
837 | 813 |
} |
838 | 814 |
} |
839 | 815 |
} |
... | ... | |
894 | 870 |
if (this.queryindex != null) { |
895 | 871 |
|
896 | 872 |
if (queryindex.getPartition() != null) |
897 |
setPartName(queryindex.getPartition().getName() |
|
898 |
+ ": " + queryindex.getName()); //$NON-NLS-1$ |
|
873 |
setPartName(queryindex.getPartition().getName() + ": " + queryindex.getName()); //$NON-NLS-1$ |
|
899 | 874 |
else |
900 |
setPartName(queryindex.getCorpus().getName() |
|
901 |
+ ": " + queryindex.getName()); //$NON-NLS-1$ |
|
875 |
setPartName(queryindex.getCorpus().getName() + ": " + queryindex.getName()); //$NON-NLS-1$ |
|
902 | 876 |
queryWidget.setFocus(); |
903 | 877 |
|
904 | 878 |
queryindex.sortLines(SortMode.FREQUNIT, true); |
905 | 879 |
|
906 | 880 |
fillDisplayArea(0, NLignePPageSpinner.getSelection()); |
907 |
} else if (this.corpus != null) { |
|
881 |
} |
|
882 |
else if (this.corpus != null) { |
|
908 | 883 |
// no query |
909 | 884 |
queryWidget.setText(""); //$NON-NLS-1$ |
910 | 885 |
|
911 | 886 |
if (partition != null) { |
912 | 887 |
setPartName(partition.getName()); |
913 |
} else { |
|
888 |
} |
|
889 |
else { |
|
914 | 890 |
setPartName(corpus.getName()); |
915 | 891 |
} |
916 | 892 |
queryWidget.setFocus(); |
917 |
} else { |
|
918 |
System.err.println(IndexUIMessages.couldntInitializeIndexTable); |
|
919 | 893 |
} |
894 |
else { |
|
895 |
Log.severe(IndexUIMessages.couldntInitializeIndexTable); |
|
896 |
} |
|
920 | 897 |
} |
921 | 898 |
|
922 | 899 |
/** |
... | ... | |
944 | 921 |
navigationArea.setNextEnabled(to < queryindex.getV() - 1); |
945 | 922 |
navigationArea.setLastEnabled(to < queryindex.getV() - 1); |
946 | 923 |
|
947 |
lFminInfo.setText(IndexUIMessages.IndexEditor_17 + queryindex.getFmin());
|
|
948 |
lFmaxInfo.setText(IndexUIMessages.IndexEditor_17 + queryindex.getFmax());
|
|
949 |
lTInfo.setText(IndexUIMessages.IndexEditor_17 + queryindex.getT());
|
|
950 |
lVInfo.setText(IndexUIMessages.IndexEditor_17 + queryindex.getV());
|
|
924 |
lFminInfo.setText(String.valueOf(queryindex.getFmin()));
|
|
925 |
lFmaxInfo.setText(String.valueOf(queryindex.getFmax()));
|
|
926 |
lTInfo.setText(String.valueOf(queryindex.getT()));
|
|
927 |
lVInfo.setText(String.valueOf(queryindex.getV()));
|
|
951 | 928 |
|
952 | 929 |
lVInfo.getParent().layout(); |
953 | 930 |
|
tmp/org.txm.queryindex.rcp/src/org/txm/queryindex/core/functions/Messages.java (revision 1340) | ||
---|---|---|
20 | 20 |
public static String QueryIndexEditor_10; |
21 | 21 |
public static String QueryIndexEditor_11; |
22 | 22 |
public static String QueryIndexEditor_12; |
23 |
public static String QueryIndexEditor_2; |
|
23 |
public static String error_QueryIndexEditor_2;
|
|
24 | 24 |
public static String QueryIndexEditor_3; |
25 | 25 |
public static String QueryIndexEditor_4; |
26 |
public static String QueryIndexEditor_6; |
|
26 |
public static String error_QueryIndexEditor_6;
|
|
27 | 27 |
public static String QueryIndexEditor_7; |
28 | 28 |
public static String QueryIndexEditor_8; |
29 | 29 |
public static String QueryIndexEditor_9; |
tmp/org.txm.queryindex.rcp/src/org/txm/queryindex/core/functions/messages_fr.properties (revision 1340) | ||
---|---|---|
1 | 1 |
|
2 | 2 |
QueryIndexEditor_0 = Index de requête de : |
3 |
QueryIndexEditor_1 = remplacement des lignes :
|
|
3 |
QueryIndexEditor_1 = Remplacement des lignes : {0}.
|
|
4 | 4 |
QueryIndexEditor_10 = requêtes |
5 | 5 |
QueryIndexEditor_11 = |
6 | 6 |
QueryIndexEditor_12 = Ajouter la requête |
7 |
QueryIndexEditor_2 = Erreur lors de l'ajout de la requête : |
|
8 | 7 |
QueryIndexEditor_3 = Requête ajoutée |
9 | 8 |
QueryIndexEditor_4 = Chargement depuis un fichier |
10 |
QueryIndexEditor_6 = Le fichier suivant ne peut être lu : |
|
11 | 9 |
QueryIndexEditor_7 = Vers les concordances |
12 | 10 |
QueryIndexEditor_8 = Vers la progression |
13 | 11 |
QueryIndexEditor_9 = Supprimer les lignes |
12 |
|
|
13 |
error_QueryIndexEditor_2 = Erreur lors de l'ajout de la requête : {0}. |
|
14 |
error_QueryIndexEditor_6 = Le fichier suivant ne peut être lu : {0}. |
tmp/org.txm.queryindex.rcp/src/org/txm/queryindex/core/functions/QueryIndex.java (revision 1340) | ||
---|---|---|
202 | 202 |
String[] split = line.split("=", 2); //$NON-NLS-1$ |
203 | 203 |
if (split.length == 2) { |
204 | 204 |
if (hasLine(split[0])) { |
205 |
System.out.println(TXMCoreMessages.warningDDotDuplicateQueryEntryDDot+line);
|
|
205 |
Log.finest(TXMCoreMessages.bind(TXMCoreMessages.warningDDotDuplicateQueryEntryDDot, line));
|
|
206 | 206 |
} else { |
207 | 207 |
if (addLine(split[0], new CQLQuery(split[1])) == null) { |
208 |
System.out.println(TXMCoreMessages.warningDDotQueryFailedDDot+line);
|
|
208 |
Log.finest(TXMCoreMessages.bind(TXMCoreMessages.warningDDotQueryFailedDDot, line));
|
|
209 | 209 |
} |
210 | 210 |
} |
211 | 211 |
} |
... | ... | |
227 | 227 |
try { |
228 | 228 |
toTxt(outfile, 0, lines.size(), encoding, colseparator, txtseparator); |
229 | 229 |
} catch (Exception e) { |
230 |
System.err.println(IndexCoreMessages.failedToExportLexiconDDot + Log.toString(e));
|
|
230 |
Log.severe(TXMCoreMessages.bind(IndexCoreMessages.error_failedToExportLexiconDDot, Log.toString(e)));
|
|
231 | 231 |
return false; |
232 | 232 |
} |
233 | 233 |
return true; |
tmp/org.txm.queryindex.rcp/src/org/txm/queryindex/core/functions/messages.properties (revision 1340) | ||
---|---|---|
1 | 1 |
|
2 | 2 |
QueryIndexEditor_0 = Query Index of |
3 |
QueryIndexEditor_1 = replacing line:
|
|
3 |
QueryIndexEditor_1 = Replacing line: {0}.
|
|
4 | 4 |
QueryIndexEditor_10 = queries |
5 | 5 |
QueryIndexEditor_11 = |
6 | 6 |
QueryIndexEditor_12 = Add the query |
7 |
QueryIndexEditor_2 = Failed to add line with query: |
|
8 | 7 |
QueryIndexEditor_3 = Line added. |
9 | 8 |
QueryIndexEditor_4 = Load from a file |
10 |
QueryIndexEditor_6 = Cannot read from file:
|
|
9 |
error_QueryIndexEditor_6=Cannot read from file: {0}.
|
|
11 | 10 |
QueryIndexEditor_7 = Link to concordance |
12 | 11 |
QueryIndexEditor_8 = Link to progression |
13 | 12 |
QueryIndexEditor_9 = delete lines |
13 |
|
|
14 |
error_QueryIndexEditor_2 = Failed to add line with query: {0}. |
tmp/org.txm.index.core/src/org/txm/index/core/messages/messages.properties (revision 1340) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
computingTheLexiconOfSubcorpusP0=Computing the lexicon of subcorpus {0}... |
|
4 |
consoleDDot=Console \: |
|
5 |
failedToExportLexiconDDot=** Failed to export Lexicon \: |
|
6 |
formsAndFrequenciesTablesMustHaveTheSameSize=Forms and frequencies tables must have the same size. |
|
7 |
indexDDotCorpusP0queryP1propertiesP2FminP3FmaxP4=Index\:\n\tCorpus {0}\n\tquery {1}\n\tproperties {2}\n\tFmin {3}\n\tFmax {4} |
|
8 |
indexDDotPartitionP0queryP1propertiesP2FminP3FmaxP4=Index\:\n\tPartition {0}\n\tquery {1}\n\tproperties {2}\n\tFmin {3}\n\tFmax {4} |
|
9 |
lexicon=Lexicon |
|
10 |
lexiconDDot=Lexicon\: |
|
11 |
RESULT_TYPE=Index |
|
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 = Index |
|
6 |
|
|
7 |
computingTheLexiconOfSubcorpusP0 = Computing the lexicon of subcorpus {0}... |
|
8 |
|
|
9 |
consoleDDot = Console : |
|
10 |
|
|
11 |
error_failedToExportLexiconDDot = ** Failed to export Lexicon : {0}. |
|
12 |
|
|
13 |
formsAndFrequenciesTablesMustHaveTheSameSize = Forms and frequencies tables must have the same size. |
|
14 |
|
|
15 |
indexDDotCorpusP0queryP1propertiesP2FminP3FmaxP4 = Index:\n\ Corpus {0}\n\ query {1}\n\ properties {2}\n\ Fmin {3}\n\ Fmax {4} |
|
16 |
|
|
17 |
indexDDotPartitionP0queryP1propertiesP2FminP3FmaxP4 = Index:\n\ Partition {0}\n\ query {1}\n\ properties {2}\n\ Fmin {3}\n\ Fmax {4} |
|
18 |
|
|
19 |
lexicon = Lexicon |
|
20 |
|
|
21 |
lexiconDDot = Lexicon: |
tmp/org.txm.index.core/src/org/txm/index/core/messages/IndexCoreMessages.java (revision 1340) | ||
---|---|---|
19 | 19 |
public static String lexicon; |
20 | 20 |
|
21 | 21 |
public static String consoleDDot; |
22 |
public static String failedToExportLexiconDDot; |
|
22 |
public static String error_failedToExportLexiconDDot;
|
|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
public static String formsAndFrequenciesTablesMustHaveTheSameSize; |
tmp/org.txm.index.core/src/org/txm/index/core/messages/messages_fr.properties (revision 1340) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
computingTheLexiconOfSubcorpusP0=Calcul du lexique du sous-corpus {0}... |
|
4 |
consoleDDot=console \: |
|
5 |
failedToExportLexiconDDot=** Echec de l'exportation du Lexique \: |
|
6 |
formsAndFrequenciesTablesMustHaveTheSameSize=Le tableau des formes et des fréquences doivent avoir la même longueur. |
|
7 |
indexDDotCorpusP0queryP1propertiesP2FminP3FmaxP4=Index\:\n\tCorpus {0}\n\tRequête {1}\n\tpropriétés {2}\n\tFmin {3}\n\tFmax {4} |
|
8 |
indexDDotPartitionP0queryP1propertiesP2FminP3FmaxP4=Index\:\n\tPartition {0}\n\tRequête {1}\n\tpropriétés {2}\n\tFmin {3}\n\tFmax {4} |
|
9 |
lexicon=Lexique |
|
10 |
lexiconDDot=Lexique \: |
|
11 |
RESULT_TYPE=Index |
|
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 = Index |
|
6 |
|
|
7 |
computingTheLexiconOfSubcorpusP0 = Calcul du lexique du sous-corpus {0}... |
|
8 |
|
|
9 |
consoleDDot = console : |
|
10 |
|
|
11 |
error_failedToExportLexiconDDot = ** Echec de l'exportation du Lexique : {0}. |
|
12 |
|
|
13 |
formsAndFrequenciesTablesMustHaveTheSameSize = Le tableau des formes et des fréquences doivent avoir la même longueur. |
|
14 |
|
|
15 |
indexDDotCorpusP0queryP1propertiesP2FminP3FmaxP4 = Index:\n\ Corpus {0}\n\ Requête {1}\n\ propriétés {2}\n\ Fmin {3}\n\ Fmax {4} |
|
16 |
|
|
17 |
indexDDotPartitionP0queryP1propertiesP2FminP3FmaxP4 = Index:\n\ Partition {0}\n\ Requête {1}\n\ propriétés {2}\n\ Fmin {3}\n\ Fmax {4} |
|
18 |
|
|
19 |
lexicon = Lexique |
|
20 |
|
|
21 |
lexiconDDot = Lexique : |
tmp/org.txm.index.core/src/org/txm/index/core/functions/PartitionIndex.java (revision 1340) | ||
---|---|---|
41 | 41 |
|
42 | 42 |
import org.eclipse.osgi.util.NLS; |
43 | 43 |
import org.rosuda.REngine.REXPMismatchException; |
44 |
import org.txm.core.messages.TXMCoreMessages; |
|
44 | 45 |
import org.txm.core.preferences.TXMPreferences; |
45 | 46 |
import org.txm.core.results.Parameter; |
46 | 47 |
import org.txm.core.results.TXMParameters; |
... | ... | |
1103 | 1104 |
try { |
1104 | 1105 |
toTxt(outfile, 0, lines.size(), encoding, colseparator, txtseparator); |
1105 | 1106 |
} catch (Exception e) { |
1106 |
System.err.println(IndexCoreMessages.failedToExportLexiconDDot + Log.toString(e));
|
|
1107 |
Log.severe(TXMCoreMessages.bind(IndexCoreMessages.error_failedToExportLexiconDDot, Log.toString(e)));
|
|
1107 | 1108 |
return false; |
1108 | 1109 |
} |
1109 | 1110 |
return true; |
tmp/org.txm.index.core/src/org/txm/index/core/functions/Index.java (revision 1340) | ||
---|---|---|
42 | 42 |
import org.apache.commons.lang.StringUtils; |
43 | 43 |
import org.eclipse.osgi.util.NLS; |
44 | 44 |
import org.rosuda.REngine.REXPMismatchException; |
45 |
import org.txm.core.preferences.TBXPreferences;
|
|
45 |
import org.txm.core.messages.TXMCoreMessages;
|
|
46 | 46 |
import org.txm.core.preferences.TXMPreferences; |
47 | 47 |
import org.txm.core.results.Parameter; |
48 | 48 |
import org.txm.core.results.TXMParameters; |
... | ... | |
57 | 57 |
import org.txm.searchengine.cqp.corpus.CQPCorpus; |
58 | 58 |
import org.txm.searchengine.cqp.corpus.CorpusManager; |
59 | 59 |
import org.txm.searchengine.cqp.corpus.MainCorpus; |
60 |
import org.txm.searchengine.cqp.corpus.Part; |
|
61 | 60 |
import org.txm.searchengine.cqp.corpus.Property; |
62 | 61 |
import org.txm.searchengine.cqp.corpus.StructuralUnitProperty; |
63 | 62 |
import org.txm.searchengine.cqp.corpus.WordProperty; |
... | ... | |
1170 | 1169 |
try { |
1171 | 1170 |
toTxt(outfile, 0, lines.size(), encoding, colseparator, txtseparator); |
1172 | 1171 |
} catch (Exception e) { |
1173 |
System.err.println(IndexCoreMessages.failedToExportLexiconDDot + Log.toString(e));
|
|
1172 |
Log.severe(TXMCoreMessages.bind(IndexCoreMessages.error_failedToExportLexiconDDot, Log.toString(e)));
|
|
1174 | 1173 |
return false; |
1175 | 1174 |
} |
1176 | 1175 |
return true; |
tmp/org.txm.core/src/java/org/txm/core/messages/messages_fr.properties (revision 1340) | ||
---|---|---|
229 | 229 |
|
230 | 230 |
warningDDotCantLoadCorpus = Attention: le corpus ne peut pas être chargé |
231 | 231 |
|
232 |
warningDDotDuplicateQueryEntryDDot = Attention : requête dupliquée : |
|
232 |
warningDDotDuplicateQueryEntryDDot = Attention : requête dupliquée : {0}.
|
|
233 | 233 |
|
234 |
warningDDotQueryFailedDDot = Attention : échec de la requête: |
|
234 |
warningDDotQueryFailedDDot = Attention : échec de la requête: {0}.
|
|
235 | 235 |
|
236 | 236 |
workspaceDDot = \ Espace de travail : |
237 | 237 |
|
tmp/org.txm.core/src/java/org/txm/core/messages/messages.properties (revision 1340) | ||
---|---|---|
242 | 242 |
|
243 | 243 |
warningDDotCantLoadCorpus = Warning: can't load corpus |
244 | 244 |
|
245 |
warningDDotDuplicateQueryEntryDDot = Warning: duplicate query entry: |
|
245 |
warningDDotDuplicateQueryEntryDDot = Warning: duplicate query entry: {0}.
|
|
246 | 246 |
|
247 |
warningDDotQueryFailedDDot = Warning: query failed: |
|
247 |
warningDDotQueryFailedDDot = Warning: query failed: {0}.
|
|
248 | 248 |
|
249 | 249 |
workspaceDDot = \ Workspace: |
250 | 250 |
|
tmp/org.txm.cql2lsa.rcp/src/org/txm/functions/cql2lsa/ExpI.java (revision 1340) | ||
---|---|---|
179 | 179 |
try { |
180 | 180 |
toTxt(outfile, 0, lines.size(), encoding, colseparator, txtseparator); |
181 | 181 |
} catch (Exception e) { |
182 |
System.err.println(IndexCoreMessages.failedToExportLexiconDDot + Log.toString(e));
|
|
182 |
Log.severe(TXMCoreMessages.bind(IndexCoreMessages.error_failedToExportLexiconDDot, Log.toString(e)));
|
|
183 | 183 |
return false; |
184 | 184 |
} |
185 | 185 |
return true; |
tmp/org.txm.cql2lsa.rcp/src/org/txm/functions/cql2lsa/ExpII.java (revision 1340) | ||
---|---|---|
338 | 338 |
try { |
339 | 339 |
toTxt(outfile, 0, lines.size(), encoding, colseparator, txtseparator); |
340 | 340 |
} catch (Exception e) { |
341 |
System.err.println(IndexCoreMessages.failedToExportLexiconDDot + Log.toString(e));
|
|
341 |
Log.severe(TXMCoreMessages.bind(IndexCoreMessages.error_failedToExportLexiconDDot, Log.toString(e)));
|
|
342 | 342 |
return false; |
343 | 343 |
} |
344 | 344 |
return true; |
tmp/org.txm.index.rcp/src/org/txm/index/rcp/messages/messages_ru.properties (revision 1340) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
computingIndex=Расчет индекса |
|
4 |
couldntInitializeIndexTable=Не удается инициализировать таблицу индекса |
|
5 |
cQPErrorDDot=N/A_CQP error\: |
|
6 |
failedToComputeIndex=** Не удалось вычислить индекс |
|
7 |
indexDDotQueryIsEmpty=Запрос пуст |
|
8 |
IndexEditor_17= |
|
9 |
indexOfInfP0SupWithPropertyDDotP1InTheCorpusDDotP2=Индекс <{0}> со свойством {1} в корпусе {2} |
|
10 |
indexOfInfP0SupWithPropertyDDotP1InThePartitionDDotP2=Индекс <{0}> со свойством {1} в корпусе {2} |
|
11 |
openingIndexResults=Открытие Индекса |
|
12 |
openingTheIndexResults=Открытие таблицы индекса |
|
13 |
pageSize=Число результатов на странице\: |
|
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 |
IndexEditor_17 = |
|
6 |
|
|
7 |
cQPErrorDDot = N/A_CQP error: {0}. |
|
8 |
|
|
9 |
computingIndex = Расчет индекса... |
|
10 |
|
|
11 |
couldntInitializeIndexTable = Не удается инициализировать таблицу индекса |
|
12 |
|
|
13 |
failedToComputeIndex = ** Не удалось вычислить индекс |
|
14 |
|
|
15 |
indexDDotQueryIsEmpty = Запрос пуст |
|
16 |
|
|
17 |
indexOfInfP0SupWithPropertyDDotP1InTheCorpusDDotP2 = Индекс <{0}> со свойством {1} в корпусе {2} |
|
18 |
|
|
19 |
indexOfInfP0SupWithPropertyDDotP1InThePartitionDDotP2 = Индекс <{0}> со свойством {1} в корпусе {2} |
|
20 |
|
|
21 |
openingIndexResults = Открытие Индекса |
|
22 |
|
|
23 |
openingTheIndexResults = Открытие таблицы индекса |
|
24 |
|
|
25 |
pageSize = Число результатов на странице: |
tmp/org.txm.index.rcp/src/org/txm/index/rcp/messages/messages_fr.properties (revision 1340) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
computingIndex=Calcul de l'index |
|
4 |
couldntInitializeIndexTable=Impossible d'initialiser le tableau d'index |
|
5 |
cQPErrorDDot=Echec de la récupération de la dernière erreur CQP \: |
|
6 |
failedToComputeIndex=** Échec du calcul de l'index |
|
7 |
indexDDotQueryIsEmpty=La requête est vide |
|
8 |
IndexEditor_17= |
|
9 |
indexOfInfP0SupWithPropertyDDotP1InTheCorpusDDotP2=Index de <{0}> avec la propriété {1} dans le corpus {2} |
|
10 |
indexOfInfP0SupWithPropertyDDotP1InThePartitionDDotP2=Index de <{0}> avec la propriété {1} dans la partition {2} |
|
11 |
openingIndexResults=Ouverture de l'Index |
|
12 |
openingTheIndexResults=Ouverture du tableau d'index |
|
13 |
pageSize=Résultats par page |
|
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 |
IndexEditor_17 = |
|
6 |
|
|
7 |
cQPErrorDDot = Echec de la récupération de la dernière erreur CQP : {0}. |
|
8 |
|
|
9 |
computingIndex = Calcul de l'index... |
|
10 |
|
|
11 |
couldntInitializeIndexTable = Impossible d'initialiser le tableau d'index |
|
12 |
|
|
13 |
failedToComputeIndex = ** Échec du calcul de l'index |
|
14 |
|
|
15 |
indexDDotQueryIsEmpty = La requête est vide |
|
16 |
|
|
17 |
indexOfInfP0SupWithPropertyDDotP1InTheCorpusDDotP2 = Index de <{0}> avec la propriété {1} dans le corpus {2} |
|
18 |
|
|
19 |
indexOfInfP0SupWithPropertyDDotP1InThePartitionDDotP2 = Index de <{0}> avec la propriété {1} dans la partition {2} |
|
20 |
|
|
21 |
openingIndexResults = Ouverture de l'Index |
|
22 |
|
|
23 |
openingTheIndexResults = Ouverture du tableau d'index |
|
24 |
|
|
25 |
pageSize = Résultats par page |
tmp/org.txm.index.rcp/src/org/txm/index/rcp/messages/messages.properties (revision 1340) | ||
---|---|---|
1 |
#TXM messages generated by the PluginMessagesManager class |
|
2 |
#Mon Nov 12 17:18:22 CET 2018 |
|
3 |
computingIndex=Computing index |
|
4 |
couldntInitializeIndexTable=Couldn't initialize Index table |
|
5 |
cQPErrorDDot=CQP error\: |
|
6 |
failedToComputeIndex=** Failed to compute index |
|
7 |
index=Index |
|
8 |
indexDDotQueryIsEmpty=Index\: query is empty |
|
9 |
IndexEditor_17= |
|
10 |
indexOfInfP0SupWithPropertyDDotP1InTheCorpusDDotP2=Index of <{0}> with property\: {1} in the corpus\: {2} |
|
11 |
indexOfInfP0SupWithPropertyDDotP1InThePartitionDDotP2=Index of <{0}> with property\: {1} in the partition\: {2} |
|
12 |
infos=Infos |
|
13 |
numberOfLinesPerResultPage=Number of lines per result page |
|
14 |
openingIndexResults=Opening Index results |
|
15 |
openingTheIndexResults=Opening the Index results |
|
16 |
pageSize=Page size |
|
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 |
IndexEditor_17 = |
|
6 |
|
|
7 |
cQPErrorDDot = CQP error: {0}. |
|
8 |
|
|
9 |
computingIndex = Computing index... |
|
10 |
|
|
11 |
couldntInitializeIndexTable = Couldn't initialize Index table |
|
12 |
|
|
13 |
failedToComputeIndex = ** Failed to compute index |
|
14 |
|
|
15 |
index = Index |
|
16 |
|
|
17 |
indexDDotQueryIsEmpty = Index: query is empty |
|
18 |
|
|
19 |
indexOfInfP0SupWithPropertyDDotP1InTheCorpusDDotP2 = Index of <{0}> with property: {1} in the corpus: {2} |
|
20 |
|
|
21 |
indexOfInfP0SupWithPropertyDDotP1InThePartitionDDotP2 = Index of <{0}> with property: {1} in the partition: {2} |
|
22 |
|
|
23 |
infos = Infos |
|
24 |
|
|
25 |
numberOfLinesPerResultPage = Number of lines per result page |
|
26 |
|
|
27 |
openingIndexResults = Opening Index results |
|
28 |
|
|
29 |
openingTheIndexResults = Opening the Index results |
|
30 |
|
|
31 |
pageSize = Page size |
Formats disponibles : Unified diff