Changed RE for Roman to allow Kriminalroman but to avoid Romanze... and similar in combinations
diff --git a/shiny/app.R b/shiny/app.R
index c18b2d7..ca4b940 100644
--- a/shiny/app.R
+++ b/shiny/app.R
@@ -167,7 +167,7 @@
corpus <- vcFromString(input$cq)
texttypes <-
- c("/[^:]*[Zz]eitung.*/", "/(Zeitschrift|Magazin).*/", "/Agenturmeldung.*/", "/Enzyklopädie.*/", "/.*Diskussion.*/", "/Roman.*/", "/Newsgroup.*/", "/Tagebuch.*/", "/.*Sachbuch.*/")
+ c("/[^:]*[Zz]eitung.*/", "/(Zeitschrift|Magazin).*/", "/Agenturmeldung.*/", "/Enzyklopädie.*/", "/.*Diskussion.*/", "/.*[Rr]oman([^z]|$)/", "/Newsgroup.*/", "/Tagebuch.*/", "/.*Sachbuch.*/")
df <- expand_grid(corpus=corpus, texttype=texttypes) %>%
mutate(vc = sprintf("%stextType=%s", corpus, texttype)) %>%