Revision 2369 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/transcriber/AddSections.groovy
AddSections.groovy (revision 2369) | ||
---|---|---|
8 | 8 |
File trsDirectory = new File("/home/mdecorde/TEMP/ANTRACT/AF/trs") |
9 | 9 |
|
10 | 10 |
def joinTRSColumn = "Lien notice principale" |
11 |
def typeColumns = ["Date de diffusion"]
|
|
12 |
def topicColumns = ["Titre propre"]
|
|
11 |
def typeColumns = ["Titre propre"]
|
|
12 |
def topicColumns = ["Date de diffusion"]
|
|
13 | 13 |
def startTimeColumn = "antract_debut" |
14 | 14 |
def endTimeColumn = "antract_fin" |
15 | 15 |
//def metadataColumns = ["Identifiant de la notice", "Titre propre", "antract_debut", "antract_fin"] |
... | ... | |
193 | 193 |
|
194 | 194 |
if (found == null) { |
195 | 195 |
if (currentSection != null || currentNode == null) { |
196 |
currentNode = new Node(trsEpisode, "Section", ["type":"non synchronisée", "topic":"none", "startTime":turn.@startTime, "endTime":"", "synchronized":"false"] )
|
|
196 |
currentNode = new Node(trsEpisode, "Section", ["type":"Sujet non synchronisé", "topic":"none", "startTime":turn.@startTime, "endTime":"", "synchronized":"false"] )
|
|
197 | 197 |
currentSection = null; |
198 | 198 |
} |
199 | 199 |
} else { |
Also available in: Unified diff