{"id":517,"date":"2017-04-03T14:42:19","date_gmt":"2017-04-03T14:42:19","guid":{"rendered":"https:\/\/www.ryanboyd.io\/software\/meh\/?page_id=517"},"modified":"2023-02-08T15:17:10","modified_gmt":"2023-02-08T15:17:10","slug":"csv-files-to-txt-files","status":"publish","type":"page","link":"https:\/\/www.ryanboyd.io\/software\/meh\/csv-files-to-txt-files\/","title":{"rendered":"Input Data"},"content":{"rendered":"<p>MEH is designed to work with texts that are contained in separate .txt files, or with texts contained within a CSV spreadsheet. If you have other spreadsheet formats (e.g., XLSX), you can simply &#8220;Save As&#8221; a CSV file for analysis with MEH.<\/p>\n<p>Long, long ago, MEH was only set up to work with .txt files.There were a lot of reasons for this, but they&#8217;re mostly obsolete now. However, you may still prefer working directly from .txt files (I know that I sometimes still do). If you have a CSV file full of texts, the easiest way to get your texts from spreadsheets into .txt files is by using <a href=\"https:\/\/github.com\/ryanboyd\/ezpztxt\" target=\"_blank\" rel=\"noopener\">EZPZTXT<\/a>, a simple program that does about 98% of the work for you. I had written a little discussion before about using some scripts (which I&#8217;ve kept on this page below), but it&#8217;s somewhat unnecessary to read now that EZPZTXT exists. Alternatively, you could tinker with one of the following scripts in R or Python:<\/p>\n<p><a href=\"https:\/\/github.com\/ryanboyd\/CSVtoTXTscripts\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/ryanboyd\/CSVtoTXTscripts<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MEH is designed to work with texts that are contained in separate .txt files, or with texts contained within a CSV spreadsheet. If you have other spreadsheet formats (e.g., XLSX), you can simply &#8220;Save As&#8221; a CSV file for analysis with MEH. Long, long ago, MEH was only set up to work with .txt files.There [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-517","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ryanboyd.io\/software\/meh\/wp-json\/wp\/v2\/pages\/517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ryanboyd.io\/software\/meh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ryanboyd.io\/software\/meh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ryanboyd.io\/software\/meh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ryanboyd.io\/software\/meh\/wp-json\/wp\/v2\/comments?post=517"}],"version-history":[{"count":8,"href":"https:\/\/www.ryanboyd.io\/software\/meh\/wp-json\/wp\/v2\/pages\/517\/revisions"}],"predecessor-version":[{"id":849,"href":"https:\/\/www.ryanboyd.io\/software\/meh\/wp-json\/wp\/v2\/pages\/517\/revisions\/849"}],"wp:attachment":[{"href":"https:\/\/www.ryanboyd.io\/software\/meh\/wp-json\/wp\/v2\/media?parent=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}