{"id":34844,"date":"2022-05-20T16:04:44","date_gmt":"2022-05-20T15:04:44","guid":{"rendered":"https:\/\/www.roger-pearse.com\/weblog\/?p=34844"},"modified":"2022-05-20T16:04:44","modified_gmt":"2022-05-20T15:04:44","slug":"getting-started-with-collatex","status":"publish","type":"post","link":"https:\/\/roger-pearse.com\/weblog\/2022\/05\/20\/getting-started-with-collatex\/","title":{"rendered":"Getting Started With Collatex Standalone"},"content":{"rendered":"<p align=\"justify\">Collatex seems to be the standard collation tool.\u00a0 Unfortunately I don&#8217;t much care for it.\u00a0 Also interestingly, the web site does not actually tell you how to run it locally!\u00a0 So here&#8217;s a quick note.<\/p>\n<p align=\"justify\">Collatext is a Java program, so you must have a Java Runtime Environment (JRE) installed, for version 8 or higher.\u00a0 I think Windows 10 comes with a JRE anyway, but I can&#8217;t tell because long ago I set up a Java development environment which overrides such things.<\/p>\n<p align=\"justify\">You download the <strong>.jar<\/strong> file for Collatex from <a href=\"https:\/\/collatex.net\/download\/\">here<\/a>.\u00a0 Download it somewhere convenient, such as your home directory c:\\users\\<em>Yourname<\/em>.<\/p>\n<p align=\"justify\">Then hit the Start key, type <span style=\"text-decoration: underline;\"><strong>cmd.exe<\/strong><\/span>, and open a command window.\u00a0 By default this will start in that same directory.<\/p>\n<p align=\"justify\">Then run the following command in the command window.<\/p>\n<pre>java -jar collatex\/collatex-tools-1.8-SNAPSHOT.jar -S<\/pre>\n<p>This starts a web server, on port 7369, with error messages to that command window.\u00a0 (If you just want to start the server and close the window, do &#8220;start java &#8230;&#8221;).<\/p>\n<p>You can then access the GUI interface in your browser on\u00a0<a href=\"localhost:7369\">localhost:7369<\/a>.\u00a0 This is the same interface as the &#8220;Demo&#8221; link on the Collatex website.\u00a0 You can load witnesses, and see the graphical results.<\/p>\n<p>I think it&#8217;s best for collating a few sentences.\u00a0 It&#8217;s not very friendly for large quantities of text.<\/p>\n<p>UPDATE: 20 Dec 2022.\u00a0 Apparently this is just a standalone thing, and is NOT how you use Collatex for real.\u00a0 It&#8217;s actually done by writing little scripts in python.\u00a0 A couple of links:<\/p>\n<ul>\n<li>https:\/\/nbviewer.org\/github\/DiXiT-eu\/collatex-tutorial\/blob\/master\/unit5\/1_collate-plain-text.ipynb<\/li>\n<li>http:\/\/interedition.github.io\/collatex\/pythonport.html<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Collatex seems to be the standard collation tool.\u00a0 Unfortunately I don&#8217;t much care for it.\u00a0 Also interestingly, the web site does not actually tell you how to run it locally!\u00a0 So here&#8217;s a quick note. Collatext is a Java program, so you must have a Java Runtime Environment (JRE) installed, for version 8 or higher.\u00a0 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[19],"tags":[448,471,1409],"class_list":["post-34844","post","type-post","status-publish","format-standard","hentry","category-from-my-diary-announcements","tag-collation","tag-computing","tag-python-collatex"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/posts\/34844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/comments?post=34844"}],"version-history":[{"count":0,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/posts\/34844\/revisions"}],"wp:attachment":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/media?parent=34844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/categories?post=34844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/tags?post=34844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}