oracc / pyoracc

Python tools for working with ORACC
GNU General Public License v3.0
12 stars 10 forks source link

Non lexing files #44

Open jenshnielsen opened 8 years ago

jenshnielsen commented 8 years ago

MEE15_44.atf

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/ebla/00atf/MEE15_44.atf ... Failed with message: 'PyOracc got an illegal character ' ''

Contains a #bib: field however there is no reference in the bibliography. This should probably fail

jenshnielsen commented 8 years ago

sptu_1_069 and sptu_4_135 fails because @label have typos.

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/cams/gkab/00atf/sptu_1_069.atf ... Failed with message: 'Illegal @STRING 'labelr''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/cams/gkab/00atf/sptu_4_135.atf ... Failed with message: 'Illegal @STRING 'lable''
jenshnielsen commented 8 years ago

2-ed-an_b-q-l.atf have #NV: protocols. Not sure if that line is supposed to exist. It's not documented Similar to with #Cavigneaux: #COLLATE: and #Nabnitu:

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/2-ed-an_b-q-l.atf ... Failed with message: 'Illegal #STRING 'NV''
058:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/nineveh/00atf/K_04177+_l_t.atf ... Failed with message: 'Illegal #STRING 'Cavigneaux''
1096:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/nineveh/00atf/K_04349+_TRO.atf ... Failed with message: 'Illegal #STRING 'COLLATE''
1591:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/nineveh/00atf/Sm_1016_l_t.atf ... Failed with message: 'Illegal #STRING 'Nabnitu''
jenshnielsen commented 8 years ago

The following files fails because we don't implement @div as parts of composites.

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/2-ed-nmpr-q-l.atf ... Failed with message: 'Illegal @STRING 'div''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/3-ob-diri-q-l.atf ... Failed with message: 'Illegal @STRING 'div''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/3-ob-luaz-q-l.atf ... Failed with message: 'Illegal @STRING 'div''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/3-ob-pizi-q-l.atf ... Failed with message: 'Illegal @STRING 'div''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/4-mb-lu-emar-q.atf ... Failed with message: 'Illegal @STRING 'div''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/5-fm-ea1-8.atf ... Failed with message: 'Illegal @STRING 'div''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/5-fm-ura16-q-t.atf ... Failed with message: 'Illegal @STRING 'div''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/00atf/5-fm-ura18-q.atf ... Failed with message: 'Illegal @STRING 'div''
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/obale/00atf/3-ob-pizi-q-l.atf ... Failed with message: 'Illegal @STRING 'div''
jenshnielsen commented 8 years ago

OSP1_08.atf

This contains a misplaced tab char at line 23. It probably shouldn't validate.

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/ebla/00atf/OSP1_08.atf ... Failed with message: 'PyOracc got an illegal character '[''
jenshnielsen commented 8 years ago

P229417.atf we don't implement the var protocol

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/obale/00atf/P229417.atf ... Failed with message: 'Illegal #STRING 'var''
jenshnielsen commented 8 years ago

BagM 23 179.atf We don't implement @seal num correctly

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rimanum/00atf/BagM 23 179.atf ... Failed with message: 'PyOracc got an illegal character ' ''
jenshnielsen commented 8 years ago

Esar0038.atf and Esar2019.atf

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0038.atf ... Failed with message: 'PyOracc got an illegal character '–''

Two issues. Using a unicode hyphen rather than a minus on 184 and 203.

We also don't currently pass the syntax (in Esar0038.atf)

@(10'–19' = 10'–26') (No translation possible)
jenshnielsen commented 8 years ago

Esar0101.atf

Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0101.atf ... Failed with message: 'PyOracc got an illegal character '(''

contains @reverse(?. Which is probably not correct syntax

jenshnielsen commented 8 years ago

Are all the result of not handling @ which are inside paragraphs but at the beginning of lines

2288:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0001.atf ... Failed with message: 'Illegal @STRING 'i''
2289:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0002.atf ... Failed with message: 'Illegal @STRING 'i''
2295:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0008.atf ... Failed with message: 'Illegal @STRING 'i''
2305:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0018.atf ... Failed with message: 'Illegal @STRING 'i''
2335:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0048.atf ... Failed with message: 'Illegal @STRING 'i''
2340:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0053.atf ... Failed with message: 'Illegal @STRING 'i''
2341:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0054.atf ... Failed with message: 'Illegal @STRING 'i''
2345:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0058.atf ... Failed with message: 'Illegal @STRING 'i''
2347:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0060.atf ... Failed with message: 'Illegal @STRING 'i''
2352:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0065.atf ... Failed with message: 'Illegal @STRING 'i''
2364:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0077.atf ... Failed with message: 'Illegal @STRING 'i''
2365:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0078.atf ... Failed with message: 'Illegal @STRING 'i''
2366:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0079.atf ... Failed with message: 'Illegal @STRING 'i''
2380:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0093.atf ... Failed with message: 'Illegal @STRING 'i''
2391:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0104.atf ... Failed with message: 'Illegal @STRING 'i''
2392:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0105.atf ... Failed with message: 'Illegal @STRING 'i''
2393:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0106.atf ... Failed with message: 'Illegal @STRING 'i''
2397:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0110.atf ... Failed with message: 'Illegal @STRING 'i''
2401:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0114.atf ... Failed with message: 'Illegal @STRING 'i''
2403:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0116.atf ... Failed with message: 'Illegal @STRING 'i''
2416:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0129.atf ... Failed with message: 'Illegal @STRING 'i''
2417:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0130.atf ... Failed with message: 'Illegal @STRING 'i''
2420:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0133.atf ... Failed with message: 'Illegal @STRING 'i''
2425:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar0138.atf ... Failed with message: 'Illegal @STRING 'i''
2440:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar1010.atf ... Failed with message: 'Illegal @STRING 'i''
2442:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar1012.atf ... Failed with message: 'Illegal @STRING 'i''
2463:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar2003.atf ... Failed with message: 'Illegal @STRING 'i''
2466:Parsing file /Users/jhn/ucl/oracc/oracc_corpus/rinap/rinap4/00atf/Esar2006.atf ... Failed with message: 'Illegal @STRING 'i''

Such as in Esar0001.atf

@(i 87 - ii 11) In Addaru (XII), a favorable month, on the eighth day, the
@i{eššēšu-}festival of the god Nabû, I joyfully entered Nineveh, my capital
city, and I sat happily on the throne of my father. The south wind, the breeze
of the god Ea, the wind whose blowing is favorable for exercising
kingship, blew upon me. (ii 5) Favorable signs came in good time to me in
heaven and on earth. They (the gods) continually and regularly encouraged me
with oracles through ecstatics, the message(s) of the gods and goddess(es). I
sought out every one of the guilty soldiers, who wrongly incited my brothers
to exercise kingship over Assyria, and imposed a grievous punishment on
them: I exterminated their offspring.