Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://en.wikipedia.org/wiki/Greek_diacritics#Unicode | |
#Upper Case Vowels | |
UPPER = ['Α', 'Ε', 'Η', 'Ι', 'Ο', 'Υ', 'Ω', 'ᾼ', 'ῌ', 'ῼ'] | |
UPPER_ACUTE = ['Ά', 'Έ', 'Ή', 'Ί', 'Ό', 'Ύ', 'Ώ'] | |
UPPER_GRAVE = ['Ὰ', 'Ὲ', 'Ὴ', 'Ὶ', 'Ὸ', 'Ὺ', 'Ὼ'] | |
UPPER_SMOOTH = ['Ἀ', 'Ἐ', 'Ἠ', 'Ἰ', 'Ὀ', 'Ὠ', 'ᾈ', 'ᾘ', 'ᾨ'] | |
UPPER_SMOOTH_ACUTE = ['Ἄ', 'Ἔ', 'Ἤ', 'Ἴ', 'Ὄ', 'Ὤ', 'ᾌ', 'ᾜ', 'ᾬ'] | |
UPPER_SMOOTH_GRAVE = ['Ἂ', 'Ἒ', 'Ἢ', 'Ἲ', 'Ὂ', 'Ὢ', 'ᾊ', 'ᾚ', 'ᾪ'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# In[1]: | |
import os | |
import re | |
from cltk.corpus.utils.formatter import assemble_phi5_author_filepaths | |
from cltk.corpus.utils.formatter import phi5_plaintext_cleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
cd greeklib; make greeklib.a | |
make[1]: Entering directory `/vagrant/morpheus/src/greeklib' | |
gcc -O2 -I../includes -c -o Fclose.o Fclose.c | |
Fclose.c: In function ‘xFree’: | |
Fclose.c:28:2: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] | |
free(p); | |
^ | |
gcc -O2 -I../includes -c -o addaccent.o addaccent.c | |
gcc -O2 -I../includes -c -o addbreath.o addbreath.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./update.sh | |
buildend -L nom | |
endtables/ascii/a_ae.asc | |
endtables/ascii/e_es.asc | |
endtables/ascii/es_ae.asc | |
endtables/ascii/as_ae.asc | |
endtables/ascii/us_i.asc | |
endtables/ascii/ius_i.asc | |
endtables/ascii/os_i.asc | |
endtables/ascii/0_i.asc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant-ubuntu-trusty-64:/vagrant/morpheus/src$ make | |
cd greeklib; make greeklib.a | |
make[1]: Entering directory `/vagrant/morpheus/src/greeklib' | |
gcc -O2 -I../includes -c -o Fclose.o Fclose.c | |
Fclose.c: In function ‘xFree’: | |
Fclose.c:28:2: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] | |
free(p); | |
^ | |
gcc -O2 -I../includes -c -o addaccent.o addaccent.c | |
gcc -O2 -I../includes -c -o addbreath.o addbreath.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
siue 4851 | |
praecipue 885 | |
neue 503 | |
ioue 422 | |
graue 377 | |
breue 217 | |
leue 215 | |
caue 209 | |
salue 208 | |
naue 188 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ne 17403 | |
sine 8675 | |
nomine 4131 | |
bene 3753 | |
ratione 2391 | |
sane 2115 | |
omne 1959 | |
sanguine 1405 | |
paene 1314 | |
condicione 1266 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
atque 20349 | |
neque 14000 | |
quoque 12658 | |
itaque 5090 | |
usque 2667 | |
denique 2216 | |
quisque 1675 | |
namque 1658 | |
quinque 1476 | |
utique 1325 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 214 columns, instead of 1. in line 2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
author,word_count,sent_count,5,6,1,avg_words_per_sent,2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,25,27,28,29,31,33,40,44,24,26,30,32,34,35,36,37,38,39,41,42,45,47,48,49,51,54,55,57,59,65,80,82,107,43,50,52,53,58,62,67,68,76,88,46,106,136,63,64,193,69,70,73,84,86,87,91,92,100,90,109,119,56,60,61,66,71,72,74,75,77,78,79,81,83,85,89,93,95,96,98,97,105,108,110,112,113,122,125,126,147,153,155,178,104,114,121,148,204,94,102,115,133,146,144,145,99,101,111,117,118,120,123,129,130,132,103,364,142,149,151,159,160,161,163,167,179,189,200,116,128,124,199,227,248,134,184,127,196,158,352,139,157,162,164,192,217,226,252,135,137,138,141,143,150,154,581,168,284,174,186,287,191,198,203,205,271,209,280,255,212,214,237,279,236,140,302,166,197,211,222,241,247,183,176,131,781,172 | |
Ablabius,12.0,3.0,1.0,1.0,1.0,4.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
Aem |