Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/cdli-gh/atf2tei

TEI XML converter for CDLI ATF cuneiform tablet markup.
https://github.com/cdli-gh/atf2tei

xml-escape the description.

We get the description from the &-line of the atf, which itself
sometimes contains characters li...

c104f80d45f61242913b6f6f840c1cee82cfb9c8 authored over 5 years ago by Ralph Giles <[email protected]>
Mark atf2tei.py as utf-8.

We have unicode text. This apparently helps the interpreter
interpret correctly.

cb362ce589218176abd671e65a53df3fe878149f authored over 5 years ago by Ralph Giles <[email protected]>
Write out a test urn.

Capitains requires a urn on the <text> element of each document
file. We still need to append a ...

fee2728fe561d3d38cdcb16d7f898831552f6817 authored over 5 years ago by Ralph Giles <[email protected]>
Add support for translations.

Handle translation objects in a second pass, writing them out
in a sibling tei:div to the editio...

04023817d529df6b431df1ab391fd1458cb99400 authored over 5 years ago by Ralph Giles <[email protected]>
Don't normalize translations like transliterations.

Some of the replacements, like j->ŋ, corrupt text in other
languages. Just return these without ...

b7d3c0a86064868a296c8fcc7a0c266830b584ac authored over 5 years ago by Ralph Giles <[email protected]>
Fix typo in digraph conversion.

It was converting every capital S into Ṣ and dropping the
subsequent character. Period is very d...

f1e91fdfef335bec07db1290f57c98f284b09982 authored over 5 years ago by Ralph Giles <[email protected]>
Fix long lines.

Codestyle lint. Also don't add the xml:lang tag if we don't
have a language from the parser.

6d1f983c67603534a9b4530671a605d14aaf7d4b authored over 5 years ago by Ralph Giles <[email protected]>
Update output to better match epidoc.

This helps pass some of the Capitains tests, although the levels
don't match as well with our da...

95cdb7acd9a1297a14c56a4692f401ce5c8fdd9c authored over 5 years ago by Ralph Giles <[email protected]>
Disable info messages.

These get in the way when dumping the output to a file for
serving by cdli-cts-server. Should re...

7310872c5836877117e1437fc3a3376ff7dfcc2b authored over 5 years ago by Ralph Giles <[email protected]>
Generate line number annotations.

This helps the CTS server with refrence resolution.

fc624f1d76794c2102779842e674d4220bbe8062 authored over 5 years ago by Ralph Giles <[email protected]>
Improve transliteration formatting.

Replace diglyphs with unicode, and use some simple TEI elements
to mark superscripts and logograms.

618ae432496fb30f3df5793378ed1ee6ba8b7469 authored over 5 years ago by Ralph Giles <[email protected]>
Open files as utf-8.

Even in Python 3.7, the open() call defaults to a non-UTF-8
character encoding for text files on...

c1165ee0653077ebd772156b33932a47b84474ff authored over 5 years ago by Ralph Giles <[email protected]>
Add language attribute to the <text> element.

Per encoding guidelines propagate the primary language
of the tablet to the xml:lang attribute f...

321f6331220bd04186abfcb64c8c026fd8bc9d82 authored over 5 years ago by Ralph Giles <[email protected]>
gitlab-ci: Add a build description.

This configures jobs for running on a gitlab instance's
continuous integration service.

Use doc...

0d7fc65b9a4831396b96e942428a95b3e30b3704 authored over 5 years ago by Ralph Giles <[email protected]>
Add travis badge.

Report the current build status of the master branch.

d74fa3d4bed395e29f1079ab43052dd7bb09ab37 authored over 5 years ago by Ralph Giles <[email protected]>
Write out non-OraccObject text children as comments.

This lets us parse more of the files, although it adds considerable
noise to the output as pyora...

f3bc2e2c23b0a040bddb0dcaaa815d07baf6d46e authored over 5 years ago by Ralph Giles <[email protected]>
Use format strings for the looped xml generation.

This is a built-in templating sugar added in Python 3.6. It's
equivalent to calling .format on t...

