TMX2Moses ========= Description ----------- The program takes a TMX-file created with OmegaT and makes to bi-text files, suitable for Moses training. Notes ----- 1. This program is designed for Windows. In Linux the letters might look weird. 2. The program hasn't got any GUI - you have to run it from the command line i.e. in the Command interpreter. 3. The first version speaks Swedish only, but it won't be a problem. Just enter the name of your TMX-file (with full path) when the program waits for input. Hit and wait for the bi-text files to be created. Usage ----- If you'r not a programmer or a computer freak do like this: 0. Download and install Java from Oracle, if you don't have it installed. You only need the common version (Java SE Runtime Environment), not the full kit for developers (Java JDK).You MUST install the 32-bit version if you have a 32-bit browser (even if you run 64-bit Windows). In doubt: choose 32-bit Java and avoid severe trouble. 1. Download the file TMX2Moses.jar . 2. Make a new folder called TMX2Moses in your user folder. In Windows 7: Click on START and then on your username (up to the far right). Now you are in your user folder. Create a new folder named TMX2Moses. 3. Copy the file TMX2Moses.jar to your new folder TMX2Moses. 4. Copy your TMX-file to your new folder TMX2Moses. 5. Open the Command interpreter (Start – Programs – Utilities – Command Interpreter). 6. Type cd TMX2Moses and hit to get to the new folder with the program. 7. Type: java -jar TMX2Moses.jar and the program starts. (If the program doesn't start, you might have to either enter the path to java.exe in the path-varible for your system or write the full path before "java", like this: C:\Program Files (x86)\Java\jre1.8.0_25\bin\java) 8. You get this notice: "Fullständig sökväg måste anges före filnamnet" (You must write the full path before the filename) and the prompt: "Ange TMX-filens namn:" (Please enter the name of the TMX-file) 9. Type the name of your TMX-file, e.g. My_own.tmx. Don't forget the file extension :".tmx" at the end. (You don't have to type the path before the filename, because you have copied your TMX-file to the same folder as the program TMX2Moses.) 10. Hit and wait for the result. 11. You'll get an error message if the TMX-file doesn't exist (that is: if you have made a typo). 12. The languages (Språk) are detected and the name of the resulting files is presented (Resultatfiler). They will be created in the same folder as your TMX-file. 13. When "Klart" is displayed the work is done. 14. "Resultatet skrivet till filerna:" (The result has been written to the files:) The names of the resulting files is displayed once more. 15. Enjoy your new bi-text files! You'll find them in the same folder as your TMX-file. In this case in your new folder TMX2Moses.