Révision 3297
TXM/trunk/org.txm.groovy.core/src/groovy/org/txm/macro/projects/antract/ImporterCorpusOkapiMacro.groovy (revision 3297) | ||
---|---|---|
80 | 80 |
liste_identifiants_sujets = liste_identifiants_sujets.replace("\n", "|").replace("\t", "|").replace(" ", "|").replaceAll("(\\|)++", "|").trim() |
81 | 81 |
println "Création du sous-corpus avec la liste: $liste_identifiants_sujets" |
82 | 82 |
String prop = "div_id" |
83 |
if (parentCorpusName.startsWith("AFNOTICES")) { |
|
84 |
prop = "notice_identifiantdelanotice" |
|
85 |
} |
|
83 | 86 |
|
84 | 87 |
liste_identifiants_sujets = (liste_identifiants_sujets.split("\\|") as List) |
85 | 88 |
liste_identifiants_sujets.remove("") |
Formats disponibles : Unified diff