Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_READ_ME_FIRST.txt « Moses2TMX-1.032 « Windows-add-ins « moses-for-mere-mortals « contrib - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d661dd1360b1f6a0ff0e917a69200d0b01950f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Summary:
	PURPOSE
	REQUIREMENTS
	INSTALLATION
	HOW TO USE
	LICENSE



***********************************************************************************************************
PURPOSE:
***********************************************************************************************************
Moses2TMX is a Windows program (Windows7, Vista and XP supported) that enables translators not necessarily with a deep knowledge of linguistic tools to create TMX files from a Moses corpus or from any other corpus made up of 2 separate files, one for the source language and another for the target language, whose lines are strictly aligned. 

The program processes a whole directory containing source language and corresponding target language documents and creates 1 TMX file (UTF-16 format; Windows line endings) for each document pair that it processes. 

The program accepts and preserves text in any language (including special diacritical characters), but has only been tested with European Union official languages.

The program is specifically intended to work with the output of a series of Linux scripts together called Moses-for-Mere-Mortals.
***********************************************************************************************************
REQUIREMENTS: 
***********************************************************************************************************
The program requires the following to be pre-installed in your computer:

1) Python 2.5 (http://www.python.org/download/releases/2.5.4/);
NOTE1: the program should work with Python 2.6, but has not been tested with it.
NOTE2: if you use Windows Vista, launch the following installation programs by right-clicking their file in Windows Explorer and choosing the command "Execute as administrator" in the contextual menu.
2) wxPython 2.8, Unicode version (http://www.wxpython.org/download.php);
3) Pythoncard 0.8.2 (http://sourceforge.net/projects/pythoncard/files/PythonCard/0.8.2/PythonCard-0.8.2.win32.exe/download)

***********************************************************************************************************
INSTALLATION:
***********************************************************************************************************
1) Download the Moses2TMX.exe file in a directory of your choice.
2) Double-click Moses2TMX.exe and follow the wizard's instructions.
***IMPORTANT***: Never erase the file "LanguageCodes.txt" in that directory. It is necessary for telling the program the languages that it has to process. If your TMX files use language codes that are different from those contained in this file, please replace the codes contained in the file with the codes used in your TMX files. You can always add or delete new codes to this file (when the program is not running).


***********************************************************************************************************
HOW TO USE:
***********************************************************************************************************
1) Create a directory where you will copy the files that you want to process.
2) Copy the source and target language documents that you want to process to that directory. 
NOTE -YOU HAVE TO RESPECT SOME NAMING CONVENTIONS IN ORDER TO BE ABLE TO USE THIS PROGRAM:
a) the target documents have to have follow the following convention:

  {basename}.{abbreviation of target language}.moses
  
  where {abbreviation of target language} is a ***2 character*** string containing the lowercased first 2 characters of any of the language codes present in the LanguageCodes.txt (present in the base directory of Moses2TMX)
  
  Example: If {basename} = "200000" and the target language has a code "EN-GB" in the LanguageCodes.txt, then the name of the target file should be "200000.en.moses"
  
b) the source language document should have the name:

   {basename}

  Example: continuing the preceding example, the name of the corresponding source document should be "200000".
  
3) Launch the program as indicated above in the "Launching the program" section.
4) Operate on the main window of the program in the direction from top to bottom:
a) Click the "Select Directory..." button to indicate the directory containing all the source and corresponding target documents that you want to process;
b) Indicate the languages of your files refers to in the "Source Language" and "Target Language" comboboxes. 
c) Click the Create TMX Files button

***********************************************************************************************************
LICENSE:
***********************************************************************************************************

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation (version 3 of the License).

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.