9c93d0a4279ca5af17369626f4c7d158efdd2cf9 authored over 5 years ago by Ralph Giles <[email protected]>
Escape line content.

Transliteration markup can contain sequences ilike `<missing>`
which are interpreted as xml tags...

64297de5f40c7bd59dee369e2bb74a38bb94c120 authored over 5 years ago by Ralph Giles <[email protected]>
Remove extra newline at the end of the output.

0b047ec69e633b2b38e459083d6004a75e5b5c60 authored over 5 years ago by Ralph Giles <[email protected]>
travis: More explicit config.

Travis defaults don't know about pipenv, so we need
and explicit script.

pycodestyle needs to b...

259db3893c8df98c8d76b1a13e07df8918bcb0e8 authored over 5 years ago by Ralph Giles <[email protected]>
travis: Minimal travis build config for python.

Travis-ci.org is a continuous-integration service which provides
automatic build and test feedba...

5a271adb6bccafdcf74abfc919b51a1fb3cfc632 authored over 5 years ago by Ralph Giles <[email protected]>
Add a simple pytest.

Add a minimal test that just runs the included atf example through
the converter.

pipenv in...

699e60ad3b46f1657fdbbadbc638754272dabfb6 authored over 5 years ago by Ralph Giles <[email protected]>
Add a conversion sketch.

Use pyoracc to parse a given ATF file and manually construct
and print an TEI document containin...

fc66d5665d0f6045936355fe6015ac41323cce7f authored over 5 years ago by Ralph Giles <[email protected]>
Improve manual tei conversion example.

- Pretty-print the xml.
- Remove line numbers.
- Adjust the header so that it validates.

Core T...

55f56c643474e33ef02a331708f7204fbe301331 authored over 5 years ago by Ralph Giles <[email protected]>
Add pyoracc 0.1 dependency.

We want to use this atf parser.

e20447c67c01cdec0b5f63eb6fea60ce93da1796 authored over 5 years ago by Ralph Giles <[email protected]>
Add a Pipfile for managing dependencies.

Result of `pipenv --python 3.7`.

fdae719f1adfcf96bf98d364fd2e644faa80582b authored over 5 years ago by Ralph Giles <[email protected]>
Relicense GPLv3+.

The oracc parser we rely on is GPLv3+. While the previous
MIT+Apache2 licensing was compatible w...

c30dbdbb03a6c74d2e6e3d759d9e905b23fbdc72 authored over 5 years ago by Ralph Giles <[email protected]>
Link to the Google Summer of Code site.

These links aren't historically very stable, but I'd like to
give some credit.

091faf2c7420c2b02e9d9d80c082ec1d3926c541 authored over 5 years ago by Ralph Giles <[email protected]>
Fix README typo.

Someday I'll internalize markdown but today wasn't that day.

a3a99fdd0075aabdfb55b70550fb564bdbce99e1 authored over 5 years ago by Ralph Giles <[email protected]>
License project as dual MIT and Apache-2.0.

Add copyright licenses for clarity. These are generally permissive
in terms of copyright while o...

19517ef21b994d9236988615c2b006ec79030daa authored over 5 years ago by Ralph Giles <[email protected]>
Add README links.

Make it easier to find context for the project.

85ab1e76875edd3acac757ccafe4c07f85e8c86e authored over 5 years ago by Ralph Giles <[email protected]>
Add README.

Only a description so far, but an essential part for people visiting
repository hosting pages.

4053383588479664e0cd0003c2018ebab3d0df1d authored over 5 years ago by Ralph Giles <[email protected]>
Corresponding ATF source for P481090.

This is copied from the database dump at

https://github.com/cdli-gh/data

commit 6af8fed37e7d...

78b9ff77665157ee8eb80eb3c029ed1a3cd803b5 authored over 5 years ago by Ralph Giles <[email protected]>
Hand-converted sketch of CDLI P481090.

This is a manually constructed example of how a tablet might
look encoded in Text Encoding Initi...

692139ff5173b95a7ab37ee53182b5cc3d4a1d87 authored over 5 years ago by Ralph Giles <[email protected]>