\_sh v3.0 358 Readme Notes \id ADAPT4A \s Shoebox support for DOS CARLA programs \p This project illustrates running the DOS CARLA programs from within Shoebox. \nt NOTE: \p This is useful mostly for people who have already been running the DOS CARLA programs with Shoebox for DOS and want to use Shoebox for Windows instead. \nt You will only be able to run this sample if you have the DOS CARLA programs on your DOS path. \p \s2 Overview \p The files in this sample are the Frisian samples from the DOS CARLA tutorial. \s3 Shoebox's Run Batch File Option \p The primary feature of Shoebox that supports DOS CARLA is Tools, Run Batch File. This is used to run the same types of batch files that are used in DOS. These batch files are built either by the DOS CARLA Menu program, or are built by hand. \s3 Tweaking the Batch Files \p The batch files must be adjusted a little for use in Shoebox. The primary adjustment is to run the interlinear file produced by Intergen through the CC table INTERGSH.CCT to convert it into a format that is better for Shoebox. Another adjustment is to run the CARLA log file through the CC table LOG2SH.CCT to convert it into a format that is better for Shoebox. \p This sample illustrates the necessary adjustments, so you can see what you should do to your files by looking at the files FRIAN.BAT and FRISY.BAT. If you have the DOS CARLA tutorial, you can compare the adjusted batch files with the versions of those files that are shown at the end of the tutorial. \nt NOTE: \p Before you run this sample, you may need to adjust the sample batch files. The first line in each batch file is a change directory to the standard folder where this sample appears: c:\shoebox\samples\adapt\adapt4a. \p If you installed Shoebox to a different location, then you should edit the file FRIAN.BAT and change the path to your path. Do the same for the file ENGYS.BAT. \s3 Running the Batch Process \p You run a batch file from Shoebox with the Tools-Run Batch File menu command. After the batch file finishes running, any files that are displayed in the project and were changed by the batch file are automatically reloaded. For example, break the entry for "oer" in the lexicon by changing it to "oerx". Then run the batch file "frian frilake". You will see the analysis of "oer" in FRILAKE.INT change to show analysis failure. Then fix "oer" and run again to see it change back to success. You can do other experiments as well, including running "frisy frilake" and observing the resulting changes in FRILAKE.SYN. \p \s2 Shoebox Adaptation on CARLA files \p It is possible to do Shoebox adaptation from files generated by DOS CARLA analysis. To do this, start with the interlinear form shown in FRILAKE.INT. This is produced by running an ANA file through the CC table INTERGSH.CCT. Set up "Given" adaptation processes for \interg1 and \interg2. Add a "Lookup" process to go from \interg2 to a target language field. Add "Rearrange" and "Generate" processes as shown in other Shoebox adaptation samples. \s2 CARLA Adaptation of Shoebox Interlinear Files \p It is also possible to do DOS CARLA adaptation from files generated by Shoebox interlinearization. To do this, run the interlinear file through the various CC tables via SHANA.BAT to convert to ANA file format. Run the resulting ANA file through DOS transfer and synthesis. \p \s This concludes the Adaptation Tutorial.