I need help with creating custom xml reader for use with the tm package. The objective is to crate a corpus for analysis. Files that I'm working with come from solr and are in a funky XML format never the less I'm able to parse the XML files using solrDocs.R function provided by Duncan Temple Lang.
The problem I'm having that once I parse the document I need to create a custom reader that would be compatible with the tm package. If someone build a custom reader for tm package, or has some ideas of how to go about this, I would greatly appreciate the help. Thanks -- View this message in context: http://r.789695.n4.nabble.com/tm-package-custom-reader-tp4292766p4292766.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.