Cuneify is a facility for generating Sumero-Akkadian cuneiform in Unicode encoding. For simple instructions on embedding Cuneify into a web page, see here.
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.
At present, the only public interface is via the CGI script at:
The CGI API takes two parameters:
/cuneify/index.htmlis appended to the project name to locate the form to 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:
inputis edited so that its
valueattribute is the user's input transliteration.
CuneifyOutputis edited to insert the result string after the
No XML/HTML parsing is done on the file, which results in the following constraints:
<input>element which is to be edited must be the first element in the line with an attribute named
<span>element which is to be edited must be empty, but must not be expressed using the XML empty tag syntax (i.e., it must be
<span id="CuneifyOutput" class="some classes"></span>). The closing
>must be on the same line as the span element. If you are generating the form using an XML processing chain you can subvert any tendency for it to output
<span id="CuneifyOutput"/>by including a space character--the space will be included at the end of the cuneiform return string but this should be benign.
If the input is not valid ATF the CGI script returns an apology for its inability to understand the input.
For an example of how to use the Cuneify CGI interface, see the Cuneiform Revealed pages for which the CGI interface was originally developed.23 Jul 2014
Steve Tinney, 'Cuneify', Oracc: The Open Richly Annotated Cuneiform Corpus, Oracc, 2014 [http://oracc.museum.upenn.edu/doc/tools/cuneify/]