Révision 2713
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/CQPCorpus.java (revision 2713) | ||
---|---|---|
822 | 822 |
if (str != null) { |
823 | 823 |
String type = prefs.get("context_limits_type"); |
824 | 824 |
if ("list".equals(type)) { |
825 |
return "<" + str + "> []"; |
|
825 |
String[] ss = str.split(","); |
|
826 |
ArrayList<String> parts = new ArrayList<>(); |
|
827 |
for (String s : ss) { |
|
828 |
parts.add("<" + s + "> []"); |
|
829 |
} |
|
830 |
return org.apache.commons.lang.StringUtils.join(parts, " | "); |
|
826 | 831 |
} |
827 | 832 |
else { |
828 | 833 |
return str; |
Formats disponibles : Unified diff