Cuneify

Cuneify is a facility for generating Sumero-Akkadian cuneiform in Unicode encoding. For simple instructions on embedding Cuneify into a web page, see here.

Implementation

The underlying implementation of Cuneify is presently built-in to the ATF processor. The processor can decorate its output tree with the Unicode character for each grapheme, and this output can then be post-processed in various ways.

Interfaces

At present, the only public interface is via the CGI script at:

http://oracc.museum.upenn.edu/cgi-bin/cuneify

CGI API

Parameters

The CGI API takes two parameters:

input
The transliteration to convert which must be in valid ATF format
project
An optional argument naming an Oracc project located on the same Oracc server as the CGI script. The path /cuneify/index.html is appended to the project name to locate the form to return.

Return

When the CGI script is executed, it looks for the project's Cuneify form and, if found, it performs variable substitutions and returns the form as follows:

No XML/HTML parsing is done on the file, which results in the following constraints:

Errors

If the input is not valid ATF the CGI script returns an apology for its inability to understand the input.

Example

For an example of how to use the Cuneify CGI interface, see the Cuneiform Revealed [http://oracc.museum.upenn.edu/saao/knpp/cuneiformrevealed/cuneify] pages for which the CGI interface was originally developed.

23 Jul 2014

Steve Tinney

Steve Tinney, 'Cuneify', Oracc: The Open Richly Annotated Cuneiform Corpus, Oracc, 2014 [http://oracc.museum.upenn.edu/doc/tools/cuneify/]

 
Back to top ^^
 

Released under a Creative Commons Attribution Share-Alike license 3.0, 2014. [http://www.facebook.com/opencuneiform] [http://oracc.blogspot.com] [http://www.twitter.com/oracctivity]
Oracc uses cookies only to collect Google Analytics data. Read more here; see the stats here [http://www.seethestats.com/site/oracc.museum.upenn.edu]; opt out here.

http://oracc.museum.upenn.edu/doc/tools/cuneify/