@@ -20,6 +20,7 @@ tlog(0,"Extract dynamic networks for ASOIAF")
2020# read raw data
2121tlog(2 ," Reading previously computed corpus stats" )
2222data <- read.corpus.data(char.det = " implicit" )
23+ inter.df <- data $ inter.df
2324char.stats <- data $ char.stats
2425scene.stats <- data $ scene.stats
2526scene.chars <- data $ scene.chars
@@ -31,15 +32,17 @@ tlog(2,"Extracting publication-ordered dynamic networks")
3132for (filtered in c(FALSE ,TRUE ))
3233{ tlog(4 ," Dealing with " ,if (filtered ) " " else " un" ," filtered networks" )
3334 gg <- cum.graph.extraction(
35+ inter.df = inter.df ,
3436 char.stats = char.stats ,
3537 scene.chars = scene.chars , scene.stats = scene.stats ,
3638 volume.stats = volume.stats ,
3739 filtered = filtered ,
38- pub.order = pub.order ,
39- char.det = " implicit"
40+ pub.order = FALSE
4041 )
41- cum.write.graph(gs = gg , filtered = filtered , pub.order = " publication" , char.det = " implicit" )
42+ cum.write.graph(gs = gg , filtered = filtered , pub.order = FALSE , char.det = " implicit" )
43+ gg <- cum.read.graph(filtered = filtered , remove.isolates = TRUE , pub.order = FALSE , char.det = " implicit" )
4244}
45+
4346
4447# extract dynamic networks using the novel publication order (slightly different from the comic's)
4548tlog(2 ," Extracting novel-ordered dynamic networks" )
0 commit comments