Use the perseus-eng4 (Butler) version found here: https://github.com/PerseusDL/canonical-greekLit/blob/master/data/tlg0012/tlg001/tlg0012.tlg001.perseus-eng4.xml.
-
Fork this repository.
-
Create a file called
tlg0012.tlg001.perseus-eng4.pope-alignments:1.[START]-1.[END].py, where[START]and[END]stand for the starting and ending lines in the Butler translation. That is,[START]will correspond to thennumber in one<milestone>tag, and[END]will correspond ton - 1in the next<milestone>.
I have created tlg0012.tlg001.perseus-eng4.pope-alignments:1.1-1.4.py as an example.
- In that file, create a dictionary called
alignments. At the first level, add the book and line citations (your start and end numbers). Then, create a sub-dictionary with keys"butler"and"pope", and add the corresponding text for each. Your result should look something like the example:
alignments = {
"1.90–1.94": {
"butler": """no, not though you name Agamemnon himself, who
is by far the foremost of the Achaeans." Thereon the seer [<term xml:lang="grc"
>mantis</term>] spoke boldly. "The god," he said, "is angry neither about
vow nor hecatomb, but for his priest's sake, whom Agamemnon has dishonored,""",
"pope": """Whence rose these woes, and whence this dire debate?
From Jove and Thetis sprang the stern decree,
That urged Achilles’ wrath and doomed to fate
The chiefs untimely, in the martial fray.
For priest despised, and ransom cast away."""
}
}- Commit your results and open a pull request against this repository.