Michael Neuhold Homepage
Start Page > Ancient Greek and Latin on the Computer > greekconverter

greekconverter


This English version of my German greekconverter page is provided for convenience of those who are interested in greekconverter but do not speak German. I apologize for my poor English.

What's up?

You can

Installation

Simply download the zip archive and extract it into a directory named greekconverter (make sure to match case, the directory name must be written entirely in lowercase characters).

History

greekconverter (when written in lowercase referring to the package) is still under development. But currently I do not have time for it.

Changes from 050306 to 060820:

Changes from 040711 to 050306:

Changes from 040212 to 040711:

Changes from 020921 to 040212:

Changes from 0.7 to 020921:

Changes from 0.6 to 0.7:

Changes from 0.5 to 0.6:

Changes from 0.4 to 0.5:

To do for next versions:

Origins

greekconverter emerged from my (currently ceased) attempts to extend Bruce G. Robertson's DisplayGreek so that not not only Greek but also Latin, Coptic and Hebrew text could be displayed and mixed. For conversion of Betacode into GreekKeys DisplayGreek uses a class jag, which I could not find the source code for, so I could not extend it for Coptic. Hence I decided to write the necessary conversion classes myself. greekconverter was intended as the beginning.

GreekFileConverter

To convert entire files at one draught I wrote GreekFileConverter, a command line tool. To invoke it you must cd to the directory where the greekconverter subdirectory resides. It is invoked:
java greekconverter.GreekFileConverter srcfile destfile conversion [-inputenc value] [-outputenc value]

Consider the following Linux example (for DOS-users: the command ls is roughly equivalent to dir /w):

[/home/shaft/bin/java]$ ls -F
antigone.txt    greekconverter/
[/home/shaft/bin/java]$ java greekconverter.GreekFileConverter -?
GreekFileConverter srcfile destfile convmode [-inputenc value] [-outputenc value]
 srcfile     file name (and path) of the source text file
 destfile    file name (and path) of the output destination file
 convmode    Greek conversion mode
 -inputenc   encoding of srcfile, e.g. US-ASCII, ISO-8859-1, UTF-8
             default is the local charset
 -outputenc  encoding of destfile, like -inputenc
 Valid conversion modes are:
Unicode -> Betacode:    1002
Unicode -> ASCII:       1006
Unicode -> HTML:        1003
Unicode -> GreekKeys:   1004
Unicode -> Names:       1007
Betacode -> Unicode:    2001
HTML -> Unicode:        3001
ASCII -> Betacode:      6002
Bibleworks -> Unicode:  5001
Bibleworks -> Betacode: 5002
GreekKeys -> Unicode:   4001
Unicode -> Decomposed:  1011
Unicode -> Precomposed: 1021
[/home/shaft/bin/java]$ java greekconverter.GreekFileConverter antigone.txt antigone.html 1003 -inputenc UTF-8

Nereus

Nereus is a GUI interface for GreekFileConverter. To invoke it cd into the directory where the greekconverter subdirectory resides and type java greekconverter.Nereus.


Screenshot of the GUI interface Nereus

Disclaimer

Be aware that this is still a beta version. If you discover any errors or wrong conversions please drop me a mail. You may freely use this software, but at your own risk. I do not give any warranties of functioning and cannot be held responsible for any damages caused directly or indirectly by the use of these programs. If your CPU burns down while executing greekconverter code or you have a stroke out of anger do not say you have not been warned.


Author: Michael Neuhold (contact by e-mail)
Last change: Mar 24th 2017