Closed wilcar closed 4 years ago
Yep, text2
is a character vector, not a connection. Here is how to do it :
library(rainette)
texte <- "****\nBah blah blah\n****\nFoo bar"
con <- textConnection(texte)
corpus <- import_corpus_iramuteq(con)
C'est bien ça ! je ne connaissais pas la fonction textConnection !
First stage : I am dealing with Gallica OCRs and importing raw text from urls (I dont want to work with txt files)
Second stage : adding the top and bottom stars (iramuteq syntax)
Third stage ....with an error
I tried directly :
but I have this message using dfm function
Thank you for helping (in french if you want)