Révision 2580
tmp/org.txm.searchengine.core/src/org/txm/searchengine/core/messages/SearchEngineCoreMessages.java (revision 2580) | ||
---|---|---|
25 | 25 |
|
26 | 26 |
public static String deletingQueryResultP0; |
27 | 27 |
|
28 |
public static String info_partXCreatedWithQueryZ;
|
|
28 |
public static String info_computingPartXWithQueryZ;
|
|
29 | 29 |
|
30 | 30 |
public static String info_creatingSubcorpusXFromCorpusYWithTheQueryZ; |
31 | 31 |
|
tmp/org.txm.searchengine.core/src/org/txm/searchengine/core/messages/messages.properties (revision 2580) | ||
---|---|---|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
|
|
2 | 2 |
#TXM messages generated by the PluginMessagesManager class |
3 | 3 |
#Tue Dec 18 10:24:08 CET 2018 |
4 | 4 |
|
... | ... | |
7 | 7 |
deletingSubcorpusP0 = Deleting sub-corpus {0}… |
8 | 8 |
|
9 | 9 |
info_computingCorpusP0 = Computing corpus {0}... |
10 |
info_computingPartXWithQueryZ = Computing the part {0} with query {1}. |
|
10 | 11 |
info_computingTheP0PartitionOfTheP1Corpus = Computing the {0} partition of the {1} corpus... |
11 | 12 |
info_computingTheP0SubCorpusOfP1CommaQueryP2 = Computing the {0} sub-corpus of {1}, query: {2}... |
12 | 13 |
info_computingTheP0SubCorpusOfP1CommaStructureP2CommaPropertyP3ColonP4 = Computing the {0} sub-corpus of {1}, structure {2}, property {3}: {4}... |
... | ... | |
15 | 16 |
info_deletingPartition = Deleting partition {0}… |
16 | 17 |
info_doneP0Parts = Done: {0} part(s). |
17 | 18 |
info_partCreatedInXMs = Part {0} created in {1} ms. |
18 |
info_partXCreatedWithQueryZ = Part {0} created with query {1}. |
|
19 | 19 |
info_partitionCreatedInXMs = Partition {0} created in {1} ms. |
20 | 20 |
info_searchEngineStopped = Search engine stopped. |
21 | 21 |
info_stoppingSearchEngine = Stopping the search engine… |
tmp/org.txm.searchengine.core/src/org/txm/searchengine/core/messages/messages_fr.properties (revision 2580) | ||
---|---|---|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) |
|
1 |
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
|
|
2 | 2 |
#TXM messages generated by the PluginMessagesManager class |
3 | 3 |
#Tue Dec 18 10:24:08 CET 2018 |
4 | 4 |
|
... | ... | |
7 | 7 |
deletingSubcorpusP0 = Suppression du sous-corpus {0}… |
8 | 8 |
|
9 | 9 |
info_computingCorpusP0 = Calcul du corpus {0}... |
10 |
info_computingPartXWithQueryZ = Création de la partie {0} avec la requête {1}. |
|
10 | 11 |
info_computingTheP0PartitionOfTheP1Corpus = Calcul de la partition {0} du corpus {1}... |
11 | 12 |
info_computingTheP0SubCorpusOfP1CommaQueryP2 = Calcul du sous-corpus {0} de {1}, requête : [{2}]... |
12 | 13 |
info_computingTheP0SubCorpusOfP1CommaStructureP2CommaPropertyP3ColonP4 = Calcul du sous-corpus {0} de {1}, structure {2}, propriété {3} : {4}... |
... | ... | |
15 | 16 |
info_deletingPartition = Suppression de la partition {0}… |
16 | 17 |
info_doneP0Parts = Terminé : {0} partie(s). |
17 | 18 |
info_partCreatedInXMs = Partie {0} créée en {1} ms. |
18 |
info_partXCreatedWithQueryZ = Partie {0} créée avec la requête {1}. |
|
19 | 19 |
info_partitionCreatedInXMs = Partition {0} créée en {1} ms. |
20 | 20 |
info_searchEngineStopped = Moteur de recherche arrêté. |
21 | 21 |
info_stoppingSearchEngine = Arrêt du moteur de recherche… |
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Part.java (revision 2580) | ||
---|---|---|
99 | 99 |
|
100 | 100 |
@Override |
101 | 101 |
public String getComputingStartMessage() { |
102 |
return NLS.bind(SearchEngineCoreMessages.info_partXCreatedWithQueryZ, this.getName(), this.pQuery);
|
|
102 |
return NLS.bind(SearchEngineCoreMessages.info_computingPartXWithQueryZ, this.getName(), this.pQuery);
|
|
103 | 103 |
} |
104 | 104 |
|
105 | 105 |
|
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Partition.java (revision 2580) | ||
---|---|---|
136 | 136 |
Log.fine(NLS.bind(SearchEngineCoreMessages.info_creatingNewPartition, this.getParent(), this.userName)); |
137 | 137 |
long start = System.currentTimeMillis(); |
138 | 138 |
|
139 |
this.beginTask("Building parts...", pQueries.size());
|
|
139 |
this.subTask("Building parts...");
|
|
140 | 140 |
|
141 | 141 |
for (int i = 0; i < pQueries.size(); i++) { |
142 | 142 |
String queryS = pQueries.get(i); |
... | ... | |
686 | 686 |
|
687 | 687 |
tmp = this.getStringParameterValue(CQPPreferences.PART_NAMES); |
688 | 688 |
if (tmp != null) { |
689 |
this.pPartNames = new ArrayList<String>(Arrays.asList(tmp.split("\t")));
|
|
689 |
this.pPartNames = new ArrayList<>(Arrays.asList(tmp.split("\t"))); |
|
690 | 690 |
} |
691 | 691 |
else { |
692 | 692 |
this.pPartNames = null; |
... | ... | |
694 | 694 |
|
695 | 695 |
tmp = this.getStringParameterValue(TXMPreferences.QUERIES); |
696 | 696 |
if (tmp != null) { |
697 |
this.pQueries = new ArrayList<String>(Arrays.asList(tmp.split("\t")));
|
|
697 |
this.pQueries = new ArrayList<>(Arrays.asList(tmp.split("\t"))); |
|
698 | 698 |
} |
699 | 699 |
else { |
700 | 700 |
this.pQueries = null; |
... | ... | |
702 | 702 |
|
703 | 703 |
tmp = this.getStringParameterValue(TXMPreferences.VALUES); |
704 | 704 |
if (tmp != null) { |
705 |
this.pValues = new ArrayList<String>(Arrays.asList(tmp.split("\t")));
|
|
705 |
this.pValues = new ArrayList<>(Arrays.asList(tmp.split("\t"))); |
|
706 | 706 |
} |
707 | 707 |
else { |
708 | 708 |
this.pValues = null; |
... | ... | |
760 | 760 |
* @return the parent Partition if exists otherwise null |
761 | 761 |
*/ |
762 | 762 |
synchronized public static Partition getFirstParentPartition(TXMResult result) { |
763 |
return (Partition) result.getFirstParent(Partition.class);
|
|
763 |
return result.getFirstParent(Partition.class); |
|
764 | 764 |
} |
765 | 765 |
|
766 | 766 |
|
... | ... | |
768 | 768 |
public CQPCorpus getCorpus() { |
769 | 769 |
return (CQPCorpus) parent; |
770 | 770 |
} |
771 |
|
|
771 |
|
|
772 | 772 |
public Object getPartForName(String pName) { |
773 | 773 |
if (pName == null) return null; |
774 | 774 |
|
... | ... | |
779 | 779 |
} |
780 | 780 |
return null; |
781 | 781 |
} |
782 |
|
|
782 |
|
|
783 | 783 |
public List<String> getQueriesParameter() { |
784 | 784 |
return pQueries; |
785 | 785 |
} |
Formats disponibles : Unified diff