|
Installing HyFoHyFo comes as a basic hyphenation program and a number of plug-in hyphenation tree instances. For HyFo to be useful, at least one of the plug-ins must be installed. System requirementsHyFo is built against a version of the 1.5.0 JDK. As of
this writing,the particular version is 1.5.0_09. In order to build
HyFo, a compatible JDK and Ant 1.6.5 or later are required. The source Binary distribution: HyFo and HyFo-localesThe basic binary distribution, HyFo, contains the jar file, hyfo.jar, and the web pages and Javadocs zip file, hyfo_docs.zip. Place hyfo.jar in a convenient directory. Ensure the directory is on the classpath when you wish to use the HyFo classes. You must also have a jar file for each locale for which you require hyphenation, for example hyfo_lppl_de.jar. All of the locale binary jars are located in the HyFo-locales distribution. Retrieve the locales you require. Place these jars in the same directory, or in a directory which will also be on the classpath when HyFo is running. The top-level The top-level directories within hyfo_docs.zip are:
Unzip this file in any convenient location. Source distribution: HyFo-src and HyFo-locales-srcThe distribution HyFo-src distribution contains the source package which builds the main binary distribution jar. This is the zip file hyfo_builder.zip. This zip file contains all of the files needed to build HyFo, with the exception of any pattern files. Each available hyphenation pattern locale file comes in its own source jar, for example hyfo-src_lppl_de.zip. All of these files are located in the HyFo-locales-src distribution. Retrieve the sources for the required locales from this distribution. A partial contents list of hyfo_builder.zip includes:
In other words, there is no single directory at the top of the file tree contained in hyfo_builder.zip. Unpacking the sourcesHyFo code sourcesCreate a top-level directory to old the HyFo source tree, for example,
Locale sourcesEach locale file contains only the directory HyFo was developed using NetBeans 5.0 and 5.5. The source may be compiled using only Ant and the build.xml file, or another IDE may be used. If you wish to use NetBeans, you may simply open a project in NetBeans by pointing to the directory in which you unpacked these files. |