{"id":492,"date":"2008-11-14T22:31:27","date_gmt":"2008-11-14T22:31:27","guid":{"rendered":"http:\/\/www.roger-pearse.com\/weblog\/?p=492"},"modified":"2008-11-14T22:31:27","modified_gmt":"2008-11-14T22:31:27","slug":"linking-electronic-greek-words-to-their-english-meanings","status":"publish","type":"post","link":"https:\/\/roger-pearse.com\/weblog\/2008\/11\/14\/linking-electronic-greek-words-to-their-english-meanings\/","title":{"rendered":"Linking electronic Greek words to their English meanings"},"content":{"rendered":"<p align=\"justify\">Ancient Greek is tough for computers, and computer programmers, to work with.\u00a0 Firstly it&#8217;s a dead language, secondly it&#8217;s a non-Roman script, and thirdly no-one knows Greek anyway (although a lot of people pretend).<\/p>\n<p align=\"justify\">What we need are tools on our computers.\u00a0 These are appearing, but very slowly.\u00a0 The problem is the non-availability of data.<\/p>\n<p align=\"justify\">Except that data does exist.\u00a0 For some years the <a href=\"http:\/\/www.perseus.tufts.edu\" target=\"_blank\">Perseus site<\/a> has had a very nice electronic edition of Liddell and Scott, and a tool wherein you can put in any Greek word and it will spit out the meaning and the standardised form.\u00a0 The latter is known as the &#8216;lemma&#8217;, presumably to keep people from understanding.\u00a0<\/p>\n<p align=\"justify\">Perseus have now made their data available in the Perseus Hopper, which can be downloaded for non-commercial purposes.\u00a0 Liddell and Scott is in a big XML file.\u00a0<\/p>\n<p align=\"justify\"><a href=\"http:\/\/www.dur.ac.uk\/p.j.heslin\/\" target=\"_blank\">Peter Heslin of Durham University<\/a> has grasped the implications.\u00a0 Version 3.1 of his <a href=\"\/weblog\/www.dur.ac.uk\/p.j.heslin\/Software\/Diogenes\/\" target=\"_blank\">Diogenes<\/a> tool includes this XML file, and another file containing all the possible forms of all the words in the Greek language, their lemma, the part of speech (noun, verb, etc), tense, mood, singular or plural (etc), and most importantly the line number of the full description in the XML file.\u00a0 This means that you can look up any word, and get a full description; so long as it&#8217;s in L&amp;S.\u00a0 The code is in perl, and is supplied.\u00a0 Perl tends to be impenetrable, but this is a relatively well-written example.\u00a0 So if you want to create your own dictionary program, here&#8217;s the materials.<\/p>\n<p align=\"justify\">But what about post-classical Greek?\u00a0 Well, there&#8217;s the New Testament.\u00a0 A list of all the words, in order, with part of speech, lemma, etc, was created long ago by <a href=\"http:\/\/jtauber.com\/morphgnt\/\" target=\"_blank\">James Tauber<\/a> as MorphGNT.\u00a0 The site is down at the moment, but the 1Mb text file does exist.<\/p>\n<p align=\"justify\">Now this is fine, but useless.\u00a0 It doesn&#8217;t contain the English meaning.\u00a0 But&#8230; <a href=\"http:\/\/ulrikp.dk\/strongsgreek\" target=\"_blank\">Ulrik Sandborg-Petersen<\/a> has digitised Strong&#8217;s dictionary and created an XML file of it.\u00a0 This contains the Greek Lemma, for all words in the New Testament, plus the English meaning and other bits of info of no present concern.\u00a0 You can see on his site what the data is, by tapping in his demo example.<\/p>\n<p align=\"justify\">MorphGNT also contains the lemma.\u00a0 So this means that if we join the two together, we get all the possible forms of a word in MorphGNT, and the lemma for them; and the lemma plus the meaning in Strong&#8217;s.\u00a0 Effectively, we now have a dictionary of NT Greek, forms, base form, and meanings.\u00a0 All we have to do is program it.<\/p>\n<p align=\"justify\">What about other, non-classical Greek literature?\u00a0 Somewhere around is a Septuagint in electronic form, with lemmas.\u00a0 This can be referenced either against the meaning in Strong&#8217;s, or that in Liddell and Scott.\u00a0 How many words appear in neither?\u00a0 &#8212; I don&#8217;t know, but it would be interesting to know.\u00a0 Mostly names, I would guess.\u00a0<\/p>\n<p align=\"justify\">Every lemmatized Greek text can now be\u00a0a source of data\u00a0to this process of creating as large an electronic Greek dictionary as we like.\u00a0 And, of course, we need more dictionaries of lemmas-plus-English-meaning.\u00a0 What others could be done, I wonder?\u00a0<\/p>\n<p align=\"justify\">I&#8217;ve just looked for &#8220;lemmatized Greek text&#8221; in Google and, among <a href=\"http:\/\/www.google.co.uk\/search?hl=en&amp;q=lemmatized+Greek+text&amp;meta=\" target=\"_blank\">many interesting results<\/a>, I have found the <a href=\"http:\/\/www.aph.cnrs.fr\/Lexis_US.html\" target=\"_blank\">Lexis site<\/a>, which claims to be able to help produced lemmatized Greek texts.\u00a0 It runs on Mac, and I haven&#8217;t tried it; but it works with the TLG.\u00a0 Likewise\u00a0<a href=\"http:\/\/www.hypotyposeis.org\/weblog\/2006\/12\/lemmatized-searches-on-tlg.html\" target=\"_blank\">Hypotyposeis talks about lemmatized searches in TLG<\/a>.\u00a0 I think Josephus must be available somewhere in lemmatized form &#8212; where?<\/p>\n<p align=\"justify\">What I&#8217;m not finding is much Patristic Greek, tho.\u00a0 What we need, clearly, is G.W.H.Lampe&#8217;s <em>Patristic Greek Lexicon<\/em> in XML.\u00a0 This was published in 1961, so will be in copyright until all of us are dead.\u00a0 But&#8230; couldn&#8217;t someone license an electronic version for non-commercial use?\u00a0\u00a0 It&#8217;s much too expensive for me to buy just at the moment (although a pirate PDF of the page images does exist, I see; apparently pp.1202-3 are missing, tho).<\/p>\n<p align=\"justify\">There is much that I don&#8217;t know still, tho.\u00a0\u00a0Interesting to see that there is a blog called\u00a0<a href=\"http:\/\/www.thecodinghumanist.com\/blog\/\" target=\"_blank\">Coding Humanist<\/a>.\u00a0 Is there anyone out there interested in this stuff too?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ancient Greek is tough for computers, and computer programmers, to work with.\u00a0 Firstly it&#8217;s a dead language, secondly it&#8217;s a non-Roman script, and thirdly no-one<\/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,"_awef_post_faq_schema":[],"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[12],"tags":[160,471,584,790,1156,1287],"class_list":["post-492","post","type-post","status-publish","format-standard","hentry","category-computing","tag-ancient-greek","tag-computing","tag-diogenes","tag-greek","tag-morphgnt","tag-patristics"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/posts\/492","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=492"}],"version-history":[{"count":0,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/posts\/492\/revisions"}],"wp:attachment":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/media?parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/categories?post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/tags?post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